| 1 | package VMOMI::HostNetCapabilities; | ||
| 2 | use parent 'VMOMI::DynamicData'; | ||
| 3 | |||
| 4 | our @class_ancestors = ( | ||
| 5 | 'DynamicData', | ||
| 6 | ); | ||
| 7 | |||
| 8 | our @class_members = ( | ||
| 9 | ['canSetPhysicalNicLinkSpeed', 'boolean', 0, ], | ||
| 10 | ['supportsNicTeaming', 'boolean', 0, ], | ||
| 11 | ['nicTeamingPolicy', undef, 1, 1], | ||
| 12 | ['supportsVlan', 'boolean', 0, ], | ||
| 13 | ['usesServiceConsoleNic', 'boolean', 0, ], | ||
| 14 | ['supportsNetworkHints', 'boolean', 0, ], | ||
| 15 | ['maxPortGroupsPerVswitch', undef, 0, 1], | ||
| 16 | ['vswitchConfigSupported', 'boolean', 0, ], | ||
| 17 | ['vnicConfigSupported', 'boolean', 0, ], | ||
| 18 | ['ipRouteConfigSupported', 'boolean', 0, ], | ||
| 19 | ['dnsConfigSupported', 'boolean', 0, ], | ||
| 20 | ['dhcpOnVnicSupported', 'boolean', 0, ], | ||
| 21 | ['ipV6Supported', 'boolean', 0, 1], | ||
| 22 | ); | ||
| 23 | |||
| 24 | sub get_class_ancestors { | ||
| 25 | return @class_ancestors; | ||
| 26 | } | ||
| 27 | |||
| 28 | sub get_class_members { | ||
| 29 | my $class = shift; | ||
| 30 | my @super_members = $class->SUPER::get_class_members(); | ||
| 31 | return (@super_members, @class_members); | ||
| 32 | } | ||
| 33 | |||
| 34 | 1; |