VMOMI/VMwareVspanSession.pm untested

filter: Statementstmt 0.0% 0 / 33 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 40 CC 1 SCAR 6.9
CC
1
Cov
0%
get_class_ancestors
2.0
get_class_members
2.0
BEGIN
2.0
CRAP 2.0
1 package VMOMI::VMwareVspanSession;
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 ['key', undef, 0, 1],
13 ['name', undef, 0, 1],
14 ['description', undef, 0, 1],
15 ['enabled', 'boolean', 0, ],
16 ['sourcePortTransmitted', 'VMwareVspanPort', 0, 1],
17 ['sourcePortReceived', 'VMwareVspanPort', 0, 1],
18 ['destinationPort', 'VMwareVspanPort', 0, 1],
19 ['encapsulationVlanId', undef, 0, 1],
20 ['stripOriginalVlan', 'boolean', 0, ],
21 ['mirroredPacketLength', undef, 0, 1],
22 ['normalTrafficAllowed', 'boolean', 0, ],
23 ['sessionType', undef, 0, 1],
24 ['samplingRate', undef, 0, 1],
25 ['encapType', undef, 0, 1],
26 ['erspanId', undef, 0, 1],
27 ['erspanCOS', undef, 0, 1],
28 ['erspanGraNanosec', 'boolean', 0, 1],
29 );
30  
31 sub get_class_ancestors {
32 return @class_ancestors;
33 }
34  
35 sub get_class_members {
36 my $class = shift;
37 my @super_members = $class->SUPER::get_class_members();
38 return (@super_members, @class_members);
39 }
40  
41 1;