net-snmp: include ipv6 address & route mibs
authorPeca Nesovanovic <peca.nesovanovic@sattrakt.com>
Wed, 27 Mar 2024 14:33:32 +0000 (15:33 +0100)
committerRosen Penev <rosenp@gmail.com>
Mon, 24 Jun 2024 06:10:35 +0000 (23:10 -0700)
commitb18c0f17f70524051c34a9779185f8f80d952a75
tree4739e0ab0e76c6c6d8cc4b854e620687fac58657
parent9577427bad8176fe02b66cdd4e263d4ae2444fe4
net-snmp: include ipv6 address & route mibs

description: Since IPv6 is present in everyday use, we need to include
  information about IPv6 addresses & routes in SNMP

example:
  IP-MIB::ipAddressOrigin.ipv6

  IP-MIB::ipAddressOrigin[ipv6]["00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:01"] = manual
  IP-MIB::ipAddressOrigin[ipv6]["fd:00:00:09:02:55:00:00:00:00:00:00:00:00:01:01"] = manual
  IP-MIB::ipAddressOrigin[ipv6]["fe:80:00:00:00:00:00:00:0c:00:09:ff:fe:06:01:01"] = linklayer
  IP-MIB::ipAddressOrigin[ipv6]["fe:80:00:00:00:00:00:00:0c:02:09:ff:fe:00:01:01"] = linklayer
  IP-MIB::ipAddressOrigin[ipv6]["fe:80:00:00:00:00:00:00:ae:84:c6:ff:fe:25:8c:ce"] = linklayer

tested:
  23.05-snapshot
  master snapshot
  with LibreNMS, OpenWRT device IPv6 Addresses & Routes are properly recognized

Signed-off-by: Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
net/net-snmp/Makefile