Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2014
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. diff -r 800318cba65f sa/profiles/Cisco/IOS/get_interfaces.py
  2. --- a/sa/profiles/Cisco/IOS/get_interfaces.py Tue Sep 02 13:44:51 2014 +0400
  3. +++ b/sa/profiles/Cisco/IOS/get_interfaces.py Tue Sep 02 17:22:32 2014 +0400
  4. @@ -305,7 +305,7 @@
  5. sub["enabled_protocols"] += ["OSPF"]
  6.  
  7. if full_ifname in ifindex:
  8. - sub["ifindex"] = ifindex[full_ifname]
  9. + sub["snmp_ifindex"] = ifindex[full_ifname]
  10.  
  11. if "." not in ifname and ":" not in ifname:
  12. iface = {
  13. @@ -337,7 +337,7 @@
  14. iface["enabled_protocols"] += ["LACP"]
  15. # Ifindex
  16. if full_ifname in ifindex:
  17. - iface["ifindex"] = ifindex[full_ifname]
  18. + iface["snmp_ifindex"] = ifindex[full_ifname]
  19. interfaces += [iface]
  20. else:
  21. # Append additional subinterface
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement