Advertisement
Guest User

TSergey, 2015-01-21, enabled_afi

a guest
Jan 21st, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. <type 'exceptions.KeyError'>
  2. 'enabled_afi'
  3. START OF TRACEBACK
  4. ------------------------------------------------------------------------
  5. File: sa/profiles/OS/FreeBSD/get_interfaces.py (Line: 114)
  6. Function: execute
  7. 107 continue
  8. 108 prefixlen = match.group("prefixlen")
  9. 109 ipv6_addr = "%s/%s" % (ipv6, prefixlen)
  10. 110 if "ipv6_addresses" in self.subiface:
  11. 111 self.subiface["ipv6_addresses"] += [ipv6_addr]
  12. 112 else:
  13. 113 self.subiface["ipv6_addresses"] = [ipv6_addr]
  14. 114 ==> self.subiface["enabled_afi"] += ["IPv6"]
  15. 115 continue
  16. 116 match = self.rx_if_status.search(s)
  17. 117 if match:
  18. 118 self.iface["oper_status"] = True
  19. 119 self.subiface["oper_status"] = True
  20. 120 continue
  21. Variables:
  22. ipv6_addr = '::1/128'
  23. self = <Script(Thread-2, started 140048816940800)>
  24. s = '\tinet6 ::1 prefixlen 128 '
  25. ipv6 = '::1'
  26. prefixlen = '128'
  27. match = <_sre.SRE_Match object at 0x4c72c10>
  28. ------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement