documentation catch up

This commit is contained in:
Max Baker
2005-01-26 19:22:02 +00:00
parent 31661b1374
commit 5595fea427
3 changed files with 64 additions and 9 deletions

View File

@@ -106,7 +106,7 @@ sub model {
$model =~ s/^catalyst//;
# turn 355048 into 3550-48
if ($model =~ /^(35\d\d)(\d\d[T]?)$/) {
if ($model =~ /^(35\d\d)(\d\d(T|G)?)$/) {
$model = "$1-$2";
}
return $model;
@@ -181,6 +181,10 @@ a more specific class using the method above.
=item SNMP::Info::CiscoStack
=item SNMP::Info::CDP
=item SNMP::Info::CiscoStats
=back
=head2 Required MIBs
@@ -195,6 +199,10 @@ See SNMP::Info::CiscoVTP for its own MIB requirements.
See SNMP::Info::CiscoStack for its own MIB requirements.
See SNMP::Info::CiscoStats for its own MIB requirements.
See SNMP::Info::CDP for its own MIB requirements.
=back
=head1 GLOBALS
@@ -207,6 +215,17 @@ These are methods that return scalar value from SNMP
Returns 'cisco'
=item $c3550->model()
Will take the translated model number and try to format it better.
355048 -> 3550-48
355012G -> 3550-12G
=item $c3550->ports()
Trys to cull the number of ports from the model number.
=back
=head2 Globals imported from SNMP::Info::Layer3
@@ -221,6 +240,14 @@ See documentation in SNMP::Info::CiscoVTP for details.
See documentation in SNMP::Info::CiscoStack for details.
=head2 Globals imported from SNMP::Info::CDP
See documentation in SNMP::Info::CDP for details.
=head2 Globals imported from SNMP::Info::CiscoStats
See documentation in SNMP::Info::CiscoStats for details.
=head1 TABLE ENTRIES
These are methods that return tables of information in the form of a reference
@@ -238,4 +265,12 @@ See documentation in SNMP::Info::CiscoVTP for details.
See documentation in SNMP::Info::CiscoStack for details.
=head2 Table Methods imported from SNMP::Info::CDP
See documentation in SNMP::Info::CDP for details.
=head2 Table Methods imported from SNMP::Info::CiscoStats
See documentation in SNMP::Info::CiscoStats for details.
=cut