Advertisement
Guest User

Untitled

a guest
Jan 16th, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. <type 'exceptions.IndexError'>
  2. list index out of range
  3. START OF TRACEBACK
  4. ------------------------------------------------------------------------
  5. File: /opt/noc/inv/discovery/jobs/rep_discovery.py (Line: 43)
  6. Function: process_result
  7. 36 if not o:
  8. 37 continue # Not found
  9. 38 elif len(o) == 2:
  10. 39 # Inside the ring
  11. 40 self.submit_pair(object,
  12. 41 topology[o[0]], topology[o[0] - 1])
  13. 42 self.submit_pair(object,
  14. 43 ==> topology[o[1]], topology[o[1] + 1])
  15. 44 elif len(o) == 1:
  16. 45 # End of the ring
  17. 46 if o[0] == 0:
  18. 47 # First
  19. 48 self.submit_pair(object,
  20. 49 topology[o[0]], topology[o[0] + 1])
  21. Variables:
  22. i = 17
  23. self = <noc.inv.discovery.jobs.rep_discovery.REPLinkDiscoveryJob object at 0x807c4d350>
  24. object = <ManagedObject: cat-r23>
  25. o = [16, 17]
  26. p = {'edge_no_neighbor': True, 'name': 'cat-r23', 'neighbor_number': 18, 'mac': '68:BD:AB:AA:16:80', 'edge': 'SEC', 'role': 'OPEN', 'port
  27. result = [{'segment': 73, 'topology': [{'edge_no_neighbor': True, 'name': ...
  28. last_mac = u'68:BD:AB:AA:16:80'
  29. first_mac = u'68:BD:AB:AA:16:80'
  30. segment = {'segment': 73, 'topology': [{'edge_no_neighbor': True, 'name': ...
  31. topology = [{'edge_no_neighbor': True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement