Commit Graph

188 Commits

Author SHA1 Message Date
Oliver Gorwits
b15a950d6a make convert_f5id_stdid private 2023-09-02 19:51:11 +01:00
Ambroise
48b7214840 SNMP::Info::Layer3::Dell - Take in count OS10 (#491)
With the version 10.x of Del switches, the MIB have changed.
So, I have updated the Dell module to retrieve correctly:
- the model type
- the FAN status
- the PSU status
2023-09-02 19:45:29 +01:00
Ambroise
a2ba6aa0ef SNMP::Info::Layer3::F5 - Update the module to correctly retrieve interfaces (#492)
We have an issue with the current usage of the F5 MIB: the indexes for
the interfaces are not an interger but a string (incompatible with the
schema of Netdisco).

So, I have updated the F5 module with:
- usage of the IF-MIB entry anytime where is it possible
- creation of a function to map the F5 ID for interfaces with the IF-MIB ID

It could solve this issue on Netdisco:
https://github.com/netdisco/netdisco/issues/1029
2023-09-02 19:40:34 +01:00
nick n
8e8edb48d1 if ciscosb can provide actual powerdraw surely aoscx can't trail behind that (#499) 2023-09-02 19:36:49 +01:00
Oliver Gorwits
133febf550 release 3.94 2023-07-25 12:00:34 +01:00
Oliver Gorwits
f101cb0a23 release 3.93 2023-07-14 19:41:39 +01:00
Oliver Gorwits
ba721cf9fb release 3.92 2023-02-20 22:31:06 +00:00
Oliver Gorwits
d32b7e42c9 release 3.91 2023-02-20 17:00:24 +00:00
Oliver Gorwits
b3f96de3e0 release 3.90 2023-02-20 16:55:03 +00:00
Avant Wireless
52f16e0673 Add Netonix support (#463)
* Initial support for Netonix

* Bring Netonix up to 3.84; add blob to Info.pm
2023-02-20 16:21:06 +00:00
Christoph Handel
ef4dfbe870 CH: workaround for aruba-cx link aggregation (#474) 2023-02-20 15:21:46 +00:00
Oliver Gorwits
c6c168733e release 3.89 2022-08-18 08:32:44 +01:00
Oliver Gorwits
f7d4a78f41 release 3.88 2022-08-17 22:51:16 +01:00
Oliver Gorwits
4b15add4ff add vlans to Juniper based on ifChassisLogicalUnit 2022-08-17 22:48:55 +01:00
Oliver Gorwits
f65301f233 release 3.87 2022-08-12 17:29:37 +01:00
Oliver Gorwits
7fd2e31913 #462 SNMP::Info::Layer3::PaloAlto to include layer 2 2022-08-12 17:25:13 +01:00
Christian Ramseyer
3de22ad136 Initial commit of PortAccessEntity/IEEE8021-PAE-MIB module 2022-08-12 07:48:16 +02:00
Oliver Gorwits
d5f68ca4e7 avoid error if juniper vlan not in bp_index 2022-08-11 04:57:42 +01:00
Oliver Gorwits
dc3d1e0b46 avoid error if juniper vlan not in bp_index 2022-08-10 17:32:16 -04:00
Oliver Gorwits
e885efa921 release 3.86 2022-08-10 09:18:39 +01:00
Oliver Gorwits
dcf2c0ee54 #468 Cisco dotted subinterfaces had incorrect vlan assigned 2022-08-10 09:17:31 +01:00
Oliver Gorwits
feaeba8be4 release 3.85 2022-08-02 17:28:10 +01:00
Oliver Gorwits
7846cbce1a release 3.84 2022-07-04 16:46:54 +01:00
Oliver Gorwits
ef2500dcc7 release 3.83 2022-07-04 16:33:01 +01:00
Oliver Gorwits
4d471b38fb release 3.82 2022-03-16 17:32:41 +00:00
Alexander Hartmaier
efb32ac10d add Cisco BGP MIB support to all Cisco Layer 3 devices (#451)
This also adds a munge_inetaddress function which can be used to parse a 
binary IP address as defined by the SNMP InetAddress type.
2022-03-14 21:37:27 +00:00
Oliver Gorwits
f55edced32 release 3.81 2021-10-07 17:16:42 +01:00
Oliver Gorwits
0d7b482edd only substr if layers returns 2021-10-07 17:09:50 +01:00
nick n
fbfa2ec154 i/if_ignore cleanup (#377)
* does not have an i_ignore function, don't mention it in the docs

* these interfaces don't even exist on oneaccess

remove i_ignore, mark tests as complete now

* don't see a reason for a function, so remove it:

sub i_ignore {return;}
2021-10-07 13:19:32 +01:00
Oliver Gorwits
0e75c44cb8 #401 add DLink layers always 2+3 2021-10-07 12:01:02 +01:00
Oliver Gorwits
bce84023ca #374 undefined error from H3C class 2021-10-07 11:41:38 +01:00
Oliver Gorwits
d535cea7db #394 Recognise hyphenated cumulus version strings 2021-10-07 09:15:40 +01:00
Oliver Gorwits
1bf87a4cb2 release 3.80 2021-09-22 22:40:21 +01:00
Oliver Gorwits
807cd20da0 release 3.79 2021-09-22 22:14:43 +01:00
Ambroise
2b3674dcae Add support for Riverbed SteelheadEx and Steelfusion (#438)
* Retrieve Serial Number and device type for CheckPoint devices at right place in MIB

* Add support for SteelheadEx and Steelfusion

* Update Info.pm

* fix tests

Co-authored-by: Oliver Gorwits <ollyg@users.noreply.github.com>
Co-authored-by: Oliver Gorwits <oliver@cpan.org>
2021-09-21 15:51:10 +01:00
Florian Schlichting
4731bbfe2f Fix typo in Whiterabbit.pm (#439) 2021-09-21 05:17:27 +02:00
nick n
6dc369efbc add link aggregation for fortios (#437)
* lag support for fortigate

* a few more tests

* mention fortinet lag
2021-09-12 21:01:11 +02:00
Oliver Gorwits
afc8eefaf1 release 3.78 2021-09-09 06:15:52 +01:00
Oliver Gorwits
fe39d38897 release 3.77 2021-09-04 06:28:03 +01:00
Oliver Gorwits
44cb254ee0 release 3.76 2021-09-03 21:10:54 +01:00
Oliver Gorwits
72d6d87bf9 working around flaky ruckus kit 2021-09-03 21:07:52 +01:00
Oliver Gorwits
81b8082fd4 release 3.75 2021-09-02 20:41:43 +01:00
Oliver Gorwits
948d96ed28 remove weird char breaking test 2021-09-02 19:57:13 +01:00
Oliver Gorwits
765a6417b2 set_i_vlan support for Ruckus/Brocade/Foundry 2021-09-02 19:04:33 +01:00
Oliver Gorwits
5a895a09ca release 3.74 2021-08-24 12:29:56 +01:00
Christoph Handel
2773594274 CH: patch H3C broken node-vlan mapping (#416)
* CH: patch H3C broken node-vlan mapping

see https://github.com/netdisco/snmp-info/issues/218

--+ qb_fw_vlan

qb_fw_vlan is called to figure out in which vlan a mac is located.

fetch qb_fw_port. This is a hash

  fdb_id.mac => fdb_port

for each key split of fdb_id

try to look it up in qb_fdb_ids to translate it to vlan
otherwise use it directly as vlan.

--+ qb_fw_port

qb_fw_port fetchs snmp dot1qTpFdbPort, oid 1.3.6.1.2.1.17.7.1.2.2.1.2

This snmp table returns

  fdb_id.mac => fdb_port

as an example data fetched from a HP switch (Layer2::HP)

  SNMPv2-SMI::mib-2.17.7.1.2.2.1.2.3.52.20.95.80.231.59 = INTEGER: 9

fdb_id: 3
mac: 34:14:5f:50:e7:3b
fdb_port: 9
and an expample for a H3C (Layer3::H3C)

  SNMPv2-SMI::mib-2.17.7.1.2.2.1.2.1.0.17.17.117.83.217 = INTEGER: 891

fdb_id: 1
mac: 0:11:11:75:53:d9
fdb_port: 891

snmp looks got. Verified with netdisco

/opt/netdisco/bin/netdisco-do show -d <SWITCH> -e Layer3::H3C::qb_fw_port
/opt/netdisco/bin/netdisco-do show -d <SWITCH> -e Layer2::HP::qb_fw_port

result looks good.

--+ qb_fdb_index

qb_fdb_index fetches snmp dot1qVlanFdbId which is oid 1.3.6.1.2.1.17.7.1.4.2.1.3

This snmp table returns

  timestamp.vlan => fdb_id

netdisco will strip the timestamp and build a hash

  fdb_id => vlan

for a HP switch i get snmp data

  SNMPv2-SMI::mib-2.17.7.1.4.2.1.3.0.64 = Gauge32: 6

vlan: 64
fdb_id: 6
for a H3C i get

  SNMPv2-SMI::mib-2.17.7.1.4.2.1.3.3330.64 = Gauge32: 1

vlan: 64
fdb_id: 1

and there are the issues.

not all vlans are listed
every line has fdb_id 1
as in all H3C switches i checked, the fdb_id is equal to the vlan i patched out
qb_fdb_index to return an empty hash.

* CH: H3C fix pod caverage test

Co-authored-by: Christoph Handel <c.handel@gsi.de>
2021-08-23 22:27:42 +01:00
Oliver Gorwits
846bb46e33 fix version 2021-08-23 16:22:45 +01:00
Christoph Handel
651169f726 Whiterabbit (#417)
* CH: add white rabbit

* CH: .

* CH: better version field

* CH: whiterabbit fix version and pod documentation

* fix mib links

and a few wihtespace cleanups

* map enterprises.96

map enterprises.96 to whiterabbit.

this is the id of cern, only layer3::whiterabbit uses it

* removed inherited modules

remove modules that get pulled in via snmp::info::layer3
use SNMP::Info::LLDP;
use SNMP::Info::Bridge;

remove module that doesn't seems to be used
use Socket;

Co-authored-by: Christoph Handel <c.handel@gsi.de>
Co-authored-by: nick n <39005454+inphobia@users.noreply.github.com>
2021-08-23 16:13:28 +01:00
Jeroen van Ingen Schenau
9b8dc0916c Support PVID (vlan) change on Arista (#432) 2021-08-23 16:08:17 +01:00
nick n
dd982373a7 fix tests (#428)
* add arubacx, replace unicode backtick

* fix pod

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

* mention IEEE802_Bridge
2021-07-06 21:49:50 +02:00