esx: generator: add GuestNicInfo object

Add the definition of the GuestNicInfo object, with all the required
objects for it.

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Pino Toscano 2020-09-14 11:10:58 +02:00
parent 2e65f0ad4a
commit 7ad86c849f
2 changed files with 55 additions and 0 deletions

View File

@ -1292,6 +1292,7 @@ additional_object_features = {
"DatastoreHostMount": (Object.FEATURE__DEEP_COPY | Object.FEATURE__LIST |
Object.FEATURE__ANY_TYPE),
"DatastoreInfo": Object.FEATURE__ANY_TYPE | Object.FEATURE__DYNAMIC_CAST,
"GuestNicInfo": Object.FEATURE__LIST | Object.FEATURE__ANY_TYPE,
"HostConfigManager": Object.FEATURE__ANY_TYPE,
"HostCpuIdInfo": Object.FEATURE__LIST | Object.FEATURE__ANY_TYPE,
"HostDatastoreBrowserSearchResults": (Object.FEATURE__LIST |

View File

@ -277,6 +277,18 @@ object FolderFileQuery extends FileQuery
end
object GuestNicInfo
Boolean connected r
Int deviceConfigId r
NetDnsConfigInfo dnsConfig o
String ipAddress ol
NetIpConfigInfo ipConfig o
String macAddress o
NetBIOSConfigInfo netBIOSConfig o
String network o
end
object HostAutoStartManagerConfig
AutoStartDefaults defaults o
AutoStartPowerInfo powerInfo ol
@ -770,6 +782,48 @@ object NasDatastoreInfo extends DatastoreInfo
end
object NetBIOSConfigInfo
String mode r
end
object NetDhcpConfigInfo
NetDhcpConfigInfoDhcpOptions ipv4 o
NetDhcpConfigInfoDhcpOptions ipv6 o
end
object NetDhcpConfigInfoDhcpOptions
KeyAnyValue config ol
Boolean enable r
end
object NetDnsConfigInfo
Boolean dhcp r
String domainName r
String hostName r
String ipAddress ol
String searchDomain ol
end
object NetIpConfigInfo
Boolean autoConfigurationEnabled o
NetDhcpConfigInfo dhcp o
NetIpConfigInfoIpAddress ipAddress ol
end
object NetIpConfigInfoIpAddress
String ipAddress r
DateTime lifetime o
String origin o
Int prefixLength r
String state o
end
object ObjectContent
ManagedObjectReference obj r
DynamicProperty propSet ol