| 1 | package VMOMI::PhysicalNic; | ||
| 2 | use parent 'VMOMI::DynamicData'; | ||
| 3 | |||
| 4 | our @class_ancestors = ( | ||
| 5 | 'DynamicData', | ||
| 6 | ); | ||
| 7 | |||
| 8 | our @class_members = ( | ||
| 9 | ['key', undef, 0, 1], | ||
| 10 | ['device', undef, 0, ], | ||
| 11 | ['pci', undef, 0, ], | ||
| 12 | ['driver', undef, 0, 1], | ||
| 13 | ['linkSpeed', 'PhysicalNicLinkInfo', 0, 1], | ||
| 14 | ['validLinkSpecification', 'PhysicalNicLinkInfo', 1, 1], | ||
| 15 | ['spec', 'PhysicalNicSpec', 0, ], | ||
| 16 | ['wakeOnLanSupported', 'boolean', 0, ], | ||
| 17 | ['mac', undef, 0, ], | ||
| 18 | ['fcoeConfiguration', 'FcoeConfig', 0, 1], | ||
| 19 | ['vmDirectPathGen2Supported', 'boolean', 0, 1], | ||
| 20 | ['vmDirectPathGen2SupportedMode', undef, 0, 1], | ||
| 21 | ['resourcePoolSchedulerAllowed', 'boolean', 0, 1], | ||
| 22 | ['resourcePoolSchedulerDisallowedReason', undef, 1, 1], | ||
| 23 | ['autoNegotiateSupported', 'boolean', 0, 1], | ||
| 24 | ); | ||
| 25 | |||
| 26 | sub get_class_ancestors { | ||
| 27 | return @class_ancestors; | ||
| 28 | } | ||
| 29 | |||
| 30 | sub get_class_members { | ||
| 31 | my $class = shift; | ||
| 32 | my @super_members = $class->SUPER::get_class_members(); | ||
| 33 | return (@super_members, @class_members); | ||
| 34 | } | ||
| 35 | |||
| 36 | 1; |