| 1 | package VMOMI::IscsiPortInfo; | ||
| 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 | ['vnicDevice', undef, 0, 1], | ||
| 13 | ['vnic', 'HostVirtualNic', 0, 1], | ||
| 14 | ['pnicDevice', undef, 0, 1], | ||
| 15 | ['pnic', 'PhysicalNic', 0, 1], | ||
| 16 | ['switchName', undef, 0, 1], | ||
| 17 | ['switchUuid', undef, 0, 1], | ||
| 18 | ['portgroupName', undef, 0, 1], | ||
| 19 | ['portgroupKey', undef, 0, 1], | ||
| 20 | ['portKey', undef, 0, 1], | ||
| 21 | ['opaqueNetworkId', undef, 0, 1], | ||
| 22 | ['opaqueNetworkType', undef, 0, 1], | ||
| 23 | ['opaqueNetworkName', undef, 0, 1], | ||
| 24 | ['externalId', undef, 0, 1], | ||
| 25 | ['complianceStatus', 'IscsiStatus', 0, 1], | ||
| 26 | ['pathStatus', undef, 0, 1], | ||
| 27 | ); | ||
| 28 | |||
| 29 | sub get_class_ancestors { | ||
| 30 | return @class_ancestors; | ||
| 31 | } | ||
| 32 | |||
| 33 | sub get_class_members { | ||
| 34 | my $class = shift; | ||
| 35 | my @super_members = $class->SUPER::get_class_members(); | ||
| 36 | return (@super_members, @class_members); | ||
| 37 | } | ||
| 38 | |||
| 39 | 1; |