| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package SNMP::Insight::MIB::Bridge; |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
#ABSTRACT: Support for data in Bridge-MIB |
|
4
|
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1004
|
use Moose::Role; |
|
|
1
|
|
|
|
|
375760
|
|
|
|
1
|
|
|
|
|
6
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.002'; #TRIAL VERSION: |
|
8
|
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
5275
|
use SNMP::Insight::Moose::MIB; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
5
|
|
|
10
|
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
4186
|
use namespace::autoclean; |
|
|
1
|
|
|
|
|
1172
|
|
|
|
1
|
|
|
|
|
6
|
|
|
12
|
|
|
|
|
|
|
with 'SNMP::Insight::MIB'; |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
mib_oid "1.3.6.1.2.1.17"; |
|
15
|
|
|
|
|
|
|
mib_name "BRIDGE-MIB"; |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# .1 dot1dBase |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
has_scalar "dot1dBaseBridgeAddress" => ( |
|
20
|
|
|
|
|
|
|
oid => "1.1", |
|
21
|
|
|
|
|
|
|
munger => 'munge_macaddress', |
|
22
|
|
|
|
|
|
|
); |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
has_scalar "dot1dBaseNumPorts" => ( oid => "1.2" ); |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
has_table "dot1dBasePortTable" => ( |
|
27
|
|
|
|
|
|
|
oid => "1.4", |
|
28
|
|
|
|
|
|
|
index => "dot1dBasePort", |
|
29
|
|
|
|
|
|
|
columns => { |
|
30
|
|
|
|
|
|
|
"dot1dBasePort" => 1, |
|
31
|
|
|
|
|
|
|
"dot1dBasePortIfIndex" => 2 |
|
32
|
|
|
|
|
|
|
} |
|
33
|
|
|
|
|
|
|
); |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
has_scalar "dot1dStpProtocolSpecification" => ( oid => "2.1" ); |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
# .4 dot1dTp |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
has_table "dot1dTpFdbEntry" => ( |
|
40
|
|
|
|
|
|
|
oid => "4.3", |
|
41
|
|
|
|
|
|
|
index => "dot1dTpFdbAddress", |
|
42
|
|
|
|
|
|
|
columns => { |
|
43
|
|
|
|
|
|
|
"dot1dTpFdbAddress" => [ 1, 'munge_macaddress' ], |
|
44
|
|
|
|
|
|
|
"dot1dTpFdbPort" => 2, |
|
45
|
|
|
|
|
|
|
"dot1dTpFdbStatus" => 3, |
|
46
|
|
|
|
|
|
|
} |
|
47
|
|
|
|
|
|
|
); |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
1; |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
# Local Variables: |
|
52
|
|
|
|
|
|
|
# mode: cperl |
|
53
|
|
|
|
|
|
|
# indent-tabs-mode: nil |
|
54
|
|
|
|
|
|
|
# cperl-indent-level: 4 |
|
55
|
|
|
|
|
|
|
# cperl-indent-parens-as-block: t |
|
56
|
|
|
|
|
|
|
# End: |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
__END__ |
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=pod |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 NAME |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
SNMP::Insight::MIB::Bridge - Support for data in Bridge-MIB |
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 VERSION |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
version 0.002 |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head1 AUTHOR |
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
Gabriele Mambrini <g.mambrini@gmail.com> |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
75
|
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
This software is copyright (c) 2015 by Gabriele Mambrini. |
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
|
79
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=cut |