Advertisement
Guest User

Untitled

a guest
Jun 4th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.69 KB | None | 0 0
  1. 02 bcae.c572.6ab0 dynamic Yes 0 Gi8/34\n* 765 0013.4939.2742 dynamic Yes 0 Te9/1\n* 840 0013.49c7.c4e8 dynamic Yes 5 Gi8/30\n* 3100 0018.8246.0f10 dynamic Yes 50 Te9/1\n* 778 2ce4.123d.73e9 dynamic Yes 0 Te9/1\n* 759 c0ac.5470.0b93 dynamic Yes 5 Te9/1\n\n'
  2. i = 'Po13'
  3. interfaces = ['Po13']
  4. cmd = 'show mac address-table'
  5. l = '* 460 0010.0f00.0f02 dynamic Yes 110 Po13'
  6. mac = '0010.0f00.0f02'
  7. r = []
  8. interface = None
  9. _[2] = []
  10. self = <Script(Thread-2, started 140403484358400)>
  11. match = <_sre.SRE_Match object at 0x3eee6c0>
  12. ------------------------------------------------------------------------
  13. File: /opt/noc/sa/script/script.py (Line: 422)
  14. Function: guarded_run
  15. 415 return result
  16. 416 except KeyError:
  17. 417 self.debug("Not in call cache: %r, %r" % (self.name,
  18. 418 self.kwargs))
  19. 419 pass
  20. 420 # Calling script body
  21. 421 self._thread_id = thread.get_ident()
  22. 422 ==> result = self.execute(**self.kwargs)
  23. 423 # Enforce interface result checking
  24. 424 for i in self.implements:
  25. 425 result = i.script_clean_result(self.profile, result)
  26. 426 # Cache result when required
  27. 427 if self.cache and self.parent is not None:
  28. 428 self.debug("Write to call cache: %s, %s, %r" % (self.name,
  29. Variables:
  30. i =
  31. <noc.sa.interfaces.igetmacaddresstable.IGetMACAddressTable object at 0x336d3d0>
  32. self = <Script(Thread-2, started 140403484358400)>
  33. ------------------------------------------------------------------------
  34. File: /opt/noc/sa/script/script.py (Line: 445)
  35. Function: run
  36. 438
  37. 439 def run(self):
  38. 440 """Script thread worker method"""
  39. 441 self.debug("Running")
  40. 442 result = None
  41. 443 try:
  42. 444 with self.cancelable():
  43. 445 ==> result = self.guarded_run()
  44. 446 except self.TimeOutError:
  45. 447 self.error("Timed out")
  46. 448 self.e_timeout = True
  47. 449 except CancelledError:
  48. 450 self.error("Cancelled")
  49. 451 self.e_cancel = True
  50. Variables:
  51. self = <Script(Thread-2, started 140403484358400)>
  52. r =
  53. ["<type 'exceptions.TypeError'>", "argument of type 'bool' is not iterable"]
  54. result = None
  55. v = TypeError("argument of type 'bool' is not iterable",)
  56. tb = <traceback object at 0x3ef9c20>
  57. t = <type 'exceptions.TypeError'>
  58. ------------------------------------------------------------------------
  59. END OF TRACEBACK
  60. 2013-06-04 13:15:21,003 [Cisco.IOS.get_mac_address_table(7609-yla-srv, 192.168.65.212)] Closing
  61. 2013-06-04 13:15:21,004 Requesting call: <bound method CLITelnetSocket.close of <CLITelnetSocket(0x3efa550, 192.168.65.212:23, connected)>>(*(), **{'flush': True})
  62. 2013-06-04 13:15:21,046 Tick
  63. 2013-06-04 13:15:21,047 Calling delayed <bound method CLITelnetSocket.close of <CLITelnetSocket(0x3efa550, 192.168.65.212:23, connected)>>(*(), **{'flush': True})
  64. 2013-06-04 13:15:21,047 [TELNET: 192.168.65.212] Closing socket
  65. 2013-06-04 13:15:21,047 unregister_socket(<CLITelnetSocket(0x3efa550, 192.168.65.212:23, closing)>)
  66. 2013-06-04 13:15:21,048 3 TICKS TO EXIT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement