| 1 | package VMOMI::NetworkProfile; | ||
| 2 | use parent 'VMOMI::ApplyProfile'; | ||
| 3 | |||
| 4 | our @class_ancestors = ( | ||
| 5 | 'ApplyProfile', | ||
| 6 | 'DynamicData', | ||
| 7 | ); | ||
| 8 | |||
| 9 | our @class_members = ( | ||
| 10 | ['vswitch', 'VirtualSwitchProfile', 1, 1], | ||
| 11 | ['vmPortGroup', 'VmPortGroupProfile', 1, 1], | ||
| 12 | ['hostPortGroup', 'HostPortGroupProfile', 1, 1], | ||
| 13 | ['serviceConsolePortGroup', 'ServiceConsolePortGroupProfile', 1, 1], | ||
| 14 | ['dnsConfig', 'NetworkProfileDnsConfigProfile', 0, 1], | ||
| 15 | ['ipRouteConfig', 'IpRouteProfile', 0, 1], | ||
| 16 | ['consoleIpRouteConfig', 'IpRouteProfile', 0, 1], | ||
| 17 | ['pnic', 'PhysicalNicProfile', 1, 1], | ||
| 18 | ['dvswitch', 'DvsProfile', 1, 1], | ||
| 19 | ['dvsServiceConsoleNic', 'DvsServiceConsoleVNicProfile', 1, 1], | ||
| 20 | ['dvsHostNic', 'DvsHostVNicProfile', 1, 1], | ||
| 21 | ['netStackInstance', 'NetStackInstanceProfile', 1, 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; |