Guest User

Untitled

a guest
Apr 18th, 2012
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.50 KB | None | 0 0
  1. Љ2012-04-18 15:00:31,724 [script-172.16.0.18-Extreme.XOS.get_interfaces] Script traceback:
  2. <type 'exceptions.KeyError'>
  3. 'untagged'
  4. START OF TRACEBACK
  5. ------------------------------------------------------------------------
  6. File: /opt/noc/sa/profiles/Extreme/XOS/get_interfaces.py (Line: 89)
  7. Function: execute
  8. 82 match = self.rx_tagged.match(l)
  9. 83 if match:
  10. 84 current["tagged"] += self.parse_interfaces(match.group("ifaces"))
  11. 85 continue
  12. 86 # Process untagged
  13. 87 match = self.rx_untagged.match(l)
  14. 88 if match:
  15. 89 ==> current["untagged"] += self.parse_interfaces(match.group("ifaces"))
  16. 90 continue
  17. 91 # Save last VLAN
  18. 92 if current:
  19. 93 vlans += [current]
  20. 94 # Process parsed data
  21. 95 interfaces = []
  22. Variables:
  23. self = <Script(script-172.16.0.18-Extreme.XOS.get_interfaces, started 140100949505792)>
  24. l = 'Untag: *7(ADAM-MCAST-DCM_I)'
  25. current = {}
  26. 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
  27. vlans = []
  28. match = <_sre.SRE_Match object at 0x36dfc60>
  29. ------------------------------------------------------------------------
  30. File: /opt/noc/sa/script/script.py (Line: 412)
  31. Function: guarded_run
  32. 405 return result
  33. 406 except KeyError:
  34. 407 self.debug("Not in call cache: %r, %r" % (self.name,
  35. 408 self.kwargs))
  36. 409 pass
  37. 410 # Calling script body
  38. 411 self._thread_id = thread.get_ident()
  39. 412 ==> result = self.execute(**self.kwargs)
  40. 413 # Enforce interface result checking
  41. 414 for i in self.implements:
  42. 415 result = i.script_clean_result(self.profile, result)
  43. 416 # Cache result when required
  44. 417 if self.cache and self.parent is not None:
  45. 418 self.debug("Write to call cache: %s, %s, %r" % (self.name,
  46. Variables:
  47. i = <noc.sa.interfaces.igetinterfaces.IGetInterfaces object at 0x2fbf990>
  48. self = <Script(script-172.16.0.18-Extreme.XOS.get_interfaces, started 140100949505792)>
  49. ------------------------------------------------------------------------
  50. File: /opt/noc/sa/script/script.py (Line: 435)
  51. Function: run
  52. 428
  53. 429 def run(self):
  54. 430 """Script thread worker method"""
  55. 431 self.debug("Running")
  56. 432 result = None
  57. 433 try:
  58. 434 with self.cancelable():
  59. 435 ==> result = self.guarded_run()
  60. 436 except TimeOutError:
  61. 437 self.error("Timed out")
  62. 438 self.e_timeout = True
  63. 439 except CancelledError:
  64. 440 self.error("Cancelled")
  65. 441 self.e_cancel = True
  66. Variables:
  67. self = <Script(script-172.16.0.18-Extreme.XOS.get_interfaces, started 140100949505792)>
  68. r = ["<type 'exceptions.KeyError'>", "'untagged'"]
  69. result = None
  70. v = KeyError('untagged',)
  71. tb = <traceback object at 0x36ee638>
  72. t = <type 'exceptions.KeyError'>
  73. ------------------------------------------------------------------------
  74. END OF TRACEBACK
  75. 2
Advertisement
Add Comment
Please, Sign In to add comment