From 85372559fa57419d4450952558a585821f360a0c Mon Sep 17 00:00:00 2001 From: Alexander Hartmaier Date: Wed, 27 Apr 2016 16:18:49 +0200 Subject: [PATCH] fix t/00_local_pod-coverage.t --- Info/Layer2/CiscoSB.pm | 10 +++++++--- Info/Layer3/VMware.pm | 6 ++++++ t/00_local_spelling.t | 1 + 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Info/Layer2/CiscoSB.pm b/Info/Layer2/CiscoSB.pm index cd182156..b7ff82f1 100644 --- a/Info/Layer2/CiscoSB.pm +++ b/Info/Layer2/CiscoSB.pm @@ -121,7 +121,7 @@ sub os_ver { } } } - + # Grab e_model from Entity and tag on e_hwver sub model { my $ciscosb = shift; @@ -162,14 +162,14 @@ Nic Bernstein (shamelessly stolen from Max Baker's Aironet code) =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( AutoSpecify => 1, Debug => 1, DestHost => 'myswitch', Community => 'public', Version => 2 - ) + ) or die "Can't connect to DestHost.\n"; my $class = $ciscosb->class(); @@ -216,6 +216,10 @@ These are methods that return scalar value from SNMP Returns 'cisco' +=item $ciscosb->os() + +Returns 'ros' + =item $ciscosb->os_ver() Returns software version (C) diff --git a/Info/Layer3/VMware.pm b/Info/Layer3/VMware.pm index 93f82491..47c0c2b5 100644 --- a/Info/Layer3/VMware.pm +++ b/Info/Layer3/VMware.pm @@ -179,6 +179,12 @@ to a hash. =over +=item C + +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 =head2 Table Methods imported from SNMP::Info::Layer3 diff --git a/t/00_local_spelling.t b/t/00_local_spelling.t index 2d4c05bf..73b4137b 100644 --- a/t/00_local_spelling.t +++ b/t/00_local_spelling.t @@ -277,6 +277,7 @@ retreved retrynosuch Robbert rom +ros RouterOS rtt rttmon