Nexus vrf support (#246)
Initial commit to add the suport of the Interfaces in VRF for Nexus devices To tune to correctly retrieve the context for the VRF On Nexus device, you need to add the following command for each VRF: snmp-server context <context> vrf <vrf>
This commit is contained in:
@@ -57,6 +57,7 @@ $VERSION = '3.39';
|
|||||||
%MIBS = (
|
%MIBS = (
|
||||||
%SNMP::Info::Layer3::CiscoSwitch::MIBS,
|
%SNMP::Info::Layer3::CiscoSwitch::MIBS,
|
||||||
'CISCO-ENTITY-VENDORTYPE-OID-MIB' => 'cevMIBObjects',
|
'CISCO-ENTITY-VENDORTYPE-OID-MIB' => 'cevMIBObjects',
|
||||||
|
'CISCO-CONTEXT-MAPPING-MIB' => 'cContextMappingMIBObjects',
|
||||||
);
|
);
|
||||||
|
|
||||||
%GLOBALS = (
|
%GLOBALS = (
|
||||||
@@ -64,7 +65,10 @@ $VERSION = '3.39';
|
|||||||
'mac' => 'dot1dBaseBridgeAddress',
|
'mac' => 'dot1dBaseBridgeAddress',
|
||||||
);
|
);
|
||||||
|
|
||||||
%FUNCS = ( %SNMP::Info::Layer3::CiscoSwitch::FUNCS, );
|
%FUNCS = (
|
||||||
|
%SNMP::Info::Layer3::CiscoSwitch::FUNCS,
|
||||||
|
'vrf_name' => 'cContextMappingVrfName',
|
||||||
|
);
|
||||||
|
|
||||||
%MUNGE = ( %SNMP::Info::Layer3::CiscoSwitch::MUNGE, );
|
%MUNGE = ( %SNMP::Info::Layer3::CiscoSwitch::MUNGE, );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user