Hey all,
I was wondering if there is a way to make a script that copies the NSX-T tags from a VMName then to a VMName_replica
I'm not aware of any. My assumption is that you want to get the tags applied in NSX-T on a VM in vCenter, copy the tags associated w/ that and overwrite or append to a new replica VM?
Solved: Re: Applying NSXT Tag to a VM - VMware Technology Network VMTN
Sorry for being vague. I mean I want to take the NSX-T tags that are applied to a VM in the NSX-T manager to the VM's replica in NSX-T manager as well. They just have _replica appended.
Just checking in on this, not sure if there was any progress or ideas how to do this.
Thank you so much for even looking at it!
Sorry, haven't had time to dedicate to this as it requires a bit more work than a couple of simply lines. I'll try to get to it this week. Trying to make something "nice", but that's just my OCD kicking in.
You could use a combination of these two methods I wrote previously:
https://gist.github.com/Zsoldier/9eda954f0c972d17c124040d7759054a
https://gist.github.com/Zsoldier/1a42161e53e841e2e3f3d1e02bd159c4