Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2014
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. 2014-03-03 13:47:36,579 script(Cisco.IOS.get_spanning_tree,laz-2-cs3,**{}) failed: <type 'exceptions.KeyError'>
  2. 'Gi 2/0/10'
  3. START OF TRACEBACK
  4. ------------------------------------------------------------------------
  5. File: /opt/noc/sa/profiles/Cisco/IOS/get_spanning_tree.py (Line: 107)
  6. Function: process_pvst
  7. 100 }]
  8. 101 for match in self.rx_pvst_interfaces.finditer(I):
  9. 102 instance_id = int(match.group("instance_id"))
  10. 103 if instance_id not in interfaces:
  11. 104 interfaces[instance_id] = []
  12. 105 interface = self.profile.convert_interface_name(
  13. 106 match.group("interface"))
  14. 107 ==> port_attrs = ports[instance_id][interface]
  15. 108 interfaces[instance_id] += [{
  16. 109 "interface": interface,
  17. 110 "port_id": match.group("port_id"),
  18. 111 "state": port_attrs["state"],
  19. 112 "role": port_attrs["role"],
  20. 113 "priority": match.group("priority"),
  21. Variables:
  22. proto = 'PVST+'
  23. I =
  24. '0806 is executing the ieee compatible Spanning Tree protocol\n Bridge Identifier has priority 32768, sysid 806, address 0022.56ae.4080\n Configured hello
  25. time 2, max age 20, forward delay 15\n Current root has priority 33574, address 000a.b8fb.6a00\n Root port is 104 (GigabitEthernet2/0/50), cost of root p
  26. ath is 8\n Topology change flag set, detected flag not set\n Number of topology changes 1074737 last change occurred 00:00:02 ago\n from GigabitE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement