Describe the bug
Missing tags on segments, t1 gateways can be an issue if nsx groups are based on it.
When importing nsx configuration using tags on those objects, it fails as object tags are missing.
Reproduction steps
- add tag to a segment
- create a rule based on tag on a segment
- import the configuration to new sddc
- nsx group import fails as segment tag is missing
...
Expected behavior
object tags must be added during the import if they are available on the source SDDC
tags must be added in the following function:
- import_flex_segments
- import_mcgw
To add tags only if source tag where available this kind code can be used :
if "tags" in mcgw:
json_data["tags"] = f["tags"]
Additional context
No response
Describe the bug
Missing tags on segments, t1 gateways can be an issue if nsx groups are based on it.
When importing nsx configuration using tags on those objects, it fails as object tags are missing.
Reproduction steps
...
Expected behavior
object tags must be added during the import if they are available on the source SDDC
tags must be added in the following function:
To add tags only if source tag where available this kind code can be used :
Additional context
No response