Commit Graph

1678 Commits

Author SHA1 Message Date
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 3.78 2021-09-09 06:15:52 +01:00
Oliver Gorwits
d8a532febe Fix undefined value error in Bridge.pm i_vlan 2021-09-08 20:23:13 +01:00
Oliver Gorwits
fe39d38897 release 3.77 3.77 2021-09-04 06:28:03 +01:00
Oliver Gorwits
44cb254ee0 release 3.76 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 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 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
Oliver Gorwits
33d69e8dea Merge branch 'master' of github.com:netdisco/snmp-info 2021-08-23 16:20:44 +01:00
Oliver Gorwits
bbf5a5a570 also test on PR 2021-08-23 16:20:33 +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
Oliver Gorwits
f7ca5dfde2 github action: fix version format 2021-08-23 16:02:42 +01:00
Oliver Gorwits
80b88fbbb4 github action: update for latest ways from netdisco 2021-08-23 15:58:40 +01:00
Oliver Gorwits
98281e7df6 Update runtests.yml 2021-08-19 10:45:04 +01:00
Oliver Gorwits
470aca5c68 annoying typo 2021-08-18 20:35:13 +01:00
Oliver Gorwits
8f0183eeb8 add cpan upload to release 2021-08-18 20:30:23 +01:00
Oliver Gorwits
b5d88076a8 add release for SNMP::Info why not 2021-08-18 08:33:45 +01:00
Oliver Gorwits
56ceb86f97 Delete .travis.yml.disabled 2021-08-17 13:42:24 +01:00
Oliver Gorwits
abbc3d4a63 Update runtests.yml 2021-08-17 12:23:18 +01:00
Oliver Gorwits
d0609781e8 Update runtests.yml 2021-08-17 12:20:11 +01:00
Oliver Gorwits
2ff3021eae Update runtests.yml 2021-08-17 12:03:17 +01:00
Oliver Gorwits
31c286ca57 add github action to replace travis testing 2021-08-17 11:59:42 +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
Oliver Gorwits
42d3df0e9c release 3.73 3.73 2021-06-28 15:13:17 +01:00
Oliver Gorwits
774339e98f release 3.72 3.72 2021-06-28 08:38:06 +01:00
nick n
b0c1c7e2a7 CiscoPower, not Power 2021-06-27 07:08:49 +02:00
nick n
36f882d916 add bridge again
should fix netdisco#708
2021-06-18 04:36:41 +02:00
Jeroen van Ingen Schenau
b1225583cd Merge pull request #422 from netdisco/jvi-aoscx
Aruba CX support
2021-06-17 10:14:45 +02:00
nick n
b491a6921c remove non breaking space (#424)
only changed in comments.
2021-06-17 02:57:15 +02:00
nick n
63fedc6a41 mention ieee802_bridge in info.pm (#425)
* add ieee802_bridge to info.pm, fixes tests

* aerohive comes before airespace
2021-06-17 02:56:29 +02:00
nick n
aefd0364fb move to libera chat 2021-06-15 07:57:19 +02:00
Jeroen van Ingen
3ae7073198 Small Bridge.pm fix
This change will make sure that the internal _vlan_hoa() function will strip
any additional index levels that may be present in input data. Not only applies
to Q-BRIDGE-MIB tables with a TimeFilter index, but also to tables where part
of the data comes from IEEE8021-Q-BRIDGE-MIB with both TimeFilter and PBB ID.
2021-06-11 15:15:01 +02:00
Jeroen van Ingen
9c306812f9 Add support for Aruba CX switches 2021-06-11 15:15:01 +02:00
Jeroen van Ingen
3790a2fcb2 Add IEEE802_Bridge module
Initial version of module to fetch data from IEEE8021-Q-BRIDGE-MIB
2021-06-11 13:21:39 +02:00
nick n
0b86645a63 aerohive version support higher as 9 (#421)
* allow aerohive hiveos version numbers above 9
* aerohive is now owned by extreme
2021-06-04 18:38:13 +02:00
nick n
fa206be639 libera irc 2021-05-28 02:21:31 +02:00
nick n
350ee49293 libera irc 2021-05-28 02:21:05 +02:00
nick n
210d4d48a7 libera irc 2021-05-28 02:16:08 +02:00
nick n
ad8224bcec aerohive, not aironet
typos
2021-05-12 05:51:02 +02:00
nick n
9943dff277 mention #403 2021-04-29 09:20:51 +02:00
nick n
bf0b7d989f dont flip between dell and aruba
should fix #403
2021-04-29 09:18:27 +02:00
nick n
6ec90b3b9b sort a few things 2021-04-29 07:57:20 +02:00
nick n
2a2214a0ac ignore .vscode directory (#418) 2021-03-13 17:36:12 +01:00
Oliver Gorwits
31b231804f release 3.71 3.71 2020-11-27 09:46:24 +00:00