QualiSystems / vCenterShell

:cloud::shell: This Shell adds VMWare vCenter as a cloud provider to CloudShell. Why is this Open? :cloud::shell: CloudShell cloud providers come out of the box and cannot be extended or modified independently. However, feel free to take a look at our code to better understand how things work under the hood. If you like you can experiment with our sofware, but please make sure you contact us if you need new cloud providers that would be supported in your production CloudShell deployment!
http://www.quali.com
Apache License 2.0
16 stars 20 forks source link

Add tags to entities in vCenter (same as Azure) #776

Open alonagetzler opened 8 years ago

alonagetzler commented 8 years ago

we should consider adding tags to VMs (and other entities?) in vCenter that tie them back to CloudShell, reservation, user, domain etc., same as we have in Azure.

this came as an idea in the idea box - http://community.quali.com/content/idea/572/deployed-apps-in-vmware-lack-meta-data-to-tie-back.html

and it looks like there are tags in vCenter: https://pubs.vmware.com/vsphere-60/index.jsp?topic=%2Fcom.vmware.vsphere.vcenterhost.doc%2FGUID-E8E854DD-AA97-4E0C-8419-CE84F93C4058.html

TomerAdmon commented 7 years ago
anthony-poddubny commented 7 years ago

Tagging API was introduced only in 6.0 version, besides Pyvmomi haven't support for this API. It can be done with the help of vCloud Suite SDK. Some examples of how to use it can be found here: https://github.com/vmware/pyvmomi/issues/307