File Coverage

blib/lib/SNMP/Insight/MIB/Cisco_CDP.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package SNMP::Insight::MIB::Cisco_CDP;
2              
3             #ABSTRACT: Support for data in CISCO-CDP-MIB
4              
5 1     1   1356 use Moose::Role;
  1         2  
  1         8  
6              
7             our $VERSION = '0.002'; #TRIAL VERSION:
8              
9 1     1   4260 use SNMP::Insight::Moose::MIB;
  1         2  
  1         6  
10              
11 1     1   2530 use namespace::autoclean;
  1         1  
  1         7  
12             with 'SNMP::Insight::MIB';
13              
14             mib_oid "1.3.6.1.4.1.9.9.23";
15              
16             mib_name "CISCO-CDP-MIB";
17              
18             has_table 'cdpCacheTable' => (
19             oid => '1.2.1',
20             index => 'cdpCacheAddress',
21             columns => {
22             "cdpCacheAddress" => [ '4', 'munge_ipaddress' ],
23             "cdpCacheDevicePort" => '7',
24             "cdpCacheDeviceId" => '6',
25             "cdpCacheSysName" => '17',
26             }
27             );
28              
29             1;
30              
31             # Local Variables:
32             # mode: cperl
33             # indent-tabs-mode: nil
34             # cperl-indent-level: 4
35             # cperl-indent-parens-as-block: t
36             # End:
37              
38             __END__
39              
40             =pod
41              
42             =head1 NAME
43              
44             SNMP::Insight::MIB::Cisco_CDP - Support for data in CISCO-CDP-MIB
45              
46             =head1 VERSION
47              
48             version 0.002
49              
50             =head1 AUTHOR
51              
52             Gabriele Mambrini <g.mambrini@gmail.com>
53              
54             =head1 COPYRIGHT AND LICENSE
55              
56             This software is copyright (c) 2015 by Gabriele Mambrini.
57              
58             This is free software; you can redistribute it and/or modify it under
59             the same terms as the Perl 5 programming language system itself.
60              
61             =cut