snmp_exporter
snmp_exporter copied to clipboard
generator/tree.go: Add support for subsequent address family in combi…
…ned type
Since some MIB carry information about Safi (subsequent address family), it will cause the generator to bail out, even though there is a valid Subtype before.
E.g. Afi Safi Address
This is especially valid for Juniper BGP MIB.
I tried this out and it fixed all errors, and the output was the same as before.
Link: https://learningnetwork.cisco.com/s/question/0D53i00000KssMOCAZ/bgp-afi-and-safi
Signed-off-by: Josef Johansson [email protected]