Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <type 'exceptions.KeyError'>
- 'enabled_afi'
- START OF TRACEBACK
- ------------------------------------------------------------------------
- File: sa/profiles/OS/FreeBSD/get_interfaces.py (Line: 114)
- Function: execute
- 107 continue
- 108 prefixlen = match.group("prefixlen")
- 109 ipv6_addr = "%s/%s" % (ipv6, prefixlen)
- 110 if "ipv6_addresses" in self.subiface:
- 111 self.subiface["ipv6_addresses"] += [ipv6_addr]
- 112 else:
- 113 self.subiface["ipv6_addresses"] = [ipv6_addr]
- 114 ==> self.subiface["enabled_afi"] += ["IPv6"]
- 115 continue
- 116 match = self.rx_if_status.search(s)
- 117 if match:
- 118 self.iface["oper_status"] = True
- 119 self.subiface["oper_status"] = True
- 120 continue
- Variables:
- ipv6_addr = '::1/128'
- self = <Script(Thread-2, started 140048816940800)>
- s = '\tinet6 ::1 prefixlen 128 '
- ipv6 = '::1'
- prefixlen = '128'
- match = <_sre.SRE_Match object at 0x4c72c10>
- ------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement