-
Notifications
You must be signed in to change notification settings - Fork 937
Description
Describe the bug
When developing against the vsphere api, the managed object browser (mob) is crucial in knowing where to find the information needed and also the values to expect.
To Reproduce
Steps to reproduce the behavior:
- check the mob (managed object browser) for the disabledMethods property of a random VM and you see something like:
"vim.ManagedEntity.destroy"
"vim.VirtualMachine.unregister"
"vim.VirtualMachine.unmountToolsInstaller"
"vim.VirtualMachine.answer"
"vim.VirtualMachine.upgradeVirtualHardware"
- Use property.Collector.RetrieveOne to fetch a VM and observe the content of disabledMethods and you get something like this:
"RevertToCurrentSnapshot_Task"
"RemoveAllSnapshots_Task"
"CreateSnapshot_Task"
Expected behavior
I would expect govmomi also to be in the format of "vim.VirtualMachine.".
Affected version
It is showing in v0.52.0
When diving deeper I see that govmomi is moving (or has completely moved) to JSON payloads where before I believe XML was used. I think the issue may be related to this change.