fix tests (#428)

* add arubacx, replace unicode backtick

* fix pod

* remove undef, is implicit in scalar context. fixes tests

* mention IEEE802_Bridge
This commit is contained in:
nick n
2021-07-06 21:49:50 +02:00
committed by GitHub
parent 42d3df0e9c
commit dd982373a7
3 changed files with 39 additions and 5 deletions

View File

@@ -131,7 +131,7 @@ sub stack_info {
}
return sprintf("%s (stack of %d)", $modelname, $num_members);
} else {
return undef;
return;
}
}
@@ -222,6 +222,8 @@ Subclass for devices running ArubaOS-CX
=item SNMP::Info::Layer3
=item SNMP::Info::IEEE802_Bridge
=item SNMP::Info::IEEE802dot3ad
=back
@@ -236,10 +238,12 @@ Subclass for devices running ArubaOS-CX
=item Inherited Classes' MIBs
See L<SNMP::Info::IEEE802dot3ad> for its own MIB requirements.
See L<SNMP::Info::Layer3> for its own MIB requirements.
See L<SNMP::Info::IEEE802_Bridge> for its own MIB requirements.
See L<SNMP::Info::IEEE802dot3ad> for its own MIB requirements.
=back
=head1 GLOBALS
@@ -253,7 +257,7 @@ These are methods that return scalar value from SNMP
If the device supports VSF stacking and is not in standalone mode, returns
a string describing the switch family and the number of stack members.
Example return value: '6300M (stack of 2)'. Will return undef when VSF is not
supported or when the device is VSF standalone/
supported or when the device is VSF standalone.
=item $cx->model()
@@ -285,6 +289,10 @@ C<ARUBAWIRED-FAN-MIB>.
See documentation in L<SNMP::Info::Layer3> for details.
=head2 Globals imported from SNMP::Info::IEEE802_Bridge
See documentation in L<SNMP::Info::IEEE802_Bridge> for details.
=head2 Globals imported from SNMP::Info::IEEE802dot3ad
See documentation in L<SNMP::Info::IEEE802dot3ad> for details.
@@ -321,6 +329,10 @@ L<SNMP::Info::IEEE8021_Bridge> at PBB 1.
See documentation in L<SNMP::Info::Layer3> for details.
=head2 Table Methods imported from SNMP::Info::IEEE802_Bridge
See documentation in L<SNMP::Info::IEEE802_Bridge> for details.
=head2 Table Methods imported from SNMP::Info::IEEE802dot3ad
See documentation in L<SNMP::Info::IEEE802dot3ad> for details.