| 1 | package VMOMI::HostConfigSpec; | ||
| 2 | use parent 'VMOMI::DynamicData'; | ||
| 3 | |||
| 4 | use strict; | ||
| 5 | use warnings; | ||
| 6 | |||
| 7 | our @class_ancestors = ( | ||
| 8 | 'DynamicData', | ||
| 9 | ); | ||
| 10 | |||
| 11 | our @class_members = ( | ||
| 12 | ['nasDatastore', 'HostNasVolumeConfig', 1, 1], | ||
| 13 | ['network', 'HostNetworkConfig', 0, 1], | ||
| 14 | ['nicTypeSelection', 'HostVirtualNicManagerNicTypeSelection', 1, 1], | ||
| 15 | ['service', 'HostServiceConfig', 1, 1], | ||
| 16 | ['firewall', 'HostFirewallConfig', 0, 1], | ||
| 17 | ['option', 'OptionValue', 1, 1], | ||
| 18 | ['datastorePrincipal', undef, 0, 1], | ||
| 19 | ['datastorePrincipalPasswd', undef, 0, 1], | ||
| 20 | ['datetime', 'HostDateTimeConfig', 0, 1], | ||
| 21 | ['storageDevice', 'HostStorageDeviceInfo', 0, 1], | ||
| 22 | ['license', 'HostLicenseSpec', 0, 1], | ||
| 23 | ['security', 'HostSecuritySpec', 0, 1], | ||
| 24 | ['userAccount', 'HostAccountSpec', 1, 1], | ||
| 25 | ['usergroupAccount', 'HostAccountSpec', 1, 1], | ||
| 26 | ['memory', 'HostMemorySpec', 0, 1], | ||
| 27 | ['activeDirectory', 'HostActiveDirectory', 1, 1], | ||
| 28 | ['genericConfig', 'KeyAnyValue', 1, 1], | ||
| 29 | ['graphicsConfig', 'HostGraphicsConfig', 0, 1], | ||
| 30 | ); | ||
| 31 | |||
| 32 | sub get_class_ancestors { | ||
| 33 | return @class_ancestors; | ||
| 34 | } | ||
| 35 | |||
| 36 | sub get_class_members { | ||
| 37 | my $class = shift; | ||
| 38 | my @super_members = $class->SUPER::get_class_members(); | ||
| 39 | return (@super_members, @class_members); | ||
| 40 | } | ||
| 41 | |||
| 42 | 1; |