Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Љ2012-04-18 15:00:31,724 [script-172.16.0.18-Extreme.XOS.get_interfaces] Script traceback:
- <type 'exceptions.KeyError'>
- 'untagged'
- START OF TRACEBACK
- ------------------------------------------------------------------------
- File: /opt/noc/sa/profiles/Extreme/XOS/get_interfaces.py (Line: 89)
- Function: execute
- 82 match = self.rx_tagged.match(l)
- 83 if match:
- 84 current["tagged"] += self.parse_interfaces(match.group("ifaces"))
- 85 continue
- 86 # Process untagged
- 87 match = self.rx_untagged.match(l)
- 88 if match:
- 89 ==> current["untagged"] += self.parse_interfaces(match.group("ifaces"))
- 90 continue
- 91 # Save last VLAN
- 92 if current:
- 93 vlans += [current]
- 94 # Process parsed data
- 95 interfaces = []
- Variables:
- self = <Script(script-172.16.0.18-Extreme.XOS.get_interfaces, started 140100949505792)>
- l = 'Untag: *7(ADAM-MCAST-DCM_I)'
- current = {}
- v = 'VLAN Interface with name Adamant_P created by user\n\tAdmin State:\tEnabled \tTagging:\t802.1Q Tag 3250 \n\tVirtual router:\tVR-Default\n\tIPv6: \t\tNone\n\tSTPD: \t\tNone\n\tProtocol: \tMatch all unfiltered protocols\n\tLoopback: \tDisabled\n\tNetLogin: \tDisabled\n\tQosProfile: \tNone configured\n\tEgress Rate Limit Designated Port: None configured\n\tFlood Rate Limit QosProfile: None configured\n\tPorts:\t 2. \t (Number of active ports=2)\n Tag: *2(Adamant_Total_P),*20(BSW3-KIEV-UA-BR1_I)\n\tFlags: (*) Active, (!) Disabled, (g) Load Sharing port\n (b) Port blocked on the vlan, (m) Mac-Based port\n (a) Egress traffic allowed for NetLogin\n (u) Egress traffic unallowed for NetLogin\n (t) Translate VLAN tag for Private-VLAN\n (s) Private-VLAN System Port, (L) Loopback port\n (e) Private-VLAN End Point Port\n (x) VMAN Tag Translated port\n\n#\n#\nVLAN Interface with name Adamant_TV created by user\n\tAdmin State:\tEnabled \tTagging:\t802.1Q Tag 2703 \n\tVirtual router:\tVR-Default\n\tIPv6: \t\tNone\n\tSTPD: \t\tNone\n\tProtocol: \tMatch all unfiltered protocols\n\tLoopback: \tDisabled\n\tNetLogin: \tDisabled\n\tQosProfile: \tNone configured\n\tEgress Rate Limit Designated Port: None configured\n\tFlood Rate Limit QosProfile: None configured\n\tPorts:\t 2. \t (Number of active ports=2)\n Untag: *7(ADAM-MCAST-DCM_I)\n Tag: *2(Adamant_Total_P)\n\tFlags: (*) Active, (!) Disabled, (g) Load Sharing port\n (b) Port blocked on the vlan, (m) Mac-Based port\n (a) Egress traffic allowed for NetLogin\n (u) Egress traffic unallowed for NetLogin\n (t) Translate VLAN tag for Private-VLAN\n (s) Private-VLAN System Port, (L) Loopback port\n (e) Private-VLAN End Point Port\n (x) VMAN Tag Translated port\n\n#\n#\nVLAN Interface with name CITYNET_IPT created by user\n\tAdmin State:\tEnabled \tTagging:\t802.1Q Tag 3356 \n\tVirtual router:\tVR-Default\n\tIPv6: \t\tNone\n\tSTPD: \t\tNone\n\tProtocol: \tMatch all unfiltered protocols\n\tLoopback: \tDisabled\n\tNetLogin: \tDisabled\n\tQosProfile: \tNone configured\n\tEgress Rate Limit Designated Port: None configured\n\tFlood Rate Limit QosProfile: None configured\n\tPorts:\t 2. \t (Number of active ports=2)\n Untag: *6(CityNET_IPT)\n Tag: *23g\n\tFlags: (*) Active, (!) Disabled, (g) Load Sharing port\n (b) Port blocked on the vlan, (m) Mac-Based port\n (a) Egress traffic allowed for NetLogin\n (u) Egress traffic unallowed for NetLogin\n (t) Translate VLAN tag for Private-VLAN\n (s) Private-VLAN System Port, (L) Loopback port\n (e) Private-VLAN End Point Port\n (x) VMAN Tag Translated port\n\n#\n#\nVLAN Interface with name CRYMCOM_BAK_IPT created by user\n\tAdmin State:\tEnabled \tTagging:\t802.1Q Tag 3361 \n\tVirtual router:\tVR-Default\n\tIPv6: \t\tNone\n\tSTPD: \t\tNone\n\tProtocol: \tMatch all unfiltered protocols\n\tLoopback: \tDisabled\n\tNetLogin: \tDisabled\n\tQosProfile: \tNone configured\n\tEgress Rate Limit Designated Port: None configured\n\tFlood Rate Limit QosProfile: None configured\n\tPorts:\t 2. \t (Number of active ports=2)\n Tag: *21(CRYMCOM_IPT), *23g\n\tFlags: (*) Active, (!) Disabled, (g) Load Sharing port\n (b) Port blocked on the vlan, (m) Mac-Based port\n (a) Egress traffic allowed for NetLogin\n (u) Egress traffic unallowed for NetLogin\n (t) Translate VLAN tag for Private-VLAN\n (s) Private-VLAN System Port, (L) Loopback port\n (e) Private-VLAN End Point Port\n (x) VMAN Tag Translated port\n\n#\n#\nVLAN Interface with name CRYMCOM_IPT created by user\n\tAdmin State:\t
- vlans = []
- match = <_sre.SRE_Match object at 0x36dfc60>
- ------------------------------------------------------------------------
- File: /opt/noc/sa/script/script.py (Line: 412)
- Function: guarded_run
- 405 return result
- 406 except KeyError:
- 407 self.debug("Not in call cache: %r, %r" % (self.name,
- 408 self.kwargs))
- 409 pass
- 410 # Calling script body
- 411 self._thread_id = thread.get_ident()
- 412 ==> result = self.execute(**self.kwargs)
- 413 # Enforce interface result checking
- 414 for i in self.implements:
- 415 result = i.script_clean_result(self.profile, result)
- 416 # Cache result when required
- 417 if self.cache and self.parent is not None:
- 418 self.debug("Write to call cache: %s, %s, %r" % (self.name,
- Variables:
- i = <noc.sa.interfaces.igetinterfaces.IGetInterfaces object at 0x2fbf990>
- self = <Script(script-172.16.0.18-Extreme.XOS.get_interfaces, started 140100949505792)>
- ------------------------------------------------------------------------
- File: /opt/noc/sa/script/script.py (Line: 435)
- Function: run
- 428
- 429 def run(self):
- 430 """Script thread worker method"""
- 431 self.debug("Running")
- 432 result = None
- 433 try:
- 434 with self.cancelable():
- 435 ==> result = self.guarded_run()
- 436 except TimeOutError:
- 437 self.error("Timed out")
- 438 self.e_timeout = True
- 439 except CancelledError:
- 440 self.error("Cancelled")
- 441 self.e_cancel = True
- Variables:
- self = <Script(script-172.16.0.18-Extreme.XOS.get_interfaces, started 140100949505792)>
- r = ["<type 'exceptions.KeyError'>", "'untagged'"]
- result = None
- v = KeyError('untagged',)
- tb = <traceback object at 0x36ee638>
- t = <type 'exceptions.KeyError'>
- ------------------------------------------------------------------------
- END OF TRACEBACK
- 2
Advertisement
Add Comment
Please, Sign In to add comment