We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add feature of also syncing tags from vcenter.
The text was updated successfully, but these errors were encountered:
Related to #339
Sorry, something went wrong.
@bb-Ricardo for which object types is the goal of syncing tags from vmware?
Hi,
First I believe you need to use the https://github.com/vmware/vsphere-automation-sdk-go as tags are not part of the vpshere SOAP API and rather the REST API.
this initiates the session: https://github.com/bb-Ricardo/netbox-sync/blob/main/module/sources/vmware/connection.py#L203
This retrieves all tags for a vCenter object: https://github.com/bb-Ricardo/netbox-sync/blob/main/module/sources/vmware/connection.py#L649
This reads tags for a certain object: https://github.com/bb-Ricardo/netbox-sync/blob/main/module/sources/vmware/connection.py#L701 and compiles a list based on the tag settings for this object: https://github.com/bb-Ricardo/netbox-sync/blob/3c07a4c001443f50d95ae4668c931599e41efeae/settings-example.ini#L288-L301
hope this is sufficient. Let me know if you are missing anything.
No branches or pull requests
Add feature of also syncing tags from vcenter.
The text was updated successfully, but these errors were encountered: