vmware/pyvmomi
View on GitHubComprehensive, version sensitive, guest OS listing/validation
Open
#153 opened on Sep 3, 2014
enhancementhelp wantedwishlist
Description
Based on input from here we suspect that the GuestOS list needs to change based on which version of the API we're talking to. There should be a clean and clever way to manage this list.
- The list ostensibly changes based on vSphere API version (growing with each subsequent release)
- The list currently resides in vim.vm.GuestOsDescriptor.GuestOsIdentifier
- From this library we are concerned with it chiefly as a data validation measure since the server will error on an invalid value.
Questions:
- Should we handle this list retroactively?
- Should we merely accept the latest version of the list?
- Can we completely ignore the list at all?
- Can we trap errors for invalid GuestOS identifiers as sent by the server and expose them sensibly instead?