Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -r 800318cba65f sa/profiles/Cisco/IOS/get_interfaces.py
- --- a/sa/profiles/Cisco/IOS/get_interfaces.py Tue Sep 02 13:44:51 2014 +0400
- +++ b/sa/profiles/Cisco/IOS/get_interfaces.py Tue Sep 02 17:22:32 2014 +0400
- @@ -305,7 +305,7 @@
- sub["enabled_protocols"] += ["OSPF"]
- if full_ifname in ifindex:
- - sub["ifindex"] = ifindex[full_ifname]
- + sub["snmp_ifindex"] = ifindex[full_ifname]
- if "." not in ifname and ":" not in ifname:
- iface = {
- @@ -337,7 +337,7 @@
- iface["enabled_protocols"] += ["LACP"]
- # Ifindex
- if full_ifname in ifindex:
- - iface["ifindex"] = ifindex[full_ifname]
- + iface["snmp_ifindex"] = ifindex[full_ifname]
- interfaces += [iface]
- else:
- # Append additional subinterface
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement