Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2014
268
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 9776cfdaf21a sa/profiles/Alcatel/7324RU/get_interfaces.py
  2. --- a/sa/profiles/Alcatel/7324RU/get_interfaces.py Mon Sep 22 14:40:15 2014 +0400
  3. +++ b/sa/profiles/Alcatel/7324RU/get_interfaces.py Tue Sep 23 10:42:13 2014 +0400
  4. @@ -93,7 +93,8 @@
  5. "admin_status": admin_status,
  6. "oper_status": oper_status,
  7. "description": description,
  8. - "subinterfaces": sub
  9. + "subinterfaces": sub,
  10. + "snmp_ifindex": phy[0]
  11. }]
  12. # Enet ports info
  13. enet_ports = self.cli("statistics enet")
  14. @@ -119,6 +120,7 @@
  15. "admin_status": admin_status,
  16. "oper_status": oper_status,
  17. "mac": mac,
  18. + "snmp_ifindex": y+49,
  19. "subinterfaces": [{
  20. "admin_status": admin_status,
  21. "enabled_afi": ["BRIDGE"],
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement