From 038a6c77143e7414fcec37e9211f1f3a64c91070 Mon Sep 17 00:00:00 2001 From: Eric Miller <> Date: Mon, 30 Oct 2006 17:57:10 +0000 Subject: [PATCH] Documentation updates --- Info/CiscoQOS.pm | 74 ++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 62 insertions(+), 12 deletions(-) diff --git a/Info/CiscoQOS.pm b/Info/CiscoQOS.pm index 9afadff9..ebf55c51 100644 --- a/Info/CiscoQOS.pm +++ b/Info/CiscoQOS.pm @@ -30,7 +30,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. package SNMP::Info::CiscoQOS; -$VERSION = '1.04'; +$VERSION = '1.05'; use strict; use Exporter; @@ -39,7 +39,7 @@ use SNMP::Info; @SNMP::Info::CiscoQOS::ISA = qw/SNMP::Info Exporter/; @SNMP::Info::CiscoQOS::EXPORT_OK = qw//; -use vars qw/$VERSION $DEBUG %MIBS %FUNCS %GLOBALS %MUNGE $INIT/; +use vars qw/$VERSION %MIBS %FUNCS %GLOBALS %MUNGE/; %MIBS = ( 'CISCO-CLASS-BASED-QOS-MIB' => 'cbQosIfIndex', @@ -49,16 +49,19 @@ use vars qw/$VERSION $DEBUG %MIBS %FUNCS %GLOBALS %MUNGE $INIT/; ); %FUNCS = ( - # CISCO-CLASS-BASED-QOS-MIB + # CISCO-CLASS-BASED-QOS-MIB::cbQosServicePolicyTable 'qos_i_index' => 'cbQosIfIndex', 'qos_i_type' => 'cbQosIfType', 'qos_pol_direction' => 'cbQosPolicyDirection', + # CISCO-CLASS-BASED-QOS-MIB::cbQosObjectsTable 'qos_obj_index' => 'cbQosConfigIndex', 'qos_obj_type' => 'cbQosObjectsType', 'qos_obj_parent' => 'cbQosParentObjectsIndex', + # CISCO-CLASS-BASED-QOS-MIB::cbQosCMCfgTable 'qos_cm_name' => 'cbQosCMName', 'qos_cm_desc' => 'cbQosCMDesc', 'qos_cm_info' => 'cbQosCMInfo', + # CISCO-CLASS-BASED-QOS-MIB::cbQosCMCfgTable 'qos_octet_pre' => 'cbQosCMPrePolicyByte', 'qos_octet_post' => 'cbQosCMPostPolicyByte', ); @@ -71,11 +74,11 @@ __END__ =head1 NAME -SNMP::Info::CiscoQOS - Perl5 Interface to Cisco's Quality of Service MIBs +SNMP::Info::CiscoQOS - SNMP Interface to Cisco's Quality of Service MIBs =head1 AUTHOR -Alexander Hartmaier (C) +Alexander Hartmaier =head1 SYNOPSIS @@ -90,7 +93,7 @@ Alexander Hartmaier (C) ) or die "Can't connect to DestHost.\n"; - my $class = $qos->class(); + my $class = $qos->class(); print "SNMP::Info determined this device to fall under subclass : $class\n"; =head1 DESCRIPTION @@ -124,11 +127,10 @@ MIBs can be found at ftp://ftp.cisco.com/pub/mibs/v2/v2.tar.gz =head1 TABLE METHODS -=head2 ServicePolicy Table +=head2 ServicePolicy Table (cbQosServicePolicyTable) -This table is from CISCO-CLASS-BASED-QOS-MIB::cbQosServicePolicyTable - -This table describes the interfaces/media types and the policymap that are attached to it. +This table describes the interfaces/media types and the policymap that are +attached to it. =over @@ -140,10 +142,58 @@ This table describes the interfaces/media types and the policymap that are attac (B) +=item $qos->qos_pol_direction() + +(B) + =back -=head2 ClassMap configuration Table +=head2 ClassMap Objects Table (cbQosObjectsTable) -This table is from CISCO-CLASS-BASED-QOS-MIB::cbQosCMCfgTable +=over + +=item $qos->qos_obj_index() + +(B) + +=item $qos->qos_obj_type() + +(B) + +=item $qos->qos_obj_parent() + +(B) + +=back + +=head2 ClassMap Configuration Table (cbQosCMCfgTable) + +=over + +=item $qos->qos_cm_name() + +(B) + +=item $qos->qos_cm_desc() + +(B) + +=item $qos->qos_cm_info() + +(B) + +=back + +=head2 ClassMap Stats Table (cbQosCMStatsTable) + +=over + +=item $qos->qos_octet_pre() + +(B) + +=item $qos->qos_octet_post() + +(B) =cut