Skip to content
New issue

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

Tags support in 6.5, 6.7.1? #733

Closed
jeking3 opened this issue Oct 30, 2018 · 6 comments
Closed

Tags support in 6.5, 6.7.1? #733

jeking3 opened this issue Oct 30, 2018 · 6 comments

Comments

@jeking3
Copy link
Contributor

jeking3 commented Oct 30, 2018

Folks on ansible report that tags don't work with pyVmomi 6.5 so they have added code to call out to the vCloud Suite SDK if it is installed in order to get tags. However when I use pyVmomi 6.7.1 and encode a VirtualMachine to JSON, I see tags. Was tag support added since 6.5 here?

@linuxdan
Copy link

Was there ever tag support in pyvmomi ?

@jeking3
Copy link
Contributor Author

jeking3 commented Oct 30, 2018

There were some changes in v6.7.1 for tagging:
aace16b#diff-8fbd2be360383e3b0e54628cfce44c5dL240

Perhaps this fixed tagging, as now I see tags in the results through pyVmomi:

    "tag": [
        {
            "dynamicProperty": [], 
            "dynamicType": null, 
            "key": "SYSTEM/COM.VMWARE.VIM.VC"
        }
    ], 

@linuxdan
Copy link

What is the oldest VMWare version that version of pyvmomi will work on ? I think the versions I am on are too old, but a newer one is coming.

@prziborowski
Copy link

Viewing tags is something that pyVmomi can do, but it is not able to add / edit tags as far as I was aware.

@pgbidkar
Copy link
Contributor

tagging APIs are REST APIs released as part of https://github.com/vmware/vsphere-automation-sdk-python from 6.0

@jeking3
Copy link
Contributor Author

jeking3 commented Nov 5, 2018

Thanks for the info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants