From 63fedc6a4135c1bf8769fea2ca60e8f2da578265 Mon Sep 17 00:00:00 2001 From: nick n <39005454+inphobia@users.noreply.github.com> Date: Thu, 17 Jun 2021 02:56:29 +0200 Subject: [PATCH] mention ieee802_bridge in info.pm (#425) * add ieee802_bridge to info.pm, fixes tests * aerohive comes before airespace --- MANIFEST | 1 + META.json | 4 +++ META.yml | 3 +++ README | 65 ++++++++++++++++++++++++++---------------------- lib/SNMP/Info.pm | 18 +++++++++----- 5 files changed, 55 insertions(+), 36 deletions(-) diff --git a/MANIFEST b/MANIFEST index a2474a9a..812944ac 100644 --- a/MANIFEST +++ b/MANIFEST @@ -32,6 +32,7 @@ lib/SNMP/Info/EDP.pm lib/SNMP/Info/Entity.pm lib/SNMP/Info/EtherLike.pm lib/SNMP/Info/FDP.pm +lib/SNMP/Info/IEEE802_Bridge.pm lib/SNMP/Info/IEEE802dot11.pm lib/SNMP/Info/IEEE802dot3ad.pm lib/SNMP/Info/IPv6.pm diff --git a/META.json b/META.json index d6868b2b..15fa208c 100644 --- a/META.json +++ b/META.json @@ -143,6 +143,10 @@ "file" : "lib/SNMP/Info/FDP.pm", "version" : "3.71" }, + "SNMP::Info::IEEE802_Bridge" : { + "file" : "lib/SNMP/Info/IEEE802_Bridge.pm", + "version" : "3.71" + }, "SNMP::Info::IEEE802dot11" : { "file" : "lib/SNMP/Info/IEEE802dot11.pm", "version" : "3.71" diff --git a/META.yml b/META.yml index 3df2b0d2..4cf65e0a 100644 --- a/META.yml +++ b/META.yml @@ -94,6 +94,9 @@ provides: SNMP::Info::FDP: file: lib/SNMP/Info/FDP.pm version: '3.71' + SNMP::Info::IEEE802_Bridge: + file: lib/SNMP/Info/IEEE802_Bridge.pm + version: '3.71' SNMP::Info::IEEE802dot11: file: lib/SNMP/Info/IEEE802dot11.pm version: '3.71' diff --git a/README b/README index ea4a4614..857a6271 100644 --- a/README +++ b/README @@ -213,17 +213,17 @@ SUBCLASSES See documentation in SNMP::Info::Bridge for details. - SNMP::Info::CiscoAgg - SNMP Interface to Cisco Aggregated Links - - See documentation in SNMP::Info::CiscoAgg for details. - SNMP::Info::CDP CISCO-CDP-MIB. Cisco Discovery Protocol (CDP) Support. Inherited by Cisco, Enterasys, and HP devices. See documentation in SNMP::Info::CDP for details. + SNMP::Info::CiscoAgg + SNMP Interface to Cisco Aggregated Links + + See documentation in SNMP::Info::CiscoAgg for details. + SNMP::Info::CiscoConfig CISCO-CONFIG-COPY-MIB, CISCO-FLASH-MIB, and OLD-CISCO-SYS-MIB. These OIDs facilitate the writing of configuration files. @@ -257,11 +257,6 @@ SUBCLASSES See documentation in SNMP::Info::CiscoStack for details. - SNMP::Info::CiscoStpExtensions - CISCO-STP-EXTENSIONS-MIB - - See documentation in SNMP::Info::CiscoStpExtensions for details. - SNMP::Info::CiscoStats OLD-CISCO-CPU-MIB, CISCO-PROCESS-MIB, and CISCO-MEMORY-POOL-MIB. Provides common interfaces for memory, cpu, and os statistics for @@ -269,22 +264,27 @@ SUBCLASSES See documentation in SNMP::Info::CiscoStats for details. + SNMP::Info::CiscoStpExtensions + CISCO-STP-EXTENSIONS-MIB + + See documentation in SNMP::Info::CiscoStpExtensions for details. + SNMP::Info::CiscoVTP CISCO-VTP-MIB, CISCO-VLAN-MEMBERSHIP-MIB, CISCO-VLAN-IFTABLE-RELATIONSHIP-MIB See documentation in SNMP::Info::CiscoVTP for details. - SNMP::Info::DocsisHE - SNMP Interface for DOCSIS CMTS - - See documentation in SNMP::Info::DocsisHE for details. - SNMP::Info::DocsisCM SNMP Interface for DOCSIS Cable Modems See documentation in SNMP::Info::DocsisCM for details. + SNMP::Info::DocsisHE + SNMP Interface for DOCSIS CMTS + + See documentation in SNMP::Info::DocsisHE for details. + SNMP::Info::EDP Extreme Discovery Protocol. EXTREME-EDP-MIB @@ -306,6 +306,11 @@ SUBCLASSES See documentation in SNMP::Info::FDP for details. + SNMP::Info::IEEE802_Bridge + SNMP Interface to data available through the IEEE8021-Q-BRIDGE-MIB + + See documentation in SNMP::Info::IEEE802_Bridge for details. + SNMP::Info::IEEE802dot11 IEEE802dot11-MIB. A collection of OIDs providing information about standards based 802.11 wireless devices. @@ -423,7 +428,7 @@ SUBCLASSES See documentation in SNMP::Info::Layer2::Adtran for details. SNMP::Info::Layer2::Aerohive - Subclass for Aerohive Access Points. + Subclass for Aerohive / Extreme access points. See documentation in SNMP::Info::Layer2::Aerohive for details. @@ -620,7 +625,7 @@ SUBCLASSES See documentation in SNMP::Info::Layer3::BayRS for details. SNMP::Info::Layer3::BlueCoatSG - Subclass for Blue Coat SG series proxy devices. + Subclass for BlueCoat SG series proxy devices. See documentation in SNMP::Info::Layer3::BlueCoatSG for details. @@ -683,11 +688,6 @@ SUBCLASSES See documentation in SNMP::Info::Layer3::Cumulus for details. - SNMP::Info::Layer3::DLink - Subclass for DLink devices. - - See documentation in SNMP::Info::Layer3::DLink for details. - SNMP::Info::Layer3::Dell Subclass for Dell PowerConnect switches. The IBM BladeCenter Gigabit Ethernet Switch Module and some Linksys switches also @@ -695,6 +695,11 @@ SUBCLASSES See documentation in SNMP::Info::Layer3::Dell for details. + SNMP::Info::Layer3::DLink + Subclass for DLink devices. + + See documentation in SNMP::Info::Layer3::DLink for details. + SNMP::Info::Layer3::Enterasys Subclass for Enterasys devices. @@ -1603,12 +1608,12 @@ USAGE For protocol specific information and implementation: - LLDP: See SNMP::Info::LLDP for details. - CDP: See SNMP::Info::CDP for details. - SONMP: See SNMP::Info::SONMP for details. - FDP: See SNMP::Info::FDP for details. - EDP: See SNMP::Info::EDP for details. AMAP: See SNMP::Info::AMAP for details. + CDP: See SNMP::Info::CDP for details. + EDP: See SNMP::Info::EDP for details. + FDP: See SNMP::Info::FDP for details. + LLDP: See SNMP::Info::LLDP for details. + SONMP: See SNMP::Info::SONMP for details. Topology Capabilities $info->has_topo() @@ -1938,7 +1943,7 @@ SNMP::INFO INTERNALS %SPEED_MAP = ( '56000' => '56 kbps', '64000' => '64 kbps', - '115000' => '115 kpbs', + '115000' => '115 kbps', '1500000' => '1.5 Mbps', '1536000' => 'T1', '1544000' => 'T1', @@ -1949,9 +1954,9 @@ SNMP::INFO INTERNALS '4000000' => '4.0 Mbps', '10000000' => '10 Mbps', '11000000' => '11 Mbps', - '20000000' => '20 Mbps', '16000000' => '16 Mbps', '16777216' => '16 Mbps', + '20000000' => '20 Mbps', '44210000' => 'T3', '44736000' => 'T3', '45000000' => '45 Mbps', @@ -1961,11 +1966,11 @@ SNMP::INFO INTERNALS '54000000' => '54 Mbps', '64000000' => '64 Mbps', '100000000' => '100 Mbps', - '200000000' => '200 Mbps', '149760000' => 'ATM on OC-3', '155000000' => 'OC-3', '155519000' => 'OC-3', '155520000' => 'OC-3', + '200000000' => '200 Mbps', '400000000' => '400 Mbps', '599040000' => 'ATM on OC-12', '622000000' => 'OC-12', diff --git a/lib/SNMP/Info.pm b/lib/SNMP/Info.pm index 3bb30c5c..af30ff34 100644 --- a/lib/SNMP/Info.pm +++ b/lib/SNMP/Info.pm @@ -375,6 +375,12 @@ Foundry (Brocade) Discovery Protocol. F See documentation in L for details. +=item SNMP::Info::IEEE802_Bridge + +SNMP Interface to data available through the F + +See documentation in L for details. + =item SNMP::Info::IEEE802dot11 F. A collection of OIDs providing information about @@ -520,18 +526,18 @@ Subclass for Adtran devices. See documentation in L for details. -=item SNMP::Info::Layer2::Airespace - -Subclass for Cisco (Airespace) wireless controllers. - -See documentation in L for details. - =item SNMP::Info::Layer2::Aerohive Subclass for Aerohive / Extreme access points. See documentation in L for details. +=item SNMP::Info::Layer2::Airespace + +Subclass for Cisco (Airespace) wireless controllers. + +See documentation in L for details. + =item SNMP::Info::Layer2::Aironet Class for Cisco Aironet wireless devices that run IOS. See also