Insight/MIB/Cisco_VTP.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Insight/MIB/Cisco_CDP.pm ↑ Summary Insight/MIB/IFMIB.pm »
1 package SNMP::Insight::MIB::Cisco_VTP;
2  
3 #ABSTRACT: Support for data in CISCO-VTP-MIB
4  
5 1 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 our $VERSION = '0.002'; #TRIAL VERSION:
8  
9 1 ▶use SNMP::Insight::Moose::MIB;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 with 'SNMP::Insight::MIB';
13  
14 1 mib_oid "1.3.6.1.4.1.9.9.";
15  
16 1 mib_name "CISCO-VTP-MIB";
17  
18 1 has_scalar 'vtpVersion' => ( oid => '1.1.1', );
19  
20 1 has_scalar 'vtpMaxVlanStorage' => ( oid => '1.1.2', );
21  
22 # This table contains information on the VLANs which currently exist.
23 1 has_table 'vtpVlanTable' => (
24 oid => '1.3',
25 index => 'vtpVlanIndex',
26 columns => {
27 vtpVlanIndex => 1,
28 vtpVlanState => 2,
29 vtpVlanType => 3,
30 vtpVlanName => 4,
31 vtpVlanTypeExt => 17,
32 vtpVlanIfIndex => 18
33 },
34 );
35  
36 1 1;
37  
38 # Local Variables:
39 # mode: cperl
40 # indent-tabs-mode: nil
41 # cperl-indent-level: 4
42 # cperl-indent-parens-as-block: t
43 # End:
44  
45 __END__
« Insight/MIB/Cisco_CDP.pm ↑ Summary Insight/MIB/IFMIB.pm »