Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2014
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.96 KB | None | 0 0
  1. tail -f /srv/noc/log/noc-sae.log
  2. 451 self.e_cancel = True
  3. Variables:
  4. self = <Script(Thread-4, started 140370057426688)>
  5. r = ["<type 'exceptions.KeyError'>", "'VR-Default'"]
  6. result = None
  7. v = KeyError('VR-Default',)
  8. tb = <traceback object at 0x3830488>
  9. t = <type 'exceptions.KeyError'>
  10. ------------------------------------------------------------------------
  11. END OF TRACEBACK
  12. 2014-10-22 18:08:25,294 MRT task=71/71 object=RUMSKSOKES001(RUMSKSOKES001) script=Extreme.XOS.get_interfaces status=running
  13. 2014-10-22 18:08:25,294 script Extreme.XOS.get_interfaces(RUMSKSOKES001)
  14. 2014-10-22 18:09:50,082 MRT task=72/72 object=SAE(0.0.0.0) script=NOC.SAE.get_activator_info status=running
  15. 2014-10-22 18:09:50,082 script NOC.SAE.get_activator_info(SAE)
  16. 2014-10-22 18:09:50,085 1 script threads
  17. 2014-10-22 18:09:50,090 Script NOC.SAE.get_activator_info(0.0.0.0) completed
  18. 2014-10-22 18:09:50,090 0 script threads left
  19. 2014-10-22 18:09:50,156 MRT task=72/72 object=SAE(0.0.0.0) script=NOC.SAE.get_activator_info status=completed
  20. 2014-10-22 18:10:00,200 MRT task=73/73 object=RUMSKSOKES003(RUMSKSOKES003) script=Extreme.XOS.get_interfaces status=running
  21. 2014-10-22 18:10:00,200 script Extreme.XOS.get_interfaces(RUMSKSOKES003)
  22. 2014-10-22 18:10:01,832 script(Extreme.XOS.get_interfaces,RUMSKSOKES003,**{}) failed: Timed out
  23. 2014-10-22 18:10:01,837 MRT task=69/69 object=RUMSKSOKES003(RUMSKSOKES003) script=Extreme.XOS.get_interfaces status=failed code=17 error=Timed out
  24. 2014-10-22 18:10:02,151 script(Extreme.XOS.get_interfaces,RUMSKSOKES001,**{}) failed: <type 'exceptions.KeyError'>
  25. 'VR-Default'
  26. START OF TRACEBACK
  27. ------------------------------------------------------------------------
  28. File: /opt/noc/sa/profiles/Extreme/XOS/get_interfaces.py (Line: 270)
  29. Function: execute
  30. 263 vrf_name = e['name']
  31. 264 out_vrf = {
  32. 265 'forwarding_instance': vrf_name,
  33. 266 'interfaces': [],
  34. 267 'type': 'ip',
  35. 268 }
  36. 269 ret[vrf_name] = out_vrf
  37. 270 ==> default_vrf = ret['VR-Default']
  38. 271 default_vrf['forwarding_instance'] = 'default' # fix default instance name
  39. 272
  40. 273 # Ports & Sharings
  41. 274 for e in ports_and_sharings.values():
  42. 275 name = e['name']
  43. 276 admin_status = e['admin_status']
  44. Variables:
  45. current_port_name = '26'
  46. current_port =
  47. {'admin_status': True,
  48. 'enabled_afi': ['BRIDGE'],
  49. 'name': '26',
  50. 'oper_status': True,
  51. 'tagged_vlans': [23,
  52. 4,
  53. 906,
  54. 121,
  55. 10,
  56. 99,
  57. 114,
  58. 403,
  59. 12,
  60. 110,
  61. 8,
  62. 707,
  63. 117,
  64. 118],
  65. 'type': 'physical'}
  66. name = 'ZOO-SOK-RC'
  67. sharing_members = {}
  68. expand_interface_range = <function expand_interface_range at 0x37591b8>
  69. description = None
  70. l = "%% Invalid input detected at '^' marker."
  71. ret = {}
  72. mac = '00:04:96:7E:22:3B'
  73. p = '25'
  74. current_master = None
  75. vrf_name = 'VR-Default'
  76. vrfs = {}
  77. v = " ^\n%% Invalid input detected at '^' marker.\n"
  78. ports_and_sharings =
  79. {'1': {'admin_status': True,
  80. 'enabled_afi': ['BRIDGE'],
  81. 'name': '1',
  82. 'oper_status': False,
  83. 'tagged_vlans': [],
  84. 'type': 'physical',
  85. 'untagged_vlan': 4},
  86. '10': {'admin_status': True,
  87. 'description': 'Billing_DB',
  88. 'enabled_afi': ['BRIDGE'],
  89. 'name': '10',
  90. 'oper_status': True,
  91. 'tagged_vlans': [114, 117],
  92. 'type': 'physical',
  93. 'untagged_vlan': 8},
  94. '11': {'admin_status': True,
  95. 'description': 'CarbinBilling',
  96. 'enabled_afi': ['BRIDGE'],
  97. 'name': '11',
  98. 'oper_status': True,
  99. 'tagged_vlans': [],
  100. 'type': 'physical',
  101. 'untagged_vlan': 8},
  102. '12': {'admin_status': True,
  103. 'description': 'Carbon_Internal',
  104. 'enabled_afi': ['BRIDGE'],
  105. 'name': '12',
  106. 'oper_status': True,
  107. 'tagged_vlans': [900, 906],
  108. 'type': 'physical'},
  109. '13': {'admin_status': True,
  110. 'description': 'RS5000-Nikolin-Park',
  111. 'enabled_afi': ['BRIDGE'],
  112. 'name': '13',
  113. 'oper_status': True,
  114. 'tagged_vlans': [],
  115. 'type': 'physical',
  116. 'untagged_vlan': 8},
  117. '14': {'admin_status': True,
  118. 'description': 'FG90-LAN2-RCN',
  119. 'enabled_afi': ['BRIDGE'],
  120. 'name': '14',
  121. 'oper_status': True,
  122. 'tagged_vlans': [],
  123. 'type': 'physical',
  124. 'untagged_vlan': 112},
  125. '15': {'admin_status': True,
  126. 'description': 'FG90-LAN1-Roilcom',
  127. 'enabled_afi': ['BRIDGE'],
  128. 'name': '15',
  129. 'oper_status': True,
  130. 'tagged_vlans': [],
  131. 'type': 'physical',
  132. 'untagged_vlan': 110},
  133. '16': {'admin_status': True,
  134. 'description': 'FG40-WAN1-MosProm',
  135. 'enabled_afi': ['BRIDGE'],
  136. 'name': '16',
  137. 'oper_status': False,
  138. 'tagged_vlans': [],
  139. 'type': 'physical',
  140. 'untagged_vlan': 8},
  141. '17': {'admin_status': True,
  142. 'description': 'DL380G7_Gi3',
  143. 'enabled_afi': ['BRIDGE'],
  144. 'name': '17',
  145. 'oper_status': True,
  146. 'tagged_vlans': [],
  147. 'type': 'physical',
  148. 'untagged_vlan': 99},
  149. '18': {'admin_status': True,
  150. 'description': 'DELL_R510_Gi2',
  151. 'enabled_afi': ['BRIDGE'],
  152. 'name': '18',
  153. 'oper_status': True,
  154. 'tagged_vlans': [],
  155. 'type': 'physical',
  156. 'untagged_vlan': 99},
  157. '19': {'admin_status': True,
  158. 'description': 'MD3220i/0',
  159. 'enabled_afi': ['BRIDGE'],
  160. 'name': '19',
  161. 'oper_status': True,
  162. 'tagged_vlans': [],
  163. 'type': 'physical',
  164. 'untagged_vlan': 99},
  165. '2': {'admin_status': True,
  166. 'description': 'CCR-1036',
  167. 'enabled_afi': ['BRIDGE'],
  168. 'name': '2',
  169. 'oper_status': True,
  170. 'tagged_vlans': [121, 728, 114, 110],
  171. 'type': 'physical',
  172. 'untagged_vlan': 727},
  173. '20': {'admin_status': True,
  174. 'description': 'RB1100AHX2',
  175. 'enabled_afi': ['BRIDGE'],
  176. 'name': '20',
  177. 'oper_status': True,
  178. 'tagged_vlans': [],
  179. 'type': 'physical',
  180. 'untagged_vlan': 8},
  181. '21': {'admin_status': True,
  182. 'description': 'RUMSKSOKES001',
  183. 'enabled_afi': ['BRIDGE'],
  184. 'name': '21',
  185. 'oper_status': True,
  186. 'tagged_vlans': [4,
  187. 906,
  188. 121,
  189. 108,
  190. 4094,
  191. 122,
  192. 901,
  193. 727,
  194. 114,
  195. 302,
  196. 403,
  197. 109,
  198. 112,
  199. 113,
  200. 326,
  201. 110,
  202. 8,
  203. 117,
  204. 720,
  205. 118,
  206. 7],
  207. 'type': 'physical'},
  208. '22': {'admin_status': True,
  209. 'description': 'RUMSKSOKES003',
  210. 'enabled_afi': ['BRIDGE'],
  211. 'name': '22',
  212. 'oper_status': True,
  213. 'tagged_vlans': [4,
  214. 906,
  215. 121,
  216. 108,
  217. 4094,
  218. 122,
  219. 901,
  220. 727,
  221. 114,
  222. 302,
  223. 403,
  224. 109,
  225. 112,
  226. 113,
  227. 326,
  228. 110,
  229. 8,
  230. 117,
  231. 720,
  232. 118,
  233. 7],
  234. 'type': 'physical'},
  235. '23': {'admin_status': True,
  236. 'description': 'RUMSKSOKES005',
  237. 'enabled_afi': ['BRIDGE'],
  238. 'name': '23',
  239. 'oper_status': True,
  240. 'tagged_vlans': [23,
  241. 4,
  242. 900,
  243. 906,
  244. 121,
  245. 108,
  246. 122,
  247. 10,
  248. 99,
  249. 114,
  250. 403,
  251. 12,
  252. 109,
  253. 112,
  254. 322,
  255. 326,
  256. 110,
  257. 8,
  258. 707,
  259. 117,
  260. 118,
  261. 7],
  262. 'type': 'physical'},
  263. '24': {'admin_status': True,
  264. 'description': 'ELKOD',
  265. 'enabled_afi': ['BRIDGE'],
  266. 'name': '24',
  267. 'oper_status': True,
  268. 'tagged_vlans': [906, 312, 319],
  269. 'type': 'physical'},
  270. '25': {'admin_status': True,
  271. 'description': 'RUMSKZOOBR001',
  272. 'enabled_afi': ['BRIDGE'],
  273. 'name': '25',
  274. 'oper_status': True,
  275. 'tagged_vlans': [23,
  276. 4,
  277. 900,
  278. 906,
  279. 121,
  280. 312,
  281. 319,
  282. 10,
  283. 901,
  284. 99,
  285. 605,
  286. 727,
  287. 728,
  288. 114,
  289. 302,
  290. 403,
  291. 12,
  292. 322,
  293. 113,
  294. 326,
  295. 110,
  296. 8,
  297. 707,
  298. 117,
  299. 118,
  300. 712],
  301. 'type': 'physical'},
  302. '26': {'admin_status': True,
  303. 'enabled_afi': ['BRIDGE'],
  304. 'name': '26',
  305. 'oper_status': True,
  306. 'tagged_vlans': [23,
  307. 4,
  308. 906,
  309. 121,
  310. 10,
  311. 99,
  312. 114,
  313. 403,
  314. 12,
  315. 110,
  316. 8,
  317. 707,
  318. 117,
  319. 118],
  320. 'type': 'physical'},
  321. '3': {'admin_status': True,
  322. 'description': 'FG90-LAN3-Server',
  323. 'enabled_afi': ['BRIDGE'],
  324. 'name': '3',
  325. 'oper_status': True,
  326. 'tagged_vlans': [],
  327. 'type': 'physical',
  328. 'untagged_vlan': 117},
  329. '4': {'admin_status': True,
  330. 'description': 'FG90-WAN2',
  331. 'enabled_afi': ['BRIDGE'],
  332. 'name': '4',
  333. 'oper_status': True,
  334. 'tagged_vlans': [],
  335. 'type': 'physical',
  336. 'untagged_vlan': 712},
  337. '5': {'admin_status': True,
  338. 'description': 'FG90-LAN14-WIFI',
  339. 'enabled_afi': ['BRIDGE'],
  340. 'name': '5',
  341. 'oper_status': True,
  342. 'tagged_vlans': [],
  343. 'type': 'physical',
  344. 'untagged_vlan': 7},
  345. '6': {'admin_status': True,
  346. 'description': 'FG90-LAN4-Trunk',
  347. 'enabled_afi': ['BRIDGE'],
  348. 'name': '6',
  349. 'oper_status': True,
  350. 'tagged_vlans': [900, 121, 108, 715, 114, 109, 112, 110, 117, 720],
  351. 'type': 'physical'},
  352. '7': {'admin_status': True,
  353. 'description': 'FG90-WAN1-Inet',
  354. 'enabled_afi': ['BRIDGE'],
  355. 'name': '7',
  356. 'oper_status': True,
  357. 'tagged_vlans': [],
  358. 'type': 'physical',
  359. 'untagged_vlan': 8},
  360. '8': {'admin_status': True,
  361. 'description': 'FG90-LAN5-Guest',
  362. 'enabled_afi': ['BRIDGE'],
  363. 'name': '8',
  364. 'oper_status': True,
  365. 'tagged_vlans': [],
  366. 'type': 'physical',
  367. 'untagged_vlan': 122},
  368. '9': {'admin_status': True,
  369. 'description': 'DL380G7_Gi1',
  370. 'enabled_afi': ['BRIDGE'],
  371. 'name': '9',
  372. 'oper_status': True,
  373. 'tagged_vlans': [23,
  374. 900,
  375. 906,
  376. 121,
  377. 715,
  378. 122,
  379. 10,
  380. 605,
  381. 114,
  382. 12,
  383. 110,
  384. 8,
  385. 707,
  386. 117,
  387. 118],
  388. 'type': 'physical'}}
  389. vlans =
  390. {'Backbone': {'admin_status': True,
  391. 'enabled_afi': [],
  392. 'ipv4_addresses': [],
  393. 'ipv6_addresses': [],
  394. 'name': 'Backbone',
  395. 'oper_status': True,
  396. 'type': 'SVI',
  397. 'vlan_id': 23,
  398. 'vrf': 'VR-Default'},
  399. 'Billing': {'admin_status': True,
  400. 'enabled_afi': [],
  401. 'ipv4_addresses': [],
  402. 'ipv6_addresses': [],
  403. 'name': 'Billing',
  404. 'oper_status': True,
  405. 'type': 'SVI',
  406. 'vlan_id': 4,
  407. 'vrf': 'VR-Default'},
  408. 'BillingMgmt': {'admin_status': True,
  409. 'enabled_afi': [],
  410. 'ipv4_addresses': [],
  411. 'ipv6_addresses': [],
  412. 'name': 'BillingMgmt',
  413. 'oper_status': True,
  414. 'type': 'SVI',
  415. 'vlan_id': 900,
  416. 'vrf': 'VR-Default'},
  417. 'Carbon_Int': {'admin_status': True,
  418. 'enabled_afi': [],
  419. 'ipv4_addresses': [],
  420. 'ipv6_addresses': [],
  421. 'name': 'Carbon_Int',
  422. 'oper_status': True,
  423. 'type': 'SVI',
  424. 'vlan_id': 906,
  425. 'vrf': 'VR-Default'},
  426. 'Cisco_Phones': {'admin_status': True,
  427. 'enabled_afi': [],
  428. 'ipv4_addresses': [],
  429. 'ipv6_addresses': [],
  430. 'name': 'Cisco_Phones',
  431. 'oper_status': True,
  432. 'type': 'SVI',
  433. 'vlan_id': 121,
  434. 'vrf': 'VR-Default'},
  435. 'DVR': {'admin_status': True,
  436. 'enabled_afi': [],
  437. 'ipv4_addresses': [],
  438. 'ipv6_addresses': [],
  439. 'name': 'DVR',
  440. 'oper_status': True,
  441. 'type': 'SVI',
  442. 'vlan_id': 108,
  443. 'vrf': 'VR-Default'},
  444. 'Default': {'admin_status': True,
  445. 'enabled_afi': [],
  446. 'ipv4_addresses': [],
  447. 'ipv6_addresses': [],
  448. 'name': 'Default',
  449. 'oper_status': True,
  450. 'type': 'SVI',
  451. 'vlan_id': 1,
  452. 'vrf': 'VR-Default'},
  453. 'ECV': {'admin_status': True,
  454. 'enabled_afi': [],
  455. 'ipv4_addresses': [],
  456. 'ipv6_addresses': [],
  457. 'name': 'ECV',
  458. 'oper_status': True,
  459. 'type': 'SVI',
  460. 'vlan_id': 4094,
  461. 'vrf': 'VR-Default'},
  462. 'ElkodInet': {'admin_status': True,
  463. 'enabled_afi': [],
  464. 'ipv4_addresses': [],
  465. 'ipv6_addresses': [],
  466. 'name': 'ElkodInet',
  467. 'oper_status': True,
  468. 'type': 'SVI',
  469. 'vlan_id': 319,
  470. 'vrf': 'VR-Default'},
  471. 'Elkod_VoIP': {'admin_status': True,
  472. 'enabled_afi': [],
  473. 'ipv4_addresses': [],
  474. 'ipv6_addresses': [],
  475. 'name': 'Elkod_VoIP',
  476. 'oper_status': True,
  477. 'type': 'SVI',
  478. 'vlan_id': 312,
  479. 'vrf': 'VR-Default'},
  480. 'Guest': {'admin_status': True,
  481. 'enabled_afi': [],
  482. 'ipv4_addresses': [],
  483. 'ipv6_addresses': [],
  484. 'name': 'Guest',
  485. 'oper_status': True,
  486. 'type': 'SVI',
  487. 'vlan_id': 122,
  488. 'vrf': 'VR-Default'},
  489. 'Hughes_NMS': {'admin_status': True,
  490. 'enabled_afi': [],
  491. 'ipv4_addresses': [],
  492. 'ipv6_addresses': [],
  493. 'name': 'Hughes_NMS',
  494. 'oper_status': True,
  495. 'type': 'SVI',
  496. 'vlan_id': 10,
  497. 'vrf': 'VR-Default'},
  498. 'LifeNews': {'admin_status': True,
  499. 'enabled_afi': [],
  500. 'ipv4_addresses': [],
  501. 'ipv6_addresses': [],
  502. 'name': 'LifeNews',
  503. 'oper_status': True,
  504. 'type': 'SVI',
  505. 'vlan_id': 605,
  506. 'vrf': 'VR-Default'},
  507. 'MagTelecom': {'admin_status': True,
  508. 'enabled_afi': [],
  509. 'ipv4_addresses': [],
  510. 'ipv6_addresses': [],
  511. 'name': 'MagTelecom',
  512. 'oper_status': True,
  513. 'type': 'SVI',
  514. 'vlan_id': 727,
  515. 'vrf': 'VR-Default'},
  516. 'MagTelecom-FiordInet': {'admin_status': True,
  517. 'enabled_afi': [],
  518. 'ipv4_addresses': [],
  519. 'ipv6_addresses': [],
  520. 'name': 'MagTelecom-FiordInet',
  521. 'oper_status': True,
  522. 'type': 'SVI',
  523. 'vlan_id': 728,
  524. 'vrf': 'VR-Default'},
  525. 'Mgmt': {'admin_status': True,
  526. 'enabled_afi': [],
  527. 'ipv4_addresses': [],
  528. 'ipv6_addresses': [],
  529. 'name': 'Mgmt',
  530. 'oper_status': True,
  531. 'type': 'SVI',
  532. 'vlan_id': 4095,
  533. 'vrf': 'VR-Mgmt'},
  534. 'NetLineFW': {'admin_status': True,
  535. 'enabled_afi': [],
  536. 'ipv4_addresses': [],
  537. 'ipv6_addresses': [],
  538. 'name': 'NetLineFW',
  539. 'oper_status': True,
  540. 'type': 'SVI',
  541. 'vlan_id': 302,
  542. 'vrf': 'VR-Default'},
  543. 'NetLineIPTV': {'admin_status': True,
  544. 'enabled_afi': [],
  545. 'ipv4_addresses': [],
  546. 'ipv6_addresses': [],
  547. 'name': 'NetLineIPTV',
  548. 'oper_status': True,
  549. 'type': 'SVI',
  550. 'vlan_id': 403,
  551. 'vrf': 'VR-Default'},
  552. 'Net_Mgmt': {'admin_status': True,
  553. 'enabled_afi': [],
  554. 'ipv4_addresses': [],
  555. 'ipv6_addresses': [],
  556. 'name': 'Net_Mgmt',
  557. 'oper_status': True,
  558. 'type': 'SVI',
  559. 'vlan_id': 114,
  560. 'vrf': 'VR-Default'},
  561. 'PBX_Mgmt': {'admin_status': True,
  562. 'enabled_afi': [],
  563. 'ipv4_addresses': [],
  564. 'ipv6_addresses': [],
  565. 'name': 'PBX_Mgmt',
  566. 'oper_status': True,
  567. 'type': 'SVI',
  568. 'vlan_id': 12,
  569. 'vrf': 'VR-Default'},
  570. 'Printers': {'admin_status': True,
  571. 'enabled_afi': [],
  572. 'ipv4_addresses': [],
  573. 'ipv6_addresses': [],
  574. 'name': 'Printers',
  575. 'oper_status': True,
  576. 'type': 'SVI',
  577. 'vlan_id': 109,
  578. 'vrf': 'VR-Default'},
  579. 'RCN': {'admin_status': True,
  580. 'enabled_afi': [],
  581. 'ipv4_addresses': [],
  582. 'ipv6_addresses': [],
  583. 'name': 'RCN',
  584. 'oper_status': True,
  585. 'type': 'SVI',
  586. 'vlan_id': 112,
  587. 'vrf': 'VR-Default'},
  588. 'RCN-Angel': {'admin_status': True,
  589. 'enabled_afi': [],
  590. 'ipv4_addresses': [],
  591. 'ipv6_addresses': [],
  592. 'name': 'RCN-Angel',
  593. 'oper_status': True,
  594. 'type': 'SVI',
  595. 'vlan_id': 322,
  596. 'vrf': 'VR-Default'},
  597. 'RCN-M9': {'admin_status': True,
  598. 'enabled_afi': [],
  599. 'ipv4_addresses': [],
  600. 'ipv6_addresses': [],
  601. 'name': 'RCN-M9',
  602. 'oper_status': True,
  603. 'type': 'SVI',
  604. 'vlan_id': 113,
  605. 'vrf': 'VR-Default'},
  606. 'RCN-mcast': {'admin_status': True,
  607. 'enabled_afi': [],
  608. 'ipv4_addresses': [],
  609. 'ipv6_addresses': [],
  610. 'name': 'RCN-mcast',
  611. 'oper_status': True,
  612. 'type': 'SVI',
  613. 'vlan_id': 326,
  614. 'vrf': 'VR-Default'},
  615. 'RTU_HA': {'admin_status': True,
  616. 'enabled_afi': [],
  617. 'ipv4_addresses': [],
  618. 'ipv6_addresses': [],
  619. 'name': 'RTU_HA',
  620. 'oper_status': True,
  621. 'type': 'SVI',
  622. 'vlan_id': 707,
  623. 'vrf': 'VR-Default'},
  624. 'RoilNet': {'admin_status': True,
  625. 'enabled_afi': [],
  626. 'ipv4_addresses': [],
  627. 'ipv6_addresses': [],
  628. 'name': 'RoilNet',
  629. 'oper_status': True,
  630. 'type': 'SVI',
  631. 'vlan_id': 8,
  632. 'vrf': 'VR-Default'},
  633. 'Roilcom_Office': {'admin_status': True,
  634. 'enabled_afi': [],
  635. 'ipv4_addresses': [],
  636. 'ipv6_addresses': [],
  637. 'name': 'Roilcom_Office',
  638. 'oper_status': True,
  639. 'type': 'SVI',
  640. 'vlan_id': 110,
  641. 'vrf': 'VR-Default'},
  642. 'Server_Farm': {'admin_status': True,
  643. 'enabled_afi': [],
  644. 'ipv4_addresses': [],
  645. 'ipv6_addresses': [],
  646. 'name': 'Server_Farm',
  647. 'oper_status': True,
  648. 'type': 'SVI',
  649. 'vlan_id': 117,
  650. 'vrf': 'VR-Default'},
  651. 'Sokol-Mgmt': {'admin_status': True,
  652. 'enabled_afi': ['IPv4'],
  653. 'ipv4_addresses': ['10.23.253.67/27'],
  654. 'ipv6_addresses': [],
  655. 'name': 'Sokol-Mgmt',
  656. 'oper_status': True,
  657. 'type': 'SVI',
  658. 'vlan_id': 720,
  659. 'vrf': 'VR-Default'},
  660. 'Voice': {'admin_status': True,
  661. 'enabled_afi': [],
  662. 'ipv4_addresses': [],
  663. 'ipv6_addresses': [],
  664. 'name': 'Voice',
  665. 'oper_status': True,
  666. 'type': 'SVI',
  667. 'vlan_id': 118,
  668. 'vrf': 'VR-Default'},
  669. 'WiFi_Tunnel': {'admin_status': True,
  670. 'enabled_afi': [],
  671. 'ipv4_addresses': [],
  672. 'ipv6_addresses': [],
  673. 'name': 'WiFi_Tunnel',
  674. 'oper_status': True,
  675. 'type': 'SVI',
  676. 'vlan_id': 7,
  677. 'vrf': 'VR-Default'},
  678. 'ZOO-SOK-RC': {'admin_status': True,
  679. 'enabled_afi': [],
  680. 'ipv4_addresses': [],
  681. 'ipv6_addresses': [],
  682. 'name': 'ZOO-SOK-RC',
  683. 'oper_status': True,
  684. 'type': 'SVI',
  685. 'vlan_id': 712,
  686. 'vrf': 'VR-Default'},
  687. 'gpnsh-cacti': {'admin_status': True,
  688. 'enabled_afi': [],
  689. 'ipv4_addresses': [],
  690. 'ipv6_addresses': [],
  691. 'name': 'gpnsh-cacti',
  692. 'oper_status': True,
  693. 'type': 'SVI',
  694. 'vlan_id': 715,
  695. 'vrf': 'VR-Default'},
  696. 'iSCSI_1': {'admin_status': True,
  697. 'enabled_afi': [],
  698. 'ipv4_addresses': [],
  699. 'ipv6_addresses': [],
  700. 'name': 'iSCSI_1',
  701. 'oper_status': True,
  702. 'type': 'SVI',
  703. 'vlan_id': 99,
  704. 'vrf': 'VR-Default'},
  705. 'iptv-aviatel': {'admin_status': True,
  706. 'enabled_afi': [],
  707. 'ipv4_addresses': [],
  708. 'ipv6_addresses': [],
  709. 'name': 'iptv-aviatel',
  710. 'oper_status': True,
  711. 'type': 'SVI',
  712. 'vlan_id': 901,
  713. 'vrf': 'VR-Default'}}
  714. self = <Script(Thread-5, started 140370057426688)>
  715. match = None
  716. current_vlan =
  717. {'admin_status': True,
  718. 'enabled_afi': [],
  719. 'ipv4_addresses': [],
  720. 'ipv6_addresses': [],
  721. 'name': 'ZOO-SOK-RC',
  722. 'oper_status': True,
  723. 'type': 'SVI',
  724. 'vlan_id': 712,
  725. 'vrf': 'VR-Default'}
  726. ------------------------------------------------------------------------
  727. File: /opt/noc/sa/script/script.py (Line: 422)
  728. Function: guarded_run
  729. 415 return result
  730. 416 except KeyError:
  731. 417 self.debug("Not in call cache: %r, %r" % (self.name,
  732. 418 self.kwargs))
  733. 419 pass
  734. 420 # Calling script body
  735. 421 self._thread_id = thread.get_ident()
  736. 422 ==> result = self.execute(**self.kwargs)
  737. 423 # Enforce interface result checking
  738. 424 for i in self.implements:
  739. 425 result = i.script_clean_result(self.profile, result)
  740. 426 # Cache result when required
  741. 427 if self.cache and self.parent is not None:
  742. 428 self.debug("Write to call cache: %s, %s, %r" % (self.name,
  743. Variables:
  744. i = <noc.sa.interfaces.igetinterfaces.IGetInterfaces object at 0x3698e10>
  745. self = <Script(Thread-5, started 140370057426688)>
  746. ------------------------------------------------------------------------
  747. File: /opt/noc/sa/script/script.py (Line: 445)
  748. Function: run
  749. 438
  750. 439 def run(self):
  751. 440 """Script thread worker method"""
  752. 441 self.debug("Running")
  753. 442 result = None
  754. 443 try:
  755. 444 with self.cancelable():
  756. 445 ==> result = self.guarded_run()
  757. 446 except self.TimeOutError:
  758. 447 self.error("Timed out")
  759. 448 self.e_timeout = True
  760. 449 except CancelledError:
  761. 450 self.error("Cancelled")
  762. 451 self.e_cancel = True
  763. Variables:
  764. self = <Script(Thread-5, started 140370057426688)>
  765. r = ["<type 'exceptions.KeyError'>", "'VR-Default'"]
  766. result = None
  767. v = KeyError('VR-Default',)
  768. tb = <traceback object at 0x3766998>
  769. t = <type 'exceptions.KeyError'>
  770. ------------------------------------------------------------------------
  771. END OF TRACEBACK
  772. 2014-10-22 18:10:02,157 MRT task=71/71 object=RUMSKSOKES001(RUMSKSOKES001) script=Extreme.XOS.get_interfaces status=failed code=14 error=<type 'exceptions.KeyError'>
  773. 'VR-Default'
  774. START OF TRACEBACK
  775. ------------------------------------------------------------------------
  776. File: /opt/noc/sa/profiles/Extreme/XOS/get_interfaces.py (Line: 270)
  777. Function: execute
  778. 263 vrf_name = e['name']
  779. 264 out_vrf = {
  780. 265 'forwarding_instance': vrf_name,
  781. 266 'interfaces': [],
  782. 267 'type': 'ip',
  783. 268 }
  784. 269 ret[vrf_name] = out_vrf
  785. 270 ==> default_vrf = ret['VR-Default']
  786. 271 default_vrf['forwarding_instance'] = 'default' # fix default instance name
  787. 272
  788. 273 # Ports & Sharings
  789. 274 for e in ports_and_sharings.values():
  790. 275 name = e['name']
  791. 276 admin_status = e['admin_status']
  792. Variables:
  793. current_port_name = '26'
  794. current_port =
  795. {'admin_status': True,
  796. 'enabled_afi': ['BRIDGE'],
  797. 'name': '26',
  798. 'oper_status': True,
  799. 'tagged_vlans': [23,
  800. 4,
  801. 906,
  802. 121,
  803. 10,
  804. 99,
  805. 114,
  806. 403,
  807. 12,
  808. 110,
  809. 8,
  810. 707,
  811. 117,
  812. 118],
  813. 'type': 'physical'}
  814. name = 'ZOO-SOK-RC'
  815. sharing_members = {}
  816. expand_interface_range = <function expand_interface_range at 0x37591b8>
  817. description = None
  818. l = "%% Invalid input detected at '^' marker."
  819. ret = {}
  820. mac = '00:04:96:7E:22:3B'
  821. p = '25'
  822. current_master = None
  823. vrf_name = 'VR-Default'
  824. vrfs = {}
  825. v = " ^\n%% Invalid input detected at '^' marker.\n"
  826. ports_and_sharings =
  827. {'1': {'admin_status': True,
  828. 'enabled_afi': ['BRIDGE'],
  829. 'name': '1',
  830. 'oper_status': False,
  831. 'tagged_vlans': [],
  832. 'type': 'physical',
  833. 'untagged_vlan': 4},
  834. '10': {'admin_status': True,
  835. 'description': 'Billing_DB',
  836. 'enabled_afi': ['BRIDGE'],
  837. 'name': '10',
  838. 'oper_status': True,
  839. 'tagged_vlans': [114, 117],
  840. 'type': 'physical',
  841. 'untagged_vlan': 8},
  842. '11': {'admin_status': True,
  843. 'description': 'CarbinBilling',
  844. 'enabled_afi': ['BRIDGE'],
  845. 'name': '11',
  846. 'oper_status': True,
  847. 'tagged_vlans': [],
  848. 'type': 'physical',
  849. 'untagged_vlan': 8},
  850. '12': {'admin_status': True,
  851. 'description': 'Carbon_Internal',
  852. 'enabled_afi': ['BRIDGE'],
  853. 'name': '12',
  854. 'oper_status': True,
  855. 'tagged_vlans': [900, 906],
  856. 'type': 'physical'},
  857. '13': {'admin_status': True,
  858. 'description': 'RS5000-Nikolin-Park',
  859. 'enabled_afi': ['BRIDGE'],
  860. 'name': '13',
  861. 'oper_status': True,
  862. 'tagged_vlans': [],
  863. 'type': 'physical',
  864. 'untagged_vlan': 8},
  865. '14': {'admin_status': True,
  866. 'description': 'FG90-LAN2-RCN',
  867. 'enabled_afi': ['BRIDGE'],
  868. 'name': '14',
  869. 'oper_status': True,
  870. 'tagged_vlans': [],
  871. 'type': 'physical',
  872. 'untagged_vlan': 112},
  873. '15': {'admin_status': True,
  874. 'description': 'FG90-LAN1-Roilcom',
  875. 'enabled_afi': ['BRIDGE'],
  876. 'name': '15',
  877. 'oper_status': True,
  878. 'tagged_vlans': [],
  879. 'type': 'physical',
  880. 'untagged_vlan': 110},
  881. '16': {'admin_status': True,
  882. 'description': 'FG40-WAN1-MosProm',
  883. 'enabled_afi': ['BRIDGE'],
  884. 'name': '16',
  885. 'oper_status': False,
  886. 'tagged_vlans': [],
  887. 'type': 'physical',
  888. 'untagged_vlan': 8},
  889. '17': {'admin_status': True,
  890. 'description': 'DL380G7_Gi3',
  891. 'enabled_afi': ['BRIDGE'],
  892. 'name': '17',
  893. 'oper_status': True,
  894. 'tagged_vlans': [],
  895. 'type': 'physical',
  896. 'untagged_vlan': 99},
  897. '18': {'admin_status': True,
  898. 'description': 'DELL_R510_Gi2',
  899. 'enabled_afi': ['BRIDGE'],
  900. 'name': '18',
  901. 'oper_status': True,
  902. 'tagged_vlans': [],
  903. 'type': 'physical',
  904. 'untagged_vlan': 99},
  905. '19': {'admin_status': True,
  906. 'description': 'MD3220i/0',
  907. 'enabled_afi': ['BRIDGE'],
  908. 'name': '19',
  909. 'oper_status': True,
  910. 'tagged_vlans': [],
  911. 'type': 'physical',
  912. 'untagged_vlan': 99},
  913. '2': {'admin_status': True,
  914. 'description': 'CCR-1036',
  915. 'enabled_afi': ['BRIDGE'],
  916. 'name': '2',
  917. 'oper_status': True,
  918. 'tagged_vlans': [121, 728, 114, 110],
  919. 'type': 'physical',
  920. 'untagged_vlan': 727},
  921. '20': {'admin_status': True,
  922. 'description': 'RB1100AHX2',
  923. 'enabled_afi': ['BRIDGE'],
  924. 'name': '20',
  925. 'oper_status': True,
  926. 'tagged_vlans': [],
  927. 'type': 'physical',
  928. 'untagged_vlan': 8},
  929. '21': {'admin_status': True,
  930. 'description': 'RUMSKSOKES001',
  931. 'enabled_afi': ['BRIDGE'],
  932. 'name': '21',
  933. 'oper_status': True,
  934. 'tagged_vlans': [4,
  935. 906,
  936. 121,
  937. 108,
  938. 4094,
  939. 122,
  940. 901,
  941. 727,
  942. 114,
  943. 302,
  944. 403,
  945. 109,
  946. 112,
  947. 113,
  948. 326,
  949. 110,
  950. 8,
  951. 117,
  952. 720,
  953. 118,
  954. 7],
  955. 'type': 'physical'},
  956. '22': {'admin_status': True,
  957. 'description': 'RUMSKSOKES003',
  958. 'enabled_afi': ['BRIDGE'],
  959. 'name': '22',
  960. 'oper_status': True,
  961. 'tagged_vlans': [4,
  962. 906,
  963. 121,
  964. 108,
  965. 4094,
  966. 122,
  967. 901,
  968. 727,
  969. 114,
  970. 302,
  971. 403,
  972. 109,
  973. 112,
  974. 113,
  975. 326,
  976. 110,
  977. 8,
  978. 117,
  979. 720,
  980. 118,
  981. 7],
  982. 'type': 'physical'},
  983. '23': {'admin_status': True,
  984. 'description': 'RUMSKSOKES005',
  985. 'enabled_afi': ['BRIDGE'],
  986. 'name': '23',
  987. 'oper_status': True,
  988. 'tagged_vlans': [23,
  989. 4,
  990. 900,
  991. 906,
  992. 121,
  993. 108,
  994. 122,
  995. 10,
  996. 99,
  997. 114,
  998. 403,
  999. 12,
  1000. 109,
  1001. 112,
  1002. 322,
  1003. 326,
  1004. 110,
  1005. 8,
  1006. 707,
  1007. 117,
  1008. 118,
  1009. 7],
  1010. 'type': 'physical'},
  1011. '24': {'admin_status': True,
  1012. 'description': 'ELKOD',
  1013. 'enabled_afi': ['BRIDGE'],
  1014. 'name': '24',
  1015. 'oper_status': True,
  1016. 'tagged_vlans': [906, 312, 319],
  1017. 'type': 'physical'},
  1018. '25': {'admin_status': True,
  1019. 'description': 'RUMSKZOOBR001',
  1020. 'enabled_afi': ['BRIDGE'],
  1021. 'name': '25',
  1022. 'oper_status': True,
  1023. 'tagged_vlans': [23,
  1024. 4,
  1025. 900,
  1026. 906,
  1027. 121,
  1028. 312,
  1029. 319,
  1030. 10,
  1031. 901,
  1032. 99,
  1033. 605,
  1034. 727,
  1035. 728,
  1036. 114,
  1037. 302,
  1038. 403,
  1039. 12,
  1040. 322,
  1041. 113,
  1042. 326,
  1043. 110,
  1044. 8,
  1045. 707,
  1046. 117,
  1047. 118,
  1048. 712],
  1049. 'type': 'physical'},
  1050. '26': {'admin_status': True,
  1051. 'enabled_afi': ['BRIDGE'],
  1052. 'name': '26',
  1053. 'oper_status': True,
  1054. 'tagged_vlans': [23,
  1055. 4,
  1056. 906,
  1057. 121,
  1058. 10,
  1059. 99,
  1060. 114,
  1061. 403,
  1062. 12,
  1063. 110,
  1064. 8,
  1065. 707,
  1066. 117,
  1067. 118],
  1068. 'type': 'physical'},
  1069. '3': {'admin_status': True,
  1070. 'description': 'FG90-LAN3-Server',
  1071. 'enabled_afi': ['BRIDGE'],
  1072. 'name': '3',
  1073. 'oper_status': True,
  1074. 'tagged_vlans': [],
  1075. 'type': 'physical',
  1076. 'untagged_vlan': 117},
  1077. '4': {'admin_status': True,
  1078. 'description': 'FG90-WAN2',
  1079. 'enabled_afi': ['BRIDGE'],
  1080. 'name': '4',
  1081. 'oper_status': True,
  1082. 'tagged_vlans': [],
  1083. 'type': 'physical',
  1084. 'untagged_vlan': 712},
  1085. '5': {'admin_status': True,
  1086. 'description': 'FG90-LAN14-WIFI',
  1087. 'enabled_afi': ['BRIDGE'],
  1088. 'name': '5',
  1089. 'oper_status': True,
  1090. 'tagged_vlans': [],
  1091. 'type': 'physical',
  1092. 'untagged_vlan': 7},
  1093. '6': {'admin_status': True,
  1094. 'description': 'FG90-LAN4-Trunk',
  1095. 'enabled_afi': ['BRIDGE'],
  1096. 'name': '6',
  1097. 'oper_status': True,
  1098. 'tagged_vlans': [900, 121, 108, 715, 114, 109, 112, 110, 117, 720],
  1099. 'type': 'physical'},
  1100. '7': {'admin_status': True,
  1101. 'description': 'FG90-WAN1-Inet',
  1102. 'enabled_afi': ['BRIDGE'],
  1103. 'name': '7',
  1104. 'oper_status': True,
  1105. 'tagged_vlans': [],
  1106. 'type': 'physical',
  1107. 'untagged_vlan': 8},
  1108. '8': {'admin_status': True,
  1109. 'description': 'FG90-LAN5-Guest',
  1110. 'enabled_afi': ['BRIDGE'],
  1111. 'name': '8',
  1112. 'oper_status': True,
  1113. 'tagged_vlans': [],
  1114. 'type': 'physical',
  1115. 'untagged_vlan': 122},
  1116. '9': {'admin_status': True,
  1117. 'description': 'DL380G7_Gi1',
  1118. 'enabled_afi': ['BRIDGE'],
  1119. 'name': '9',
  1120. 'oper_status': True,
  1121. 'tagged_vlans': [23,
  1122. 900,
  1123. 906,
  1124. 121,
  1125. 715,
  1126. 122,
  1127. 10,
  1128. 605,
  1129. 114,
  1130. 12,
  1131. 110,
  1132. 8,
  1133. 707,
  1134. 117,
  1135. 118],
  1136. 'type': 'physical'}}
  1137. vlans =
  1138. {'Backbone': {'admin_status': True,
  1139. 'enabled_afi': [],
  1140. 'ipv4_addresses': [],
  1141. 'ipv6_addresses': [],
  1142. 'name': 'Backbone',
  1143. 'oper_status': True,
  1144. 'type': 'SVI',
  1145. 'vlan_id': 23,
  1146. 'vrf': 'VR-Default'},
  1147. 'Billing': {'admin_status': True,
  1148. 'enabled_afi': [],
  1149. 'ipv4_addresses': [],
  1150. 'ipv6_addresses': [],
  1151. 'name': 'Billing',
  1152. 'oper_status': True,
  1153. 'type': 'SVI',
  1154. 'vlan_id': 4,
  1155. 'vrf': 'VR-Default'},
  1156. 'BillingMgmt': {'admin_status': True,
  1157. 'enabled_afi': [],
  1158. 'ipv4_addresses': [],
  1159. 'ipv6_addresses': [],
  1160. 'name': 'BillingMgmt',
  1161. 'oper_status': True,
  1162. 'type': 'SVI',
  1163. 'vlan_id': 900,
  1164. 'vrf': 'VR-Default'},
  1165. 'Carbon_Int': {'admin_status': True,
  1166. 'enabled_afi': [],
  1167. 'ipv4_addresses': [],
  1168. 'ipv6_addresses': [],
  1169. 'name': 'Carbon_Int',
  1170. 'oper_status': True,
  1171. 'type': 'SVI',
  1172. 'vlan_id': 906,
  1173. 'vrf': 'VR-Default'},
  1174. 'Cisco_Phones': {'admin_status': True,
  1175. 'enabled_afi': [],
  1176. 'ipv4_addresses': [],
  1177. 'ipv6_addresses': [],
  1178. 'name': 'Cisco_Phones',
  1179. 'oper_status': True,
  1180. 'type': 'SVI',
  1181. 'vlan_id': 121,
  1182. 'vrf': 'VR-Default'},
  1183. 'DVR': {'admin_status': True,
  1184. 'enabled_afi': [],
  1185. 'ipv4_addresses': [],
  1186. 'ipv6_addresses': [],
  1187. 'name': 'DVR',
  1188. 'oper_status': True,
  1189. 'type': 'SVI',
  1190. 'vlan_id': 108,
  1191. 'vrf': 'VR-Default'},
  1192. 'Default': {'admin_status': True,
  1193. 'enabled_afi': [],
  1194. 'ipv4_addresses': [],
  1195. 'ipv6_addresses': [],
  1196. 'name': 'Default',
  1197. 'oper_status': True,
  1198. 'type': 'SVI',
  1199. 'vlan_id': 1,
  1200. 'vrf': 'VR-Default'},
  1201. 'ECV': {'admin_status': True,
  1202. 'enabled_afi': [],
  1203. 'ipv4_addresses': [],
  1204. 'ipv6_addresses': [],
  1205. 'name': 'ECV',
  1206. 'oper_status': True,
  1207. 'type': 'SVI',
  1208. 'vlan_id': 4094,
  1209. 'vrf': 'VR-Default'},
  1210. 'ElkodInet': {'admin_status': True,
  1211. 'enabled_afi': [],
  1212. 'ipv4_addresses': [],
  1213. 'ipv6_addresses': [],
  1214. 'name': 'ElkodInet',
  1215. 'oper_status': True,
  1216. 'type': 'SVI',
  1217. 'vlan_id': 319,
  1218. 'vrf': 'VR-Default'},
  1219. 'Elkod_VoIP': {'admin_status': True,
  1220. 'enabled_afi': [],
  1221. 'ipv4_addresses': [],
  1222. 'ipv6_addresses': [],
  1223. 'name': 'Elkod_VoIP',
  1224. 'oper_status': True,
  1225. 'type': 'SVI',
  1226. 'vlan_id': 312,
  1227. 'vrf': 'VR-Default'},
  1228. 'Guest': {'admin_status': True,
  1229. 'enabled_afi': [],
  1230. 'ipv4_addresses': [],
  1231. 'ipv6_addresses': [],
  1232. 'name': 'Guest',
  1233. 'oper_status': True,
  1234. 'type': 'SVI',
  1235. 'vlan_id': 122,
  1236. 'vrf': 'VR-Default'},
  1237. 'Hughes_NMS': {'admin_status': True,
  1238. 'enabled_afi': [],
  1239. 'ipv4_addresses': [],
  1240. 'ipv6_addresses': [],
  1241. 'name': 'Hughes_NMS',
  1242. 'oper_status': True,
  1243. 'type': 'SVI',
  1244. 'vlan_id': 10,
  1245. 'vrf': 'VR-Default'},
  1246. 'LifeNews': {'admin_status': True,
  1247. 'enabled_afi': [],
  1248. 'ipv4_addresses': [],
  1249. 'ipv6_addresses': [],
  1250. 'name': 'LifeNews',
  1251. 'oper_status': True,
  1252. 'type': 'SVI',
  1253. 'vlan_id': 605,
  1254. 'vrf': 'VR-Default'},
  1255. 'MagTelecom': {'admin_status': True,
  1256. 'enabled_afi': [],
  1257. 'ipv4_addresses': [],
  1258. 'ipv6_addresses': [],
  1259. 'name': 'MagTelecom',
  1260. 'oper_status': True,
  1261. 'type': 'SVI',
  1262. 'vlan_id': 727,
  1263. 'vrf': 'VR-Default'},
  1264. 'MagTelecom-FiordInet': {'admin_status': True,
  1265. 'enabled_afi': [],
  1266. 'ipv4_addresses': [],
  1267. 'ipv6_addresses': [],
  1268. 'name': 'MagTelecom-FiordInet',
  1269. 'oper_status': True,
  1270. 'type': 'SVI',
  1271. 'vlan_id': 728,
  1272. 'vrf': 'VR-Default'},
  1273. 'Mgmt': {'admin_status': True,
  1274. 'enabled_afi': [],
  1275. 'ipv4_addresses': [],
  1276. 'ipv6_addresses': [],
  1277. 'name': 'Mgmt',
  1278. 'oper_status': True,
  1279. 'type': 'SVI',
  1280. 'vlan_id': 4095,
  1281. 'vrf': 'VR-Mgmt'},
  1282. 'NetLineFW': {'admin_status': True,
  1283. 'enabled_afi': [],
  1284. 'ipv4_addresses': [],
  1285. 'ipv6_addresses': [],
  1286. 'name': 'NetLineFW',
  1287. 'oper_status': True,
  1288. 'type': 'SVI',
  1289. 'vlan_id': 302,
  1290. 'vrf': 'VR-Default'},
  1291. 'NetLineIPTV': {'admin_status': True,
  1292. 'enabled_afi': [],
  1293. 'ipv4_addresses': [],
  1294. 'ipv6_addresses': [],
  1295. 'name': 'NetLineIPTV',
  1296. 'oper_status': True,
  1297. 'type': 'SVI',
  1298. 'vlan_id': 403,
  1299. 'vrf': 'VR-Default'},
  1300. 'Net_Mgmt': {'admin_status': True,
  1301. 'enabled_afi': [],
  1302. 'ipv4_addresses': [],
  1303. 'ipv6_addresses': [],
  1304. 'name': 'Net_Mgmt',
  1305. 'oper_status': True,
  1306. 'type': 'SVI',
  1307. 'vlan_id': 114,
  1308. 'vrf': 'VR-Default'},
  1309. 'PBX_Mgmt': {'admin_status': True,
  1310. 'enabled_afi': [],
  1311. 'ipv4_addresses': [],
  1312. 'ipv6_addresses': [],
  1313. 'name': 'PBX_Mgmt',
  1314. 'oper_status': True,
  1315. 'type': 'SVI',
  1316. 'vlan_id': 12,
  1317. 'vrf': 'VR-Default'},
  1318. 'Printers': {'admin_status': True,
  1319. 'enabled_afi': [],
  1320. 'ipv4_addresses': [],
  1321. 'ipv6_addresses': [],
  1322. 'name': 'Printers',
  1323. 'oper_status': True,
  1324. 'type': 'SVI',
  1325. 'vlan_id': 109,
  1326. 'vrf': 'VR-Default'},
  1327. 'RCN': {'admin_status': True,
  1328. 'enabled_afi': [],
  1329. 'ipv4_addresses': [],
  1330. 'ipv6_addresses': [],
  1331. 'name': 'RCN',
  1332. 'oper_status': True,
  1333. 'type': 'SVI',
  1334. 'vlan_id': 112,
  1335. 'vrf': 'VR-Default'},
  1336. 'RCN-Angel': {'admin_status': True,
  1337. 'enabled_afi': [],
  1338. 'ipv4_addresses': [],
  1339. 'ipv6_addresses': [],
  1340. 'name': 'RCN-Angel',
  1341. 'oper_status': True,
  1342. 'type': 'SVI',
  1343. 'vlan_id': 322,
  1344. 'vrf': 'VR-Default'},
  1345. 'RCN-M9': {'admin_status': True,
  1346. 'enabled_afi': [],
  1347. 'ipv4_addresses': [],
  1348. 'ipv6_addresses': [],
  1349. 'name': 'RCN-M9',
  1350. 'oper_status': True,
  1351. 'type': 'SVI',
  1352. 'vlan_id': 113,
  1353. 'vrf': 'VR-Default'},
  1354. 'RCN-mcast': {'admin_status': True,
  1355. 'enabled_afi': [],
  1356. 'ipv4_addresses': [],
  1357. 'ipv6_addresses': [],
  1358. 'name': 'RCN-mcast',
  1359. 'oper_status': True,
  1360. 'type': 'SVI',
  1361. 'vlan_id': 326,
  1362. 'vrf': 'VR-Default'},
  1363. 'RTU_HA': {'admin_status': True,
  1364. 'enabled_afi': [],
  1365. 'ipv4_addresses': [],
  1366. 'ipv6_addresses': [],
  1367. 'name': 'RTU_HA',
  1368. 'oper_status': True,
  1369. 'type': 'SVI',
  1370. 'vlan_id': 707,
  1371. 'vrf': 'VR-Default'},
  1372. 'RoilNet': {'admin_status': True,
  1373. 'enabled_afi': [],
  1374. 'ipv4_addresses': [],
  1375. 'ipv6_addresses': [],
  1376. 'name': 'RoilNet',
  1377. 'oper_status': True,
  1378. 'type': 'SVI',
  1379. 'vlan_id': 8,
  1380. 'vrf': 'VR-Default'},
  1381. 'Roilcom_Office': {'admin_status': True,
  1382. 'enabled_afi': [],
  1383. 'ipv4_addresses': [],
  1384. 'ipv6_addresses': [],
  1385. 'name': 'Roilcom_Office',
  1386. 'oper_status': True,
  1387. 'type': 'SVI',
  1388. 'vlan_id': 110,
  1389. 'vrf': 'VR-Default'},
  1390. 'Server_Farm': {'admin_status': True,
  1391. 'enabled_afi': [],
  1392. 'ipv4_addresses': [],
  1393. 'ipv6_addresses': [],
  1394. 'name': 'Server_Farm',
  1395. 'oper_status': True,
  1396. 'type': 'SVI',
  1397. 'vlan_id': 117,
  1398. 'vrf': 'VR-Default'},
  1399. 'Sokol-Mgmt': {'admin_status': True,
  1400. 'enabled_afi': ['IPv4'],
  1401. 'ipv4_addresses': ['10.23.253.67/27'],
  1402. 'ipv6_addresses': [],
  1403. 'name': 'Sokol-Mgmt',
  1404. 'oper_status': True,
  1405. 'type': 'SVI',
  1406. 'vlan_id': 720,
  1407. 'vrf': 'VR-Default'},
  1408. 'Voice': {'admin_status': True,
  1409. 'enabled_afi': [],
  1410. 'ipv4_addresses': [],
  1411. 'ipv6_addresses': [],
  1412. 'name': 'Voice',
  1413. 'oper_status': True,
  1414. 'type': 'SVI',
  1415. 'vlan_id': 118,
  1416. 'vrf': 'VR-Default'},
  1417. 'WiFi_Tunnel': {'admin_status': True,
  1418. 'enabled_afi': [],
  1419. 'ipv4_addresses': [],
  1420. 'ipv6_addresses': [],
  1421. 'name': 'WiFi_Tunnel',
  1422. 'oper_status': True,
  1423. 'type': 'SVI',
  1424. 'vlan_id': 7,
  1425. 'vrf': 'VR-Default'},
  1426. 'ZOO-SOK-RC': {'admin_status': True,
  1427. 'enabled_afi': [],
  1428. 'ipv4_addresses': [],
  1429. 'ipv6_addresses': [],
  1430. 'name': 'ZOO-SOK-RC',
  1431. 'oper_status': True,
  1432. 'type': 'SVI',
  1433. 'vlan_id': 712,
  1434. 'vrf': 'VR-Default'},
  1435. 'gpnsh-cacti': {'admin_status': True,
  1436. 'enabled_afi': [],
  1437. 'ipv4_addresses': [],
  1438. 'ipv6_addresses': [],
  1439. 'name': 'gpnsh-cacti',
  1440. 'oper_status': True,
  1441. 'type': 'SVI',
  1442. 'vlan_id': 715,
  1443. 'vrf': 'VR-Default'},
  1444. 'iSCSI_1': {'admin_status': True,
  1445. 'enabled_afi': [],
  1446. 'ipv4_addresses': [],
  1447. 'ipv6_addresses': [],
  1448. 'name': 'iSCSI_1',
  1449. 'oper_status': True,
  1450. 'type': 'SVI',
  1451. 'vlan_id': 99,
  1452. 'vrf': 'VR-Default'},
  1453. 'iptv-aviatel': {'admin_status': True,
  1454. 'enabled_afi': [],
  1455. 'ipv4_addresses': [],
  1456. 'ipv6_addresses': [],
  1457. 'name': 'iptv-aviatel',
  1458. 'oper_status': True,
  1459. 'type': 'SVI',
  1460. 'vlan_id': 901,
  1461. 'vrf': 'VR-Default'}}
  1462. self = <Script(Thread-5, started 140370057426688)>
  1463. match = None
  1464. current_vlan =
  1465. {'admin_status': True,
  1466. 'enabled_afi': [],
  1467. 'ipv4_addresses': [],
  1468. 'ipv6_addresses': [],
  1469. 'name': 'ZOO-SOK-RC',
  1470. 'oper_status': True,
  1471. 'type': 'SVI',
  1472. 'vlan_id': 712,
  1473. 'vrf': 'VR-Default'}
  1474. ------------------------------------------------------------------------
  1475. File: /opt/noc/sa/script/script.py (Line: 422)
  1476. Function: guarded_run
  1477. 415 return result
  1478. 416 except KeyError:
  1479. 417 self.debug("Not in call cache: %r, %r" % (self.name,
  1480. 418 self.kwargs))
  1481. 419 pass
  1482. 420 # Calling script body
  1483. 421 self._thread_id = thread.get_ident()
  1484. 422 ==> result = self.execute(**self.kwargs)
  1485. 423 # Enforce interface result checking
  1486. 424 for i in self.implements:
  1487. 425 result = i.script_clean_result(self.profile, result)
  1488. 426 # Cache result when required
  1489. 427 if self.cache and self.parent is not None:
  1490. 428 self.debug("Write to call cache: %s, %s, %r" % (self.name,
  1491. Variables:
  1492. i = <noc.sa.interfaces.igetinterfaces.IGetInterfaces object at 0x3698e10>
  1493. self = <Script(Thread-5, started 140370057426688)>
  1494. ------------------------------------------------------------------------
  1495. File: /opt/noc/sa/script/script.py (Line: 445)
  1496. Function: run
  1497. 438
  1498. 439 def run(self):
  1499. 440 """Script thread worker method"""
  1500. 441 self.debug("Running")
  1501. 442 result = None
  1502. 443 try:
  1503. 444 with self.cancelable():
  1504. 445 ==> result = self.guarded_run()
  1505. 446 except self.TimeOutError:
  1506. 447 self.error("Timed out")
  1507. 448 self.e_timeout = True
  1508. 449 except CancelledError:
  1509. 450 self.error("Cancelled")
  1510. 451 self.e_cancel = True
  1511. Variables:
  1512. self = <Script(Thread-5, started 140370057426688)>
  1513. r = ["<type 'exceptions.KeyError'>", "'VR-Default'"]
  1514. result = None
  1515. v = KeyError('VR-Default',)
  1516. tb = <traceback object at 0x3766998>
  1517. t = <type 'exceptions.KeyError'>
  1518. ------------------------------------------------------------------------
  1519. END OF TRACEBACK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement