fix t/00_local_pod-coverage.t
This commit is contained in:
@@ -121,7 +121,7 @@ sub os_ver {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Grab e_model from Entity and tag on e_hwver
|
# Grab e_model from Entity and tag on e_hwver
|
||||||
sub model {
|
sub model {
|
||||||
my $ciscosb = shift;
|
my $ciscosb = shift;
|
||||||
@@ -162,14 +162,14 @@ Nic Bernstein (shamelessly stolen from Max Baker's Aironet code)
|
|||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
# Let SNMP::Info determine the correct subclass for you.
|
# Let SNMP::Info determine the correct subclass for you.
|
||||||
my $ciscosb = new SNMP::Info(
|
my $ciscosb = new SNMP::Info(
|
||||||
AutoSpecify => 1,
|
AutoSpecify => 1,
|
||||||
Debug => 1,
|
Debug => 1,
|
||||||
DestHost => 'myswitch',
|
DestHost => 'myswitch',
|
||||||
Community => 'public',
|
Community => 'public',
|
||||||
Version => 2
|
Version => 2
|
||||||
)
|
)
|
||||||
or die "Can't connect to DestHost.\n";
|
or die "Can't connect to DestHost.\n";
|
||||||
|
|
||||||
my $class = $ciscosb->class();
|
my $class = $ciscosb->class();
|
||||||
@@ -216,6 +216,10 @@ These are methods that return scalar value from SNMP
|
|||||||
|
|
||||||
Returns 'cisco'
|
Returns 'cisco'
|
||||||
|
|
||||||
|
=item $ciscosb->os()
|
||||||
|
|
||||||
|
Returns 'ros'
|
||||||
|
|
||||||
=item $ciscosb->os_ver()
|
=item $ciscosb->os_ver()
|
||||||
|
|
||||||
Returns software version (C<entPhysicalSoftwareRev>)
|
Returns software version (C<entPhysicalSoftwareRev>)
|
||||||
|
|||||||
@@ -179,6 +179,12 @@ to a hash.
|
|||||||
|
|
||||||
=over
|
=over
|
||||||
|
|
||||||
|
=item C<agg_ports>
|
||||||
|
|
||||||
|
Returns a HASH reference mapping from slave to master port for each member of
|
||||||
|
a port bundle on the device. Keys are ifIndex of the slave ports, Values are
|
||||||
|
ifIndex of the corresponding master ports.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
=head2 Table Methods imported from SNMP::Info::Layer3
|
=head2 Table Methods imported from SNMP::Info::Layer3
|
||||||
|
|||||||
@@ -277,6 +277,7 @@ retreved
|
|||||||
retrynosuch
|
retrynosuch
|
||||||
Robbert
|
Robbert
|
||||||
rom
|
rom
|
||||||
|
ros
|
||||||
RouterOS
|
RouterOS
|
||||||
rtt
|
rtt
|
||||||
rttmon
|
rttmon
|
||||||
|
|||||||
Reference in New Issue
Block a user