vmware-archive / rbvmomi

Ruby interface to the VMware vSphere API.
MIT License
302 stars 175 forks source link

Fix a number of VMODL types not matching the 7.0 WSDL #180

Closed agrare closed 4 years ago

agrare commented 4 years ago

A number of types in the VMODL db do not match their WSDL types from the Web Services SDK WSDL file

Using the verification tool from https://github.com/vmware/rbvmomi/pull/177

$ ./verify-vim-wsdl.rb ~/src/vmware/vcsdk/7.0/SDK/vsphere-ws/wsdl/vim25/vimService.wsdl ../vmodl.db 
HostProxySwitch.pnic xsd:string doesn't match PhysicalNic
HostMultipathInfoLogicalUnit.lun xsd:string doesn't match ScsiLun
HostMultipathInfoPath.adapter xsd:string doesn't match HostHostBusAdapter
HostMultipathInfoPath.lun xsd:string doesn't match HostMultipathInfoLogicalUnit
HostNvmeController.associatedAdapter xsd:string doesn't match HostHostBusAdapter
HostNvmeTopologyInterface.adapter xsd:string doesn't match HostHostBusAdapter
HostOpaqueSwitch.pnic xsd:string doesn't match PhysicalNic
PhysicalNic.rdmaDevice xsd:string doesn't match HostRdmaDevice
HostPlugStoreTopologyAdapter.adapter xsd:string doesn't match HostHostBusAdapter
HostPlugStoreTopologyAdapter.path xsd:string doesn't match HostPlugStoreTopologyPath
HostPlugStoreTopologyPath.adapter xsd:string doesn't match HostPlugStoreTopologyAdapter
HostPlugStoreTopologyPath.target xsd:string doesn't match HostPlugStoreTopologyTarget
HostPlugStoreTopologyPath.device xsd:string doesn't match HostPlugStoreTopologyDevice
HostPlugStoreTopologyDevice.lun xsd:string doesn't match ScsiLun
HostPlugStoreTopologyDevice.path xsd:string doesn't match HostPlugStoreTopologyPath
HostPlugStoreTopologyPlugin.device xsd:string doesn't match HostPlugStoreTopologyDevice
HostPlugStoreTopologyPlugin.claimedPath xsd:string doesn't match HostPlugStoreTopologyPath
HostPortGroup.vswitch xsd:string doesn't match HostVirtualSwitch
HostRdmaDevicePnicBacking.pairedUplink xsd:string doesn't match PhysicalNic
HostScsiTopologyInterface.adapter xsd:string doesn't match HostHostBusAdapter
HostScsiTopologyLun.scsiLun xsd:string doesn't match ScsiLun
HostVMotionNetConfig.selectedVnic xsd:string doesn't match HostVirtualNic
HostVirtualNic.port xsd:string doesn't match HostPortGroupPort
VirtualNicManagerNetConfig.selectedVnic xsd:string doesn't match HostVirtualNic
HostVirtualSwitch.portgroup xsd:string doesn't match HostPortGroup
HostVirtualSwitch.pnic xsd:string doesn't match PhysicalNic
jrgarcia commented 4 years ago

@agrare Thanks so much!

jrgarcia commented 4 years ago

Released v2.4.1 with these fixes

agrare commented 4 years ago

Thanks for the release! That fixed https://bugzilla.redhat.com/show_bug.cgi?id=1823192