Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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'
- i = 'Po13'
- interfaces = ['Po13']
- cmd = 'show mac address-table'
- l = '* 460 0010.0f00.0f02 dynamic Yes 110 Po13'
- mac = '0010.0f00.0f02'
- r = []
- interface = None
- _[2] = []
- self = <Script(Thread-2, started 140403484358400)>
- match = <_sre.SRE_Match object at 0x3eee6c0>
- ------------------------------------------------------------------------
- File: /opt/noc/sa/script/script.py (Line: 422)
- Function: guarded_run
- 415 return result
- 416 except KeyError:
- 417 self.debug("Not in call cache: %r, %r" % (self.name,
- 418 self.kwargs))
- 419 pass
- 420 # Calling script body
- 421 self._thread_id = thread.get_ident()
- 422 ==> result = self.execute(**self.kwargs)
- 423 # Enforce interface result checking
- 424 for i in self.implements:
- 425 result = i.script_clean_result(self.profile, result)
- 426 # Cache result when required
- 427 if self.cache and self.parent is not None:
- 428 self.debug("Write to call cache: %s, %s, %r" % (self.name,
- Variables:
- i =
- <noc.sa.interfaces.igetmacaddresstable.IGetMACAddressTable object at 0x336d3d0>
- self = <Script(Thread-2, started 140403484358400)>
- ------------------------------------------------------------------------
- File: /opt/noc/sa/script/script.py (Line: 445)
- Function: run
- 438
- 439 def run(self):
- 440 """Script thread worker method"""
- 441 self.debug("Running")
- 442 result = None
- 443 try:
- 444 with self.cancelable():
- 445 ==> result = self.guarded_run()
- 446 except self.TimeOutError:
- 447 self.error("Timed out")
- 448 self.e_timeout = True
- 449 except CancelledError:
- 450 self.error("Cancelled")
- 451 self.e_cancel = True
- Variables:
- self = <Script(Thread-2, started 140403484358400)>
- r =
- ["<type 'exceptions.TypeError'>", "argument of type 'bool' is not iterable"]
- result = None
- v = TypeError("argument of type 'bool' is not iterable",)
- tb = <traceback object at 0x3ef9c20>
- t = <type 'exceptions.TypeError'>
- ------------------------------------------------------------------------
- END OF TRACEBACK
- 2013-06-04 13:15:21,003 [Cisco.IOS.get_mac_address_table(7609-yla-srv, 192.168.65.212)] Closing
- 2013-06-04 13:15:21,004 Requesting call: <bound method CLITelnetSocket.close of <CLITelnetSocket(0x3efa550, 192.168.65.212:23, connected)>>(*(), **{'flush': True})
- 2013-06-04 13:15:21,046 Tick
- 2013-06-04 13:15:21,047 Calling delayed <bound method CLITelnetSocket.close of <CLITelnetSocket(0x3efa550, 192.168.65.212:23, connected)>>(*(), **{'flush': True})
- 2013-06-04 13:15:21,047 [TELNET: 192.168.65.212] Closing socket
- 2013-06-04 13:15:21,047 unregister_socket(<CLITelnetSocket(0x3efa550, 192.168.65.212:23, closing)>)
- 2013-06-04 13:15:21,048 3 TICKS TO EXIT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement