Advertisement
Guest User

Untitled

a guest
Apr 30th, 2015
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 112.83 KB | None | 0 0
  1. 2015-04-30 13:54:44.712143 Running job
  2. 2015-04-30 13:54:44.712848 Running script get_interfaces
  3. 2015-04-30 13:54:56.186428 Running job handler
  4. 2015-04-30 13:54:56.534138 UNHANDLED EXCEPTION (2015-04-30 13:54:56.222813)
  5. BRANCH: develop TIP: c397b9b780df
  6. PROCESS: ./scripts/noc-discovery.py
  7. WORKING DIRECTORY: /opt/noc
  8. EXCEPTION: <class 'bson.errors.InvalidStringData'> strings in documents must be valid UTF-8: 'Mkrm4_uzel_\xb92_10.11.1.248'
  9. START OF TRACEBACK
  10. ------------------------------------------------------------------------
  11. File: lib/python2.7/site-packages/pymongo/collection.py (Line: 551)
  12. Function: update
  13. 544 command['writeConcern'] = options
  14. 545
  15. 546 docs = [SON([('q', spec), ('u', document),
  16. 547 ('multi', multi), ('upsert', upsert)])]
  17. 548
  18. 549 results = message._do_batched_write_command(
  19. 550 self.database.name + '.$cmd', _UPDATE, command,
  20. 551 ==> docs, check_keys, self.uuid_subtype, client)
  21. 552 _check_write_command_response(results)
  22. 553
  23. 554 _, result = results[0]
  24. 555 # Add the updatedExisting field for compatibility
  25. 556 if result.get('n') and 'upserted' not in result:
  26. 557 result['updatedExisting'] = True
  27. Variables:
  28. multi = False
  29. document =
  30. {'$set': {'description': 'Mkrm4_uzel_\xb92_10.11.1.248'},
  31. '$unset': {'profile': 1}}
  32. check_keys = False
  33. docs =
  34. [SON([('q', {'_id': ObjectId('553cd63a1d41c82ae06b1d2d')}), ('u', {'$set': {'description': 'Mkrm4_uzel_\xb92_10.11.1.248'}, '$unset': {'profile': 1}}), ('multi', False), ('upsert', True)])]
  35. self =
  36. Collection(Database(MongoClient('localhost', 27017), u'noc'), u'noc.interfaces')
  37. safe = True
  38. spec = {'_id': ObjectId('553cd63a1d41c82ae06b1d2d')}
  39. client = MongoClient('localhost', 27017)
  40. command = SON([('update', u'noc.interfaces'), ('writeConcern', {'w': 1})])
  41. kwargs = {'w': 1}
  42. upsert = True
  43. options = {'w': 1}
  44. manipulate = False
  45. first = '$set'
  46. ------------------------------------------------------------------------
  47. File: lib/python2.7/site-packages/mongoengine/document.py (Line: 339)
  48. Function: save
  49. 332 if updates:
  50. 333 update_query["$set"] = updates
  51. 334 if removals:
  52. 335 update_query["$unset"] = removals
  53. 336 if updates or removals:
  54. 337 upsert = save_condition is None
  55. 338 last_error = collection.update(select_dict, update_query,
  56. 339 ==> upsert=upsert, **write_concern)
  57. 340 created = is_new_object(last_error)
  58. 341
  59. 342 if cascade is None:
  60. 343 cascade = self._meta.get(
  61. 344 'cascade', False) or cascade_kwargs is not None
  62. 345
  63. Variables:
  64. removals = {'profile': 1}
  65. clean = True
  66. is_new_object = <function is_new_object at 0x7f076e817938>
  67. force_insert = False
  68. select_dict = {'_id': ObjectId('553cd63a1d41c82ae06b1d2d')}
  69. doc =
  70. SON([('_id', ObjectId('553cd63a1d41c82ae06b1d2d')), ('managed_object', 1300), ('name', u'1:1'), ('type', u'physical'), ('description', 'Mkrm4_uzel_\xb92_10.11.1.248'), ('mac', u'34:08:04:C4:C4:92'), ('enabled_protocols', []), ('profile_locked', False), ('technologies', [])])
  71. self = <Interface: 10.11.1.199: 1:1>
  72. created = False
  73. _refs = None
  74. shard_key = ()
  75. object_id = ObjectId('553cd63a1d41c82ae06b1d2d')
  76. cascade = None
  77. updates = {'description': 'Mkrm4_uzel_\xb92_10.11.1.248'}
  78. cascade_kwargs = None
  79. kwargs = {}
  80. collection =
  81. Collection(Database(MongoClient('localhost', 27017), u'noc'), u'noc.interfaces')
  82. validate = True
  83. save_condition = None
  84. write_concern = {'w': 1}
  85. update_query =
  86. {'$set': {'description': 'Mkrm4_uzel_\xb92_10.11.1.248'},
  87. '$unset': {'profile': 1}}
  88. upsert = True
  89. ------------------------------------------------------------------------
  90. File: inv/models/interface.py (Line: 77)
  91. Function: save
  92. 70 def __unicode__(self):
  93. 71 return u"%s: %s" % (self.managed_object.name, self.name)
  94. 72
  95. 73 def save(self, *args, **kwargs):
  96. 74 self.name = self.managed_object.profile.convert_interface_name(self.name)
  97. 75 if self.mac:
  98. 76 self.mac = MACAddressParameter().clean(self.mac)
  99. 77 ==> super(Interface, self).save(*args, **kwargs)
  100. 78
  101. 79 def delete(self, *args, **kwargs):
  102. 80 # Remove all subinterfaces
  103. 81 for si in self.subinterface_set.all():
  104. 82 si.delete()
  105. 83 # Unlink
  106. Variables:
  107. self = <Interface: 10.11.1.199: 1:1>
  108. args = ()
  109. kwargs = {}
  110. ------------------------------------------------------------------------
  111. File: inv/discovery/reports/base.py (Line: 65)
  112. Function: update_if_changed
  113. 58 if v != vv:
  114. 59 if type(v) != int or not hasattr(vv, "id") or v != vv.id:
  115. 60 if k in ignore_empty and (v is None or v == ""):
  116. 61 continue
  117. 62 setattr(obj, k, v)
  118. 63 changes += [(k, v)]
  119. 64 if changes:
  120. 65 ==> obj.save()
  121. 66 return changes
  122. 67
  123. 68 def log_changes(self, msg, changes):
  124. 69 """
  125. 70 Log changes
  126. 71 :param msg: Message
  127. Variables:
  128. obj = <Interface: 10.11.1.199: 1:1>
  129. k = 'type'
  130. ignore_empty = ['ifindex']
  131. values =
  132. {'aggregated_interface': None,
  133. 'description': 'Mkrm4_uzel_\xb92_10.11.1.248',
  134. 'enabled_protocols': [],
  135. 'ifindex': None,
  136. 'mac': '34:08:04:C4:C4:92',
  137. 'type': 'physical'}
  138. vv = u'physical'
  139. v = 'physical'
  140. changes = [('description', 'Mkrm4_uzel_\xb92_10.11.1.248')]
  141. self =
  142. <noc.inv.discovery.reports.interfacereport.InterfaceReport object at 0x7f0765095590>
  143. ------------------------------------------------------------------------
  144. File: inv/discovery/reports/interfacereport.py (Line: 143)
  145. Function: submit_interface
  146. 136 changes = self.update_if_changed(iface, {
  147. 137 "type": type,
  148. 138 "mac": mac,
  149. 139 "description": description,
  150. 140 "aggregated_interface": aggregated_interface,
  151. 141 "enabled_protocols": enabled_protocols,
  152. 142 "ifindex": ifindex
  153. 143 ==> }, ignore_empty=["ifindex"])
  154. 144 self.log_changes("Interface '%s' has been changed" % name,
  155. 145 changes)
  156. 146 else:
  157. 147 # Create interface
  158. 148 self.info("Creating interface '%s'" % name)
  159. 149 iface = Interface(
  160. Variables:
  161. iface = <Interface: 10.11.1.199: 1:1>
  162. description = 'Mkrm4_uzel_\xb92_10.11.1.248'
  163. enabled_protocols = []
  164. self =
  165. <noc.inv.discovery.reports.interfacereport.InterfaceReport object at 0x7f0765095590>
  166. mac = '34:08:04:C4:C4:92'
  167. aggregated_interface = None
  168. ifindex = None
  169. type = 'physical'
  170. name = '1:1'
  171. ------------------------------------------------------------------------
  172. File: inv/discovery/jobs/interface_discovery.py (Line: 81)
  173. Function: handler
  174. 74 continue
  175. 75 # Submit discovered interface
  176. 76 iface = self.report.submit_interface(
  177. 77 name=i["name"], type=i["type"], mac=i.get("mac"),
  178. 78 description=i.get("description"),
  179. 79 aggregated_interface=agg,
  180. 80 enabled_protocols=i.get("enabled_protocols", []),
  181. 81 ==> ifindex=i.get("snmp_ifindex")
  182. 82 )
  183. 83 icache[i["name"]] = iface
  184. 84 # Submit subinterfaces
  185. 85 for si in i["subinterfaces"]:
  186. 86 self.report.submit_subinterface(
  187. 87 forwarding_instance=forwarding_instance,
  188. Variables:
  189. icache = {}
  190. ifaces =
  191. [{'admin_status': True,
  192. 'description': 'Mkrm4_uzel_\xb92_10.11.1.248',
  193. 'enabled_protocols': [],
  194. 'mac': '34:08:04:C4:C4:92',
  195. 'name': '1:1',
  196. 'oper_status': True,
  197. 'subinterfaces': [{'admin_status': True,
  198. 'description': 'Mkrm4_uzel_\xb92_10.11.1.248',
  199. 'enabled_afi': ['BRIDGE'],
  200. 'mac': '34:08:04:C4:C4:92',
  201. 'name': '1:1',
  202. 'oper_status': True,
  203. 'tagged_vlans': [1022,
  204. 1111,
  205. 1467,
  206. 1468,
  207. 1469,
  208. 1470,
  209. 1471,
  210. 1533]}],
  211. 'type': 'physical'},
  212. {'admin_status': True,
  213. 'description': 'Mkrm4_7_etazhka_\xb92_10.11.1.223',
  214. 'enabled_protocols': [],
  215. 'mac': '34:08:04:C4:C4:93',
  216. 'name': '1:2',
  217. 'oper_status': True,
  218. 'subinterfaces': [{'admin_status': True,
  219. 'description': 'Mkrm4_7_etazhka_\xb92_10.11.1.223',
  220. 'enabled_afi': ['BRIDGE'],
  221. 'mac': '34:08:04:C4:C4:93',
  222. 'name': '1:2',
  223. 'oper_status': True,
  224. 'tagged_vlans': [1022,
  225. 1111,
  226. 1467,
  227. 1468,
  228. 1469,
  229. 1470,
  230. 1471,
  231. 1533]}],
  232. 'type': 'physical'},
  233. {'admin_status': True,
  234. 'description': 'Mkrm4_4_etazhka_5v_10.11.1.220',
  235. 'enabled_protocols': [],
  236. 'mac': '34:08:04:C4:C4:94',
  237. 'name': '1:3',
  238. 'oper_status': True,
  239. 'subinterfaces': [{'admin_status': True,
  240. 'description': 'Mkrm4_4_etazhka_5v_10.11.1.220',
  241. 'enabled_afi': ['BRIDGE'],
  242. 'mac': '34:08:04:C4:C4:94',
  243. 'name': '1:3',
  244. 'oper_status': True,
  245. 'tagged_vlans': [1022,
  246. 1111,
  247. 1467,
  248. 1468,
  249. 1469,
  250. 1470,
  251. 1471,
  252. 1533]}],
  253. 'type': 'physical'},
  254. {'admin_status': True,
  255. 'description': 'Mkrm4_uzel_\xb93_10.11.1.246',
  256. 'enabled_protocols': [],
  257. 'mac': '34:08:04:C4:C4:95',
  258. 'name': '1:4',
  259. 'oper_status': True,
  260. 'subinterfaces': [{'admin_status': True,
  261. 'description': 'Mkrm4_uzel_\xb93_10.11.1.246',
  262. 'enabled_afi': ['BRIDGE'],
  263. 'mac': '34:08:04:C4:C4:95',
  264. 'name': '1:4',
  265. 'oper_status': True,
  266. 'tagged_vlans': [1022,
  267. 1111,
  268. 1467,
  269. 1468,
  270. 1469,
  271. 1470,
  272. 1471,
  273. 1533,
  274. 1642]}],
  275. 'type': 'physical'},
  276. {'admin_status': True,
  277. 'enabled_protocols': [],
  278. 'mac': '34:08:04:C4:C4:96',
  279. 'name': '1:5',
  280. 'oper_status': True,
  281. 'subinterfaces': [{'admin_status': True,
  282. 'enabled_afi': ['BRIDGE'],
  283. 'mac': '34:08:04:C4:C4:96',
  284. 'name': '1:5',
  285. 'oper_status': True,
  286. 'tagged_vlans': [1022,
  287. 1111,
  288. 1467,
  289. 1468,
  290. 1469,
  291. 1470,
  292. 1471,
  293. 1533]}],
  294. 'type': 'physical'},
  295. {'admin_status': True,
  296. 'enabled_protocols': [],
  297. 'mac': '34:08:04:C4:C4:97',
  298. 'name': '1:6',
  299. 'oper_status': False,
  300. 'subinterfaces': [{'admin_status': True,
  301. 'enabled_afi': ['BRIDGE'],
  302. 'mac': '34:08:04:C4:C4:97',
  303. 'name': '1:6',
  304. 'oper_status': False,
  305. 'tagged_vlans': [1022,
  306. 1111,
  307. 1467,
  308. 1468,
  309. 1469,
  310. 1470,
  311. 1471,
  312. 1533]}],
  313. 'type': 'physical'},
  314. {'admin_status': True,
  315. 'enabled_protocols': [],
  316. 'mac': '34:08:04:C4:C4:98',
  317. 'name': '1:7',
  318. 'oper_status': False,
  319. 'subinterfaces': [{'admin_status': True,
  320. 'enabled_afi': ['BRIDGE'],
  321. 'mac': '34:08:04:C4:C4:98',
  322. 'name': '1:7',
  323. 'oper_status': False,
  324. 'tagged_vlans': [1022,
  325. 1111,
  326. 1467,
  327. 1468,
  328. 1469,
  329. 1470,
  330. 1471,
  331. 1533]}],
  332. 'type': 'physical'},
  333. {'admin_status': True,
  334. 'description': '2_komm_10.11.1.221',
  335. 'enabled_protocols': [],
  336. 'mac': '34:08:04:C4:C4:99',
  337. 'name': '1:8',
  338. 'oper_status': True,
  339. 'subinterfaces': [{'admin_status': True,
  340. 'description': '2_komm_10.11.1.221',
  341. 'enabled_afi': ['BRIDGE'],
  342. 'mac': '34:08:04:C4:C4:99',
  343. 'name': '1:8',
  344. 'oper_status': True,
  345. 'tagged_vlans': [1022,
  346. 1111,
  347. 1467,
  348. 1468,
  349. 1469,
  350. 1470,
  351. 1471,
  352. 1533]}],
  353. 'type': 'physical'},
  354. {'admin_status': True,
  355. 'enabled_protocols': [],
  356. 'mac': '34:08:04:C4:C4:9A',
  357. 'name': '1:9',
  358. 'oper_status': False,
  359. 'subinterfaces': [{'admin_status': True,
  360. 'enabled_afi': ['BRIDGE'],
  361. 'mac': '34:08:04:C4:C4:9A',
  362. 'name': '1:9',
  363. 'oper_status': False,
  364. 'tagged_vlans': [1022,
  365. 1111,
  366. 1467,
  367. 1468,
  368. 1469,
  369. 1470,
  370. 1471,
  371. 1533]}],
  372. 'type': 'physical'},
  373. {'admin_status': True,
  374. 'enabled_protocols': [],
  375. 'mac': '34:08:04:C4:C4:9B',
  376. 'name': '1:10',
  377. 'oper_status': False,
  378. 'subinterfaces': [{'admin_status': True,
  379. 'enabled_afi': ['BRIDGE'],
  380. 'mac': '34:08:04:C4:C4:9B',
  381. 'name': '1:10',
  382. 'oper_status': False,
  383. 'tagged_vlans': [1022,
  384. 1111,
  385. 1467,
  386. 1468,
  387. 1469,
  388. 1470,
  389. 1471,
  390. 1533]}],
  391. 'type': 'physical'},
  392. {'admin_status': True,
  393. 'enabled_protocols': [],
  394. 'mac': '34:08:04:C4:C4:9C',
  395. 'name': '1:11',
  396. 'oper_status': False,
  397. 'subinterfaces': [{'admin_status': True,
  398. 'enabled_afi': ['BRIDGE'],
  399. 'mac': '34:08:04:C4:C4:9C',
  400. 'name': '1:11',
  401. 'oper_status': False,
  402. 'tagged_vlans': [1022,
  403. 1111,
  404. 1467,
  405. 1468,
  406. 1469,
  407. 1470,
  408. 1471,
  409. 1533]}],
  410. 'type': 'physical'},
  411. {'admin_status': True,
  412. 'enabled_protocols': [],
  413. 'mac': '34:08:04:C4:C4:9D',
  414. 'name': '1:12',
  415. 'oper_status': False,
  416. 'subinterfaces': [{'admin_status': True,
  417. 'enabled_afi': ['BRIDGE'],
  418. 'mac': '34:08:04:C4:C4:9D',
  419. 'name': '1:12',
  420. 'oper_status': False,
  421. 'tagged_vlans': [1022,
  422. 1111,
  423. 1467,
  424. 1468,
  425. 1469,
  426. 1470,
  427. 1471,
  428. 1533]}],
  429. 'type': 'physical'},
  430. {'admin_status': True,
  431. 'enabled_protocols': [],
  432. 'mac': '34:08:04:C4:C4:9E',
  433. 'name': '1:13',
  434. 'oper_status': False,
  435. 'subinterfaces': [{'admin_status': True,
  436. 'enabled_afi': ['BRIDGE'],
  437. 'mac': '34:08:04:C4:C4:9E',
  438. 'name': '1:13',
  439. 'oper_status': False,
  440. 'tagged_vlans': [1022,
  441. 1111,
  442. 1467,
  443. 1468,
  444. 1469,
  445. 1470,
  446. 1471,
  447. 1533]}],
  448. 'type': 'physical'},
  449. {'admin_status': True,
  450. 'enabled_protocols': [],
  451. 'mac': '34:08:04:C4:C4:9F',
  452. 'name': '1:14',
  453. 'oper_status': False,
  454. 'subinterfaces': [{'admin_status': True,
  455. 'enabled_afi': ['BRIDGE'],
  456. 'mac': '34:08:04:C4:C4:9F',
  457. 'name': '1:14',
  458. 'oper_status': False,
  459. 'tagged_vlans': [1022,
  460. 1111,
  461. 1467,
  462. 1468,
  463. 1469,
  464. 1470,
  465. 1471,
  466. 1533]}],
  467. 'type': 'physical'},
  468. {'admin_status': True,
  469. 'enabled_protocols': [],
  470. 'mac': '34:08:04:C4:C4:A0',
  471. 'name': '1:15',
  472. 'oper_status': False,
  473. 'subinterfaces': [{'admin_status': True,
  474. 'enabled_afi': ['BRIDGE'],
  475. 'mac': '34:08:04:C4:C4:A0',
  476. 'name': '1:15',
  477. 'oper_status': False,
  478. 'tagged_vlans': [1022,
  479. 1111,
  480. 1467,
  481. 1468,
  482. 1469,
  483. 1470,
  484. 1471,
  485. 1533]}],
  486. 'type': 'physical'},
  487. {'admin_status': True,
  488. 'enabled_protocols': [],
  489. 'mac': '34:08:04:C4:C4:A1',
  490. 'name': '1:16',
  491. 'oper_status': False,
  492. 'subinterfaces': [{'admin_status': True,
  493. 'enabled_afi': ['BRIDGE'],
  494. 'mac': '34:08:04:C4:C4:A1',
  495. 'name': '1:16',
  496. 'oper_status': False,
  497. 'tagged_vlans': [1022,
  498. 1111,
  499. 1467,
  500. 1468,
  501. 1469,
  502. 1470,
  503. 1471,
  504. 1533]}],
  505. 'type': 'physical'},
  506. {'admin_status': True,
  507. 'enabled_protocols': [],
  508. 'mac': '34:08:04:C4:C4:A2',
  509. 'name': '1:17',
  510. 'oper_status': False,
  511. 'subinterfaces': [{'admin_status': True,
  512. 'enabled_afi': ['BRIDGE'],
  513. 'mac': '34:08:04:C4:C4:A2',
  514. 'name': '1:17',
  515. 'oper_status': False,
  516. 'tagged_vlans': [1022,
  517. 1111,
  518. 1467,
  519. 1468,
  520. 1469,
  521. 1470,
  522. 1471,
  523. 1533]}],
  524. 'type': 'physical'},
  525. {'admin_status': True,
  526. 'enabled_protocols': [],
  527. 'mac': '34:08:04:C4:C4:A3',
  528. 'name': '1:18',
  529. 'oper_status': False,
  530. 'subinterfaces': [{'admin_status': True,
  531. 'enabled_afi': ['BRIDGE'],
  532. 'mac': '34:08:04:C4:C4:A3',
  533. 'name': '1:18',
  534. 'oper_status': False,
  535. 'tagged_vlans': [1022,
  536. 1111,
  537. 1467,
  538. 1468,
  539. 1469,
  540. 1470,
  541. 1471,
  542. 1533]}],
  543. 'type': 'physical'},
  544. {'admin_status': True,
  545. 'enabled_protocols': [],
  546. 'mac': '34:08:04:C4:C4:A4',
  547. 'name': '1:19',
  548. 'oper_status': False,
  549. 'subinterfaces': [{'admin_status': True,
  550. 'enabled_afi': ['BRIDGE'],
  551. 'mac': '34:08:04:C4:C4:A4',
  552. 'name': '1:19',
  553. 'oper_status': False,
  554. 'tagged_vlans': [1022,
  555. 1111,
  556. 1467,
  557. 1468,
  558. 1469,
  559. 1470,
  560. 1471,
  561. 1533]}],
  562. 'type': 'physical'},
  563. {'admin_status': True,
  564. 'enabled_protocols': [],
  565. 'mac': '34:08:04:C4:C4:A5',
  566. 'name': '1:20',
  567. 'oper_status': False,
  568. 'subinterfaces': [{'admin_status': True,
  569. 'enabled_afi': ['BRIDGE'],
  570. 'mac': '34:08:04:C4:C4:A5',
  571. 'name': '1:20',
  572. 'oper_status': False,
  573. 'tagged_vlans': [1022,
  574. 1111,
  575. 1467,
  576. 1468,
  577. 1469,
  578. 1470,
  579. 1471,
  580. 1533]}],
  581. 'type': 'physical'},
  582. {'admin_status': True,
  583. 'enabled_protocols': [],
  584. 'mac': '34:08:04:C4:C4:A6',
  585. 'name': '1:21',
  586. 'oper_status': False,
  587. 'subinterfaces': [{'admin_status': True,
  588. 'enabled_afi': ['BRIDGE'],
  589. 'mac': '34:08:04:C4:C4:A6',
  590. 'name': '1:21',
  591. 'oper_status': False,
  592. 'tagged_vlans': [1022,
  593. 1111,
  594. 1467,
  595. 1468,
  596. 1469,
  597. 1470,
  598. 1471,
  599. 1533]}],
  600. 'type': 'physical'},
  601. {'admin_status': True,
  602. 'enabled_protocols': [],
  603. 'mac': '34:08:04:C4:C4:A7',
  604. 'name': '1:22',
  605. 'oper_status': False,
  606. 'subinterfaces': [{'admin_status': True,
  607. 'enabled_afi': ['BRIDGE'],
  608. 'mac': '34:08:04:C4:C4:A7',
  609. 'name': '1:22',
  610. 'oper_status': False,
  611. 'tagged_vlans': [1022,
  612. 1111,
  613. 1467,
  614. 1468,
  615. 1469,
  616. 1470,
  617. 1471,
  618. 1533]}],
  619. 'type': 'physical'},
  620. {'admin_status': True,
  621. 'enabled_protocols': [],
  622. 'mac': '34:08:04:C4:C4:A8',
  623. 'name': '1:23',
  624. 'oper_status': False,
  625. 'subinterfaces': [{'admin_status': True,
  626. 'enabled_afi': ['BRIDGE'],
  627. 'mac': '34:08:04:C4:C4:A8',
  628. 'name': '1:23',
  629. 'oper_status': False,
  630. 'tagged_vlans': [1022,
  631. 1111,
  632. 1467,
  633. 1468,
  634. 1469,
  635. 1470,
  636. 1471,
  637. 1533]}],
  638. 'type': 'physical'},
  639. {'admin_status': True,
  640. 'description': 'Uplink',
  641. 'enabled_protocols': [],
  642. 'mac': '34:08:04:C4:C4:A9',
  643. 'name': '1:24',
  644. 'oper_status': True,
  645. 'subinterfaces': [{'admin_status': True,
  646. 'description': 'Uplink',
  647. 'enabled_afi': ['BRIDGE'],
  648. 'mac': '34:08:04:C4:C4:A9',
  649. 'name': '1:24',
  650. 'oper_status': True,
  651. 'tagged_vlans': [1022,
  652. 1111,
  653. 1467,
  654. 1468,
  655. 1469,
  656. 1470,
  657. 1471,
  658. 1533,
  659. 1642]}],
  660. 'type': 'physical'},
  661. {'admin_status': True,
  662. 'mac': '34:08:04:C4:C4:91',
  663. 'name': 'System',
  664. 'oper_status': True,
  665. 'subinterfaces': [{'admin_status': True,
  666. 'enabled_afi': ['IPv4'],
  667. 'enabled_protocols': [],
  668. 'ipv4_addresses': ['10.11.1.199/24'],
  669. 'mac': '34:08:04:C4:C4:91',
  670. 'name': 'System',
  671. 'oper_status': True,
  672. 'vlan_ids': [1111]}],
  673. 'type': 'SVI'}]
  674. agg = None
  675. self =
  676. <noc.inv.discovery.jobs.interface_discovery.InterfaceDiscoveryJob object at 0x7f0764441ed0>
  677. object = <ManagedObject: 10.11.1.199>
  678. i =
  679. {'admin_status': True,
  680. 'description': 'Mkrm4_uzel_\xb92_10.11.1.248',
  681. 'enabled_protocols': [],
  682. 'mac': '34:08:04:C4:C4:92',
  683. 'name': '1:1',
  684. 'oper_status': True,
  685. 'subinterfaces': [{'admin_status': True,
  686. 'description': 'Mkrm4_uzel_\xb92_10.11.1.248',
  687. 'enabled_afi': ['BRIDGE'],
  688. 'mac': '34:08:04:C4:C4:92',
  689. 'name': '1:1',
  690. 'oper_status': True,
  691. 'tagged_vlans': [1022,
  692. 1111,
  693. 1467,
  694. 1468,
  695. 1469,
  696. 1470,
  697. 1471,
  698. 1533]}],
  699. 'type': 'physical'}
  700. result =
  701. [{'forwarding_instance': 'default',
  702. 'interfaces': [{'admin_status': True,
  703. 'description': 'Mkrm4_uzel_\xb92_10.11.1.248',
  704. 'enabled_protocols': [],
  705. 'mac': '34:08:04:C4:C4:92',
  706. 'name': '1:1',
  707. 'oper_status': True,
  708. 'subinterfaces': [{'admin_status': True,
  709. 'description': 'Mkrm4_uzel_\xb92_10.11.1.248',
  710. 'enabled_afi': ['BRIDGE'],
  711. 'mac': '34:08:04:C4:C4:92',
  712. 'name': '1:1',
  713. 'oper_status': True,
  714. 'tagged_vlans': [1022,
  715. 1111,
  716. 1467,
  717. 1468,
  718. 1469,
  719. 1470,
  720. 1471,
  721. 1533]}],
  722. 'type': 'physical'},
  723. {'admin_status': True,
  724. 'description': 'Mkrm4_7_etazhka_\xb92_10.11.1.223',
  725. 'enabled_protocols': [],
  726. 'mac': '34:08:04:C4:C4:93',
  727. 'name': '1:2',
  728. 'oper_status': True,
  729. 'subinterfaces': [{'admin_status': True,
  730. 'description': 'Mkrm4_7_etazhka_\xb92_10.11.1.223',
  731. 'enabled_afi': ['BRIDGE'],
  732. 'mac': '34:08:04:C4:C4:93',
  733. 'name': '1:2',
  734. 'oper_status': True,
  735. 'tagged_vlans': [1022,
  736. 1111,
  737. 1467,
  738. 1468,
  739. 1469,
  740. 1470,
  741. 1471,
  742. 1533]}],
  743. 'type': 'physical'},
  744. {'admin_status': True,
  745. 'description': 'Mkrm4_4_etazhka_5v_10.11.1.220',
  746. 'enabled_protocols': [],
  747. 'mac': '34:08:04:C4:C4:94',
  748. 'name': '1:3',
  749. 'oper_status': True,
  750. 'subinterfaces': [{'admin_status': True,
  751. 'description': 'Mkrm4_4_etazhka_5v_10.11.1.220',
  752. 'enabled_afi': ['BRIDGE'],
  753. 'mac': '34:08:04:C4:C4:94',
  754. 'name': '1:3',
  755. 'oper_status': True,
  756. 'tagged_vlans': [1022,
  757. 1111,
  758. 1467,
  759. 1468,
  760. 1469,
  761. 1470,
  762. 1471,
  763. 1533]}],
  764. 'type': 'physical'},
  765. {'admin_status': True,
  766. 'description': 'Mkrm4_uzel_\xb93_10.11.1.246',
  767. 'enabled_protocols': [],
  768. 'mac': '34:08:04:C4:C4:95',
  769. 'name': '1:4',
  770. 'oper_status': True,
  771. 'subinterfaces': [{'admin_status': True,
  772. 'description': 'Mkrm4_uzel_\xb93_10.11.1.246',
  773. 'enabled_afi': ['BRIDGE'],
  774. 'mac': '34:08:04:C4:C4:95',
  775. 'name': '1:4',
  776. 'oper_status': True,
  777. 'tagged_vlans': [1022,
  778. 1111,
  779. 1467,
  780. 1468,
  781. 1469,
  782. 1470,
  783. 1471,
  784. 1533,
  785. 1642]}],
  786. 'type': 'physical'},
  787. {'admin_status': True,
  788. 'enabled_protocols': [],
  789. 'mac': '34:08:04:C4:C4:96',
  790. 'name': '1:5',
  791. 'oper_status': True,
  792. 'subinterfaces': [{'admin_status': True,
  793. 'enabled_afi': ['BRIDGE'],
  794. 'mac': '34:08:04:C4:C4:96',
  795. 'name': '1:5',
  796. 'oper_status': True,
  797. 'tagged_vlans': [1022,
  798. 1111,
  799. 1467,
  800. 1468,
  801. 1469,
  802. 1470,
  803. 1471,
  804. 1533]}],
  805. 'type': 'physical'},
  806. {'admin_status': True,
  807. 'enabled_protocols': [],
  808. 'mac': '34:08:04:C4:C4:97',
  809. 'name': '1:6',
  810. 'oper_status': False,
  811. 'subinterfaces': [{'admin_status': True,
  812. 'enabled_afi': ['BRIDGE'],
  813. 'mac': '34:08:04:C4:C4:97',
  814. 'name': '1:6',
  815. 'oper_status': False,
  816. 'tagged_vlans': [1022,
  817. 1111,
  818. 1467,
  819. 1468,
  820. 1469,
  821. 1470,
  822. 1471,
  823. 1533]}],
  824. 'type': 'physical'},
  825. {'admin_status': True,
  826. 'enabled_protocols': [],
  827. 'mac': '34:08:04:C4:C4:98',
  828. 'name': '1:7',
  829. 'oper_status': False,
  830. 'subinterfaces': [{'admin_status': True,
  831. 'enabled_afi': ['BRIDGE'],
  832. 'mac': '34:08:04:C4:C4:98',
  833. 'name': '1:7',
  834. 'oper_status': False,
  835. 'tagged_vlans': [1022,
  836. 1111,
  837. 1467,
  838. 1468,
  839. 1469,
  840. 1470,
  841. 1471,
  842. 1533]}],
  843. 'type': 'physical'},
  844. {'admin_status': True,
  845. 'description': '2_komm_10.11.1.221',
  846. 'enabled_protocols': [],
  847. 'mac': '34:08:04:C4:C4:99',
  848. 'name': '1:8',
  849. 'oper_status': True,
  850. 'subinterfaces': [{'admin_status': True,
  851. 'description': '2_komm_10.11.1.221',
  852. 'enabled_afi': ['BRIDGE'],
  853. 'mac': '34:08:04:C4:C4:99',
  854. 'name': '1:8',
  855. 'oper_status': True,
  856. 'tagged_vlans': [1022,
  857. 1111,
  858. 1467,
  859. 1468,
  860. 1469,
  861. 1470,
  862. 1471,
  863. 1533]}],
  864. 'type': 'physical'},
  865. {'admin_status': True,
  866. 'enabled_protocols': [],
  867. 'mac': '34:08:04:C4:C4:9A',
  868. 'name': '1:9',
  869. 'oper_status': False,
  870. 'subinterfaces': [{'admin_status': True,
  871. 'enabled_afi': ['BRIDGE'],
  872. 'mac': '34:08:04:C4:C4:9A',
  873. 'name': '1:9',
  874. 'oper_status': False,
  875. 'tagged_vlans': [1022,
  876. 1111,
  877. 1467,
  878. 1468,
  879. 1469,
  880. 1470,
  881. 1471,
  882. 1533]}],
  883. 'type': 'physical'},
  884. {'admin_status': True,
  885. 'enabled_protocols': [],
  886. 'mac': '34:08:04:C4:C4:9B',
  887. 'name': '1:10',
  888. 'oper_status': False,
  889. 'subinterfaces': [{'admin_status': True,
  890. 'enabled_afi': ['BRIDGE'],
  891. 'mac': '34:08:04:C4:C4:9B',
  892. 'name': '1:10',
  893. 'oper_status': False,
  894. 'tagged_vlans': [1022,
  895. 1111,
  896. 1467,
  897. 1468,
  898. 1469,
  899. 1470,
  900. 1471,
  901. 1533]}],
  902. 'type': 'physical'},
  903. {'admin_status': True,
  904. 'enabled_protocols': [],
  905. 'mac': '34:08:04:C4:C4:9C',
  906. 'name': '1:11',
  907. 'oper_status': False,
  908. 'subinterfaces': [{'admin_status': True,
  909. 'enabled_afi': ['BRIDGE'],
  910. 'mac': '34:08:04:C4:C4:9C',
  911. 'name': '1:11',
  912. 'oper_status': False,
  913. 'tagged_vlans': [1022,
  914. 1111,
  915. 1467,
  916. 1468,
  917. 1469,
  918. 1470,
  919. 1471,
  920. 1533]}],
  921. 'type': 'physical'},
  922. {'admin_status': True,
  923. 'enabled_protocols': [],
  924. 'mac': '34:08:04:C4:C4:9D',
  925. 'name': '1:12',
  926. 'oper_status': False,
  927. 'subinterfaces': [{'admin_status': True,
  928. 'enabled_afi': ['BRIDGE'],
  929. 'mac': '34:08:04:C4:C4:9D',
  930. 'name': '1:12',
  931. 'oper_status': False,
  932. 'tagged_vlans': [1022,
  933. 1111,
  934. 1467,
  935. 1468,
  936. 1469,
  937. 1470,
  938. 1471,
  939. 1533]}],
  940. 'type': 'physical'},
  941. {'admin_status': True,
  942. 'enabled_protocols': [],
  943. 'mac': '34:08:04:C4:C4:9E',
  944. 'name': '1:13',
  945. 'oper_status': False,
  946. 'subinterfaces': [{'admin_status': True,
  947. 'enabled_afi': ['BRIDGE'],
  948. 'mac': '34:08:04:C4:C4:9E',
  949. 'name': '1:13',
  950. 'oper_status': False,
  951. 'tagged_vlans': [1022,
  952. 1111,
  953. 1467,
  954. 1468,
  955. 1469,
  956. 1470,
  957. 1471,
  958. 1533]}],
  959. 'type': 'physical'},
  960. {'admin_status': True,
  961. 'enabled_protocols': [],
  962. 'mac': '34:08:04:C4:C4:9F',
  963. 'name': '1:14',
  964. 'oper_status': False,
  965. 'subinterfaces': [{'admin_status': True,
  966. 'enabled_afi': ['BRIDGE'],
  967. 'mac': '34:08:04:C4:C4:9F',
  968. 'name': '1:14',
  969. 'oper_status': False,
  970. 'tagged_vlans': [1022,
  971. 1111,
  972. 1467,
  973. 1468,
  974. 1469,
  975. 1470,
  976. 1471,
  977. 1533]}],
  978. 'type': 'physical'},
  979. {'admin_status': True,
  980. 'enabled_protocols': [],
  981. 'mac': '34:08:04:C4:C4:A0',
  982. 'name': '1:15',
  983. 'oper_status': False,
  984. 'subinterfaces': [{'admin_status': True,
  985. 'enabled_afi': ['BRIDGE'],
  986. 'mac': '34:08:04:C4:C4:A0',
  987. 'name': '1:15',
  988. 'oper_status': False,
  989. 'tagged_vlans': [1022,
  990. 1111,
  991. 1467,
  992. 1468,
  993. 1469,
  994. 1470,
  995. 1471,
  996. 1533]}],
  997. 'type': 'physical'},
  998. {'admin_status': True,
  999. 'enabled_protocols': [],
  1000. 'mac': '34:08:04:C4:C4:A1',
  1001. 'name': '1:16',
  1002. 'oper_status': False,
  1003. 'subinterfaces': [{'admin_status': True,
  1004. 'enabled_afi': ['BRIDGE'],
  1005. 'mac': '34:08:04:C4:C4:A1',
  1006. 'name': '1:16',
  1007. 'oper_status': False,
  1008. 'tagged_vlans': [1022,
  1009. 1111,
  1010. 1467,
  1011. 1468,
  1012. 1469,
  1013. 1470,
  1014. 1471,
  1015. 1533]}],
  1016. 'type': 'physical'},
  1017. {'admin_status': True,
  1018. 'enabled_protocols': [],
  1019. 'mac': '34:08:04:C4:C4:A2',
  1020. 'name': '1:17',
  1021. 'oper_status': False,
  1022. 'subinterfaces': [{'admin_status': True,
  1023. 'enabled_afi': ['BRIDGE'],
  1024. 'mac': '34:08:04:C4:C4:A2',
  1025. 'name': '1:17',
  1026. 'oper_status': False,
  1027. 'tagged_vlans': [1022,
  1028. 1111,
  1029. 1467,
  1030. 1468,
  1031. 1469,
  1032. 1470,
  1033. 1471,
  1034. 1533]}],
  1035. 'type': 'physical'},
  1036. {'admin_status': True,
  1037. 'enabled_protocols': [],
  1038. 'mac': '34:08:04:C4:C4:A3',
  1039. 'name': '1:18',
  1040. 'oper_status': False,
  1041. 'subinterfaces': [{'admin_status': True,
  1042. 'enabled_afi': ['BRIDGE'],
  1043. 'mac': '34:08:04:C4:C4:A3',
  1044. 'name': '1:18',
  1045. 'oper_status': False,
  1046. 'tagged_vlans': [1022,
  1047. 1111,
  1048. 1467,
  1049. 1468,
  1050. 1469,
  1051. 1470,
  1052. 1471,
  1053. 1533]}],
  1054. 'type': 'physical'},
  1055. {'admin_status': True,
  1056. 'enabled_protocols': [],
  1057. 'mac': '34:08:04:C4:C4:A4',
  1058. 'name': '1:19',
  1059. 'oper_status': False,
  1060. 'subinterfaces': [{'admin_status': True,
  1061. 'enabled_afi': ['BRIDGE'],
  1062. 'mac': '34:08:04:C4:C4:A4',
  1063. 'name': '1:19',
  1064. 'oper_status': False,
  1065. 'tagged_vlans': [1022,
  1066. 1111,
  1067. 1467,
  1068. 1468,
  1069. 1469,
  1070. 1470,
  1071. 1471,
  1072. 1533]}],
  1073. 'type': 'physical'},
  1074. {'admin_status': True,
  1075. 'enabled_protocols': [],
  1076. 'mac': '34:08:04:C4:C4:A5',
  1077. 'name': '1:20',
  1078. 'oper_status': False,
  1079. 'subinterfaces': [{'admin_status': True,
  1080. 'enabled_afi': ['BRIDGE'],
  1081. 'mac': '34:08:04:C4:C4:A5',
  1082. 'name': '1:20',
  1083. 'oper_status': False,
  1084. 'tagged_vlans': [1022,
  1085. 1111,
  1086. 1467,
  1087. 1468,
  1088. 1469,
  1089. 1470,
  1090. 1471,
  1091. 1533]}],
  1092. 'type': 'physical'},
  1093. {'admin_status': True,
  1094. 'enabled_protocols': [],
  1095. 'mac': '34:08:04:C4:C4:A6',
  1096. 'name': '1:21',
  1097. 'oper_status': False,
  1098. 'subinterfaces': [{'admin_status': True,
  1099. 'enabled_afi': ['BRIDGE'],
  1100. 'mac': '34:08:04:C4:C4:A6',
  1101. 'name': '1:21',
  1102. 'oper_status': False,
  1103. 'tagged_vlans': [1022,
  1104. 1111,
  1105. 1467,
  1106. 1468,
  1107. 1469,
  1108. 1470,
  1109. 1471,
  1110. 1533]}],
  1111. 'type': 'physical'},
  1112. {'admin_status': True,
  1113. 'enabled_protocols': [],
  1114. 'mac': '34:08:04:C4:C4:A7',
  1115. 'name': '1:22',
  1116. 'oper_status': False,
  1117. 'subinterfaces': [{'admin_status': True,
  1118. 'enabled_afi': ['BRIDGE'],
  1119. 'mac': '34:08:04:C4:C4:A7',
  1120. 'name': '1:22',
  1121. 'oper_status': False,
  1122. 'tagged_vlans': [1022,
  1123. 1111,
  1124. 1467,
  1125. 1468,
  1126. 1469,
  1127. 1470,
  1128. 1471,
  1129. 1533]}],
  1130. 'type': 'physical'},
  1131. {'admin_status': True,
  1132. 'enabled_protocols': [],
  1133. 'mac': '34:08:04:C4:C4:A8',
  1134. 'name': '1:23',
  1135. 'oper_status': False,
  1136. 'subinterfaces': [{'admin_status': True,
  1137. 'enabled_afi': ['BRIDGE'],
  1138. 'mac': '34:08:04:C4:C4:A8',
  1139. 'name': '1:23',
  1140. 'oper_status': False,
  1141. 'tagged_vlans': [1022,
  1142. 1111,
  1143. 1467,
  1144. 1468,
  1145. 1469,
  1146. 1470,
  1147. 1471,
  1148. 1533]}],
  1149. 'type': 'physical'},
  1150. {'admin_status': True,
  1151. 'description': 'Uplink',
  1152. 'enabled_protocols': [],
  1153. 'mac': '34:08:04:C4:C4:A9',
  1154. 'name': '1:24',
  1155. 'oper_status': True,
  1156. 'subinterfaces': [{'admin_status': True,
  1157. 'description': 'Uplink',
  1158. 'enabled_afi': ['BRIDGE'],
  1159. 'mac': '34:08:04:C4:C4:A9',
  1160. 'name': '1:24',
  1161. 'oper_status': True,
  1162. 'tagged_vlans': [1022,
  1163. 1111,
  1164. 1467,
  1165. 1468,
  1166. 1469,
  1167. 1470,
  1168. 1471,
  1169. 1533,
  1170. 1642]}],
  1171. 'type': 'physical'},
  1172. {'admin_status': True,
  1173. 'mac': '34:08:04:C4:C4:91',
  1174. 'name': 'System',
  1175. 'oper_status': True,
  1176. 'subinterfaces': [{'admin_status': True,
  1177. 'enabled_afi': ['IPv4'],
  1178. 'enabled_protocols': [],
  1179. 'ipv4_addresses': ['10.11.1.199/24'],
  1180. 'mac': '34:08:04:C4:C4:91',
  1181. 'name': 'System',
  1182. 'oper_status': True,
  1183. 'vlan_ids': [1111]}],
  1184. 'type': 'SVI'}],
  1185. 'type': 'ip'}]
  1186. forwarding_instance = None
  1187. fi =
  1188. {'forwarding_instance': 'default',
  1189. 'interfaces': [{'admin_status': True,
  1190. 'description': 'Mkrm4_uzel_\xb92_10.11.1.248',
  1191. 'enabled_protocols': [],
  1192. 'mac': '34:08:04:C4:C4:92',
  1193. 'name': '1:1',
  1194. 'oper_status': True,
  1195. 'subinterfaces': [{'admin_status': True,
  1196. 'description': 'Mkrm4_uzel_\xb92_10.11.1.248',
  1197. 'enabled_afi': ['BRIDGE'],
  1198. 'mac': '34:08:04:C4:C4:92',
  1199. 'name': '1:1',
  1200. 'oper_status': True,
  1201. 'tagged_vlans': [1022,
  1202. 1111,
  1203. 1467,
  1204. 1468,
  1205. 1469,
  1206. 1470,
  1207. 1471,
  1208. 1533]}],
  1209. 'type': 'physical'},
  1210. {'admin_status': True,
  1211. 'description': 'Mkrm4_7_etazhka_\xb92_10.11.1.223',
  1212. 'enabled_protocols': [],
  1213. 'mac': '34:08:04:C4:C4:93',
  1214. 'name': '1:2',
  1215. 'oper_status': True,
  1216. 'subinterfaces': [{'admin_status': True,
  1217. 'description': 'Mkrm4_7_etazhka_\xb92_10.11.1.223',
  1218. 'enabled_afi': ['BRIDGE'],
  1219. 'mac': '34:08:04:C4:C4:93',
  1220. 'name': '1:2',
  1221. 'oper_status': True,
  1222. 'tagged_vlans': [1022,
  1223. 1111,
  1224. 1467,
  1225. 1468,
  1226. 1469,
  1227. 1470,
  1228. 1471,
  1229. 1533]}],
  1230. 'type': 'physical'},
  1231. {'admin_status': True,
  1232. 'description': 'Mkrm4_4_etazhka_5v_10.11.1.220',
  1233. 'enabled_protocols': [],
  1234. 'mac': '34:08:04:C4:C4:94',
  1235. 'name': '1:3',
  1236. 'oper_status': True,
  1237. 'subinterfaces': [{'admin_status': True,
  1238. 'description': 'Mkrm4_4_etazhka_5v_10.11.1.220',
  1239. 'enabled_afi': ['BRIDGE'],
  1240. 'mac': '34:08:04:C4:C4:94',
  1241. 'name': '1:3',
  1242. 'oper_status': True,
  1243. 'tagged_vlans': [1022,
  1244. 1111,
  1245. 1467,
  1246. 1468,
  1247. 1469,
  1248. 1470,
  1249. 1471,
  1250. 1533]}],
  1251. 'type': 'physical'},
  1252. {'admin_status': True,
  1253. 'description': 'Mkrm4_uzel_\xb93_10.11.1.246',
  1254. 'enabled_protocols': [],
  1255. 'mac': '34:08:04:C4:C4:95',
  1256. 'name': '1:4',
  1257. 'oper_status': True,
  1258. 'subinterfaces': [{'admin_status': True,
  1259. 'description': 'Mkrm4_uzel_\xb93_10.11.1.246',
  1260. 'enabled_afi': ['BRIDGE'],
  1261. 'mac': '34:08:04:C4:C4:95',
  1262. 'name': '1:4',
  1263. 'oper_status': True,
  1264. 'tagged_vlans': [1022,
  1265. 1111,
  1266. 1467,
  1267. 1468,
  1268. 1469,
  1269. 1470,
  1270. 1471,
  1271. 1533,
  1272. 1642]}],
  1273. 'type': 'physical'},
  1274. {'admin_status': True,
  1275. 'enabled_protocols': [],
  1276. 'mac': '34:08:04:C4:C4:96',
  1277. 'name': '1:5',
  1278. 'oper_status': True,
  1279. 'subinterfaces': [{'admin_status': True,
  1280. 'enabled_afi': ['BRIDGE'],
  1281. 'mac': '34:08:04:C4:C4:96',
  1282. 'name': '1:5',
  1283. 'oper_status': True,
  1284. 'tagged_vlans': [1022,
  1285. 1111,
  1286. 1467,
  1287. 1468,
  1288. 1469,
  1289. 1470,
  1290. 1471,
  1291. 1533]}],
  1292. 'type': 'physical'},
  1293. {'admin_status': True,
  1294. 'enabled_protocols': [],
  1295. 'mac': '34:08:04:C4:C4:97',
  1296. 'name': '1:6',
  1297. 'oper_status': False,
  1298. 'subinterfaces': [{'admin_status': True,
  1299. 'enabled_afi': ['BRIDGE'],
  1300. 'mac': '34:08:04:C4:C4:97',
  1301. 'name': '1:6',
  1302. 'oper_status': False,
  1303. 'tagged_vlans': [1022,
  1304. 1111,
  1305. 1467,
  1306. 1468,
  1307. 1469,
  1308. 1470,
  1309. 1471,
  1310. 1533]}],
  1311. 'type': 'physical'},
  1312. {'admin_status': True,
  1313. 'enabled_protocols': [],
  1314. 'mac': '34:08:04:C4:C4:98',
  1315. 'name': '1:7',
  1316. 'oper_status': False,
  1317. 'subinterfaces': [{'admin_status': True,
  1318. 'enabled_afi': ['BRIDGE'],
  1319. 'mac': '34:08:04:C4:C4:98',
  1320. 'name': '1:7',
  1321. 'oper_status': False,
  1322. 'tagged_vlans': [1022,
  1323. 1111,
  1324. 1467,
  1325. 1468,
  1326. 1469,
  1327. 1470,
  1328. 1471,
  1329. 1533]}],
  1330. 'type': 'physical'},
  1331. {'admin_status': True,
  1332. 'description': '2_komm_10.11.1.221',
  1333. 'enabled_protocols': [],
  1334. 'mac': '34:08:04:C4:C4:99',
  1335. 'name': '1:8',
  1336. 'oper_status': True,
  1337. 'subinterfaces': [{'admin_status': True,
  1338. 'description': '2_komm_10.11.1.221',
  1339. 'enabled_afi': ['BRIDGE'],
  1340. 'mac': '34:08:04:C4:C4:99',
  1341. 'name': '1:8',
  1342. 'oper_status': True,
  1343. 'tagged_vlans': [1022,
  1344. 1111,
  1345. 1467,
  1346. 1468,
  1347. 1469,
  1348. 1470,
  1349. 1471,
  1350. 1533]}],
  1351. 'type': 'physical'},
  1352. {'admin_status': True,
  1353. 'enabled_protocols': [],
  1354. 'mac': '34:08:04:C4:C4:9A',
  1355. 'name': '1:9',
  1356. 'oper_status': False,
  1357. 'subinterfaces': [{'admin_status': True,
  1358. 'enabled_afi': ['BRIDGE'],
  1359. 'mac': '34:08:04:C4:C4:9A',
  1360. 'name': '1:9',
  1361. 'oper_status': False,
  1362. 'tagged_vlans': [1022,
  1363. 1111,
  1364. 1467,
  1365. 1468,
  1366. 1469,
  1367. 1470,
  1368. 1471,
  1369. 1533]}],
  1370. 'type': 'physical'},
  1371. {'admin_status': True,
  1372. 'enabled_protocols': [],
  1373. 'mac': '34:08:04:C4:C4:9B',
  1374. 'name': '1:10',
  1375. 'oper_status': False,
  1376. 'subinterfaces': [{'admin_status': True,
  1377. 'enabled_afi': ['BRIDGE'],
  1378. 'mac': '34:08:04:C4:C4:9B',
  1379. 'name': '1:10',
  1380. 'oper_status': False,
  1381. 'tagged_vlans': [1022,
  1382. 1111,
  1383. 1467,
  1384. 1468,
  1385. 1469,
  1386. 1470,
  1387. 1471,
  1388. 1533]}],
  1389. 'type': 'physical'},
  1390. {'admin_status': True,
  1391. 'enabled_protocols': [],
  1392. 'mac': '34:08:04:C4:C4:9C',
  1393. 'name': '1:11',
  1394. 'oper_status': False,
  1395. 'subinterfaces': [{'admin_status': True,
  1396. 'enabled_afi': ['BRIDGE'],
  1397. 'mac': '34:08:04:C4:C4:9C',
  1398. 'name': '1:11',
  1399. 'oper_status': False,
  1400. 'tagged_vlans': [1022,
  1401. 1111,
  1402. 1467,
  1403. 1468,
  1404. 1469,
  1405. 1470,
  1406. 1471,
  1407. 1533]}],
  1408. 'type': 'physical'},
  1409. {'admin_status': True,
  1410. 'enabled_protocols': [],
  1411. 'mac': '34:08:04:C4:C4:9D',
  1412. 'name': '1:12',
  1413. 'oper_status': False,
  1414. 'subinterfaces': [{'admin_status': True,
  1415. 'enabled_afi': ['BRIDGE'],
  1416. 'mac': '34:08:04:C4:C4:9D',
  1417. 'name': '1:12',
  1418. 'oper_status': False,
  1419. 'tagged_vlans': [1022,
  1420. 1111,
  1421. 1467,
  1422. 1468,
  1423. 1469,
  1424. 1470,
  1425. 1471,
  1426. 1533]}],
  1427. 'type': 'physical'},
  1428. {'admin_status': True,
  1429. 'enabled_protocols': [],
  1430. 'mac': '34:08:04:C4:C4:9E',
  1431. 'name': '1:13',
  1432. 'oper_status': False,
  1433. 'subinterfaces': [{'admin_status': True,
  1434. 'enabled_afi': ['BRIDGE'],
  1435. 'mac': '34:08:04:C4:C4:9E',
  1436. 'name': '1:13',
  1437. 'oper_status': False,
  1438. 'tagged_vlans': [1022,
  1439. 1111,
  1440. 1467,
  1441. 1468,
  1442. 1469,
  1443. 1470,
  1444. 1471,
  1445. 1533]}],
  1446. 'type': 'physical'},
  1447. {'admin_status': True,
  1448. 'enabled_protocols': [],
  1449. 'mac': '34:08:04:C4:C4:9F',
  1450. 'name': '1:14',
  1451. 'oper_status': False,
  1452. 'subinterfaces': [{'admin_status': True,
  1453. 'enabled_afi': ['BRIDGE'],
  1454. 'mac': '34:08:04:C4:C4:9F',
  1455. 'name': '1:14',
  1456. 'oper_status': False,
  1457. 'tagged_vlans': [1022,
  1458. 1111,
  1459. 1467,
  1460. 1468,
  1461. 1469,
  1462. 1470,
  1463. 1471,
  1464. 1533]}],
  1465. 'type': 'physical'},
  1466. {'admin_status': True,
  1467. 'enabled_protocols': [],
  1468. 'mac': '34:08:04:C4:C4:A0',
  1469. 'name': '1:15',
  1470. 'oper_status': False,
  1471. 'subinterfaces': [{'admin_status': True,
  1472. 'enabled_afi': ['BRIDGE'],
  1473. 'mac': '34:08:04:C4:C4:A0',
  1474. 'name': '1:15',
  1475. 'oper_status': False,
  1476. 'tagged_vlans': [1022,
  1477. 1111,
  1478. 1467,
  1479. 1468,
  1480. 1469,
  1481. 1470,
  1482. 1471,
  1483. 1533]}],
  1484. 'type': 'physical'},
  1485. {'admin_status': True,
  1486. 'enabled_protocols': [],
  1487. 'mac': '34:08:04:C4:C4:A1',
  1488. 'name': '1:16',
  1489. 'oper_status': False,
  1490. 'subinterfaces': [{'admin_status': True,
  1491. 'enabled_afi': ['BRIDGE'],
  1492. 'mac': '34:08:04:C4:C4:A1',
  1493. 'name': '1:16',
  1494. 'oper_status': False,
  1495. 'tagged_vlans': [1022,
  1496. 1111,
  1497. 1467,
  1498. 1468,
  1499. 1469,
  1500. 1470,
  1501. 1471,
  1502. 1533]}],
  1503. 'type': 'physical'},
  1504. {'admin_status': True,
  1505. 'enabled_protocols': [],
  1506. 'mac': '34:08:04:C4:C4:A2',
  1507. 'name': '1:17',
  1508. 'oper_status': False,
  1509. 'subinterfaces': [{'admin_status': True,
  1510. 'enabled_afi': ['BRIDGE'],
  1511. 'mac': '34:08:04:C4:C4:A2',
  1512. 'name': '1:17',
  1513. 'oper_status': False,
  1514. 'tagged_vlans': [1022,
  1515. 1111,
  1516. 1467,
  1517. 1468,
  1518. 1469,
  1519. 1470,
  1520. 1471,
  1521. 1533]}],
  1522. 'type': 'physical'},
  1523. {'admin_status': True,
  1524. 'enabled_protocols': [],
  1525. 'mac': '34:08:04:C4:C4:A3',
  1526. 'name': '1:18',
  1527. 'oper_status': False,
  1528. 'subinterfaces': [{'admin_status': True,
  1529. 'enabled_afi': ['BRIDGE'],
  1530. 'mac': '34:08:04:C4:C4:A3',
  1531. 'name': '1:18',
  1532. 'oper_status': False,
  1533. 'tagged_vlans': [1022,
  1534. 1111,
  1535. 1467,
  1536. 1468,
  1537. 1469,
  1538. 1470,
  1539. 1471,
  1540. 1533]}],
  1541. 'type': 'physical'},
  1542. {'admin_status': True,
  1543. 'enabled_protocols': [],
  1544. 'mac': '34:08:04:C4:C4:A4',
  1545. 'name': '1:19',
  1546. 'oper_status': False,
  1547. 'subinterfaces': [{'admin_status': True,
  1548. 'enabled_afi': ['BRIDGE'],
  1549. 'mac': '34:08:04:C4:C4:A4',
  1550. 'name': '1:19',
  1551. 'oper_status': False,
  1552. 'tagged_vlans': [1022,
  1553. 1111,
  1554. 1467,
  1555. 1468,
  1556. 1469,
  1557. 1470,
  1558. 1471,
  1559. 1533]}],
  1560. 'type': 'physical'},
  1561. {'admin_status': True,
  1562. 'enabled_protocols': [],
  1563. 'mac': '34:08:04:C4:C4:A5',
  1564. 'name': '1:20',
  1565. 'oper_status': False,
  1566. 'subinterfaces': [{'admin_status': True,
  1567. 'enabled_afi': ['BRIDGE'],
  1568. 'mac': '34:08:04:C4:C4:A5',
  1569. 'name': '1:20',
  1570. 'oper_status': False,
  1571. 'tagged_vlans': [1022,
  1572. 1111,
  1573. 1467,
  1574. 1468,
  1575. 1469,
  1576. 1470,
  1577. 1471,
  1578. 1533]}],
  1579. 'type': 'physical'},
  1580. {'admin_status': True,
  1581. 'enabled_protocols': [],
  1582. 'mac': '34:08:04:C4:C4:A6',
  1583. 'name': '1:21',
  1584. 'oper_status': False,
  1585. 'subinterfaces': [{'admin_status': True,
  1586. 'enabled_afi': ['BRIDGE'],
  1587. 'mac': '34:08:04:C4:C4:A6',
  1588. 'name': '1:21',
  1589. 'oper_status': False,
  1590. 'tagged_vlans': [1022,
  1591. 1111,
  1592. 1467,
  1593. 1468,
  1594. 1469,
  1595. 1470,
  1596. 1471,
  1597. 1533]}],
  1598. 'type': 'physical'},
  1599. {'admin_status': True,
  1600. 'enabled_protocols': [],
  1601. 'mac': '34:08:04:C4:C4:A7',
  1602. 'name': '1:22',
  1603. 'oper_status': False,
  1604. 'subinterfaces': [{'admin_status': True,
  1605. 'enabled_afi': ['BRIDGE'],
  1606. 'mac': '34:08:04:C4:C4:A7',
  1607. 'name': '1:22',
  1608. 'oper_status': False,
  1609. 'tagged_vlans': [1022,
  1610. 1111,
  1611. 1467,
  1612. 1468,
  1613. 1469,
  1614. 1470,
  1615. 1471,
  1616. 1533]}],
  1617. 'type': 'physical'},
  1618. {'admin_status': True,
  1619. 'enabled_protocols': [],
  1620. 'mac': '34:08:04:C4:C4:A8',
  1621. 'name': '1:23',
  1622. 'oper_status': False,
  1623. 'subinterfaces': [{'admin_status': True,
  1624. 'enabled_afi': ['BRIDGE'],
  1625. 'mac': '34:08:04:C4:C4:A8',
  1626. 'name': '1:23',
  1627. 'oper_status': False,
  1628. 'tagged_vlans': [1022,
  1629. 1111,
  1630. 1467,
  1631. 1468,
  1632. 1469,
  1633. 1470,
  1634. 1471,
  1635. 1533]}],
  1636. 'type': 'physical'},
  1637. {'admin_status': True,
  1638. 'description': 'Uplink',
  1639. 'enabled_protocols': [],
  1640. 'mac': '34:08:04:C4:C4:A9',
  1641. 'name': '1:24',
  1642. 'oper_status': True,
  1643. 'subinterfaces': [{'admin_status': True,
  1644. 'description': 'Uplink',
  1645. 'enabled_afi': ['BRIDGE'],
  1646. 'mac': '34:08:04:C4:C4:A9',
  1647. 'name': '1:24',
  1648. 'oper_status': True,
  1649. 'tagged_vlans': [1022,
  1650. 1111,
  1651. 1467,
  1652. 1468,
  1653. 1469,
  1654. 1470,
  1655. 1471,
  1656. 1533,
  1657. 1642]}],
  1658. 'type': 'physical'},
  1659. {'admin_status': True,
  1660. 'mac': '34:08:04:C4:C4:91',
  1661. 'name': 'System',
  1662. 'oper_status': True,
  1663. 'subinterfaces': [{'admin_status': True,
  1664. 'enabled_afi': ['IPv4'],
  1665. 'enabled_protocols': [],
  1666. 'ipv4_addresses': ['10.11.1.199/24'],
  1667. 'mac': '34:08:04:C4:C4:91',
  1668. 'name': 'System',
  1669. 'oper_status': True,
  1670. 'vlan_ids': [1111]}],
  1671. 'type': 'SVI'}],
  1672. 'type': 'ip'}
  1673. ------------------------------------------------------------------------
  1674. File: lib/scheduler/scheduler.py (Line: 316)
  1675. Function: _job_wrapper
  1676. 309 return self._job_wrapper(job, **kwargs)
  1677. 310
  1678. 311 def _job_wrapper(self, job, **kwargs):
  1679. 312 tb = None
  1680. 313 t0 = time.time()
  1681. 314 job.logger.info("Running job handler")
  1682. 315 try:
  1683. 316 ==> r = job.handler(**kwargs)
  1684. 317 except Exception:
  1685. 318 # error_report()
  1686. 319 tb = get_traceback()
  1687. 320 job.error(tb)
  1688. 321 job.on_exception()
  1689. 322 s = job.S_EXCEPTION
  1690. Variables:
  1691. job =
  1692. <noc.inv.discovery.jobs.interface_discovery.InterfaceDiscoveryJob object at 0x7f0764441ed0>
  1693. tb = None
  1694. self =
  1695. <noc.inv.discovery.scheduler.DiscoveryScheduler object at 0x7f0765fff3d0>
  1696. t0 = 1430391296.186422
  1697. kwargs =
  1698. {'object': <ManagedObject: 10.11.1.199>,
  1699. 'result': [{'forwarding_instance': 'default',
  1700. 'interfaces': [{'admin_status': True,
  1701. 'description': 'Mkrm4_uzel_\xb92_10.11.1.248',
  1702. 'enabled_protocols': [],
  1703. 'mac': '34:08:04:C4:C4:92',
  1704. 'name': '1:1',
  1705. 'oper_status': True,
  1706. 'subinterfaces': [{'admin_status': True,
  1707. 'description': 'Mkrm4_uzel_\xb92_10.11.1.248',
  1708. 'enabled_afi': ['BRIDGE'],
  1709. 'mac': '34:08:04:C4:C4:92',
  1710. 'name': '1:1',
  1711. 'oper_status': True,
  1712. 'tagged_vlans': [1022,
  1713. 1111,
  1714. 1467,
  1715. 1468,
  1716. 1469,
  1717. 1470,
  1718. 1471,
  1719. 1533]}],
  1720. 'type': 'physical'},
  1721. {'admin_status': True,
  1722. 'description': 'Mkrm4_7_etazhka_\xb92_10.11.1.223',
  1723. 'enabled_protocols': [],
  1724. 'mac': '34:08:04:C4:C4:93',
  1725. 'name': '1:2',
  1726. 'oper_status': True,
  1727. 'subinterfaces': [{'admin_status': True,
  1728. 'description': 'Mkrm4_7_etazhka_\xb92_10.11.1.223',
  1729. 'enabled_afi': ['BRIDGE'],
  1730. 'mac': '34:08:04:C4:C4:93',
  1731. 'name': '1:2',
  1732. 'oper_status': True,
  1733. 'tagged_vlans': [1022,
  1734. 1111,
  1735. 1467,
  1736. 1468,
  1737. 1469,
  1738. 1470,
  1739. 1471,
  1740. 1533]}],
  1741. 'type': 'physical'},
  1742. {'admin_status': True,
  1743. 'description': 'Mkrm4_4_etazhka_5v_10.11.1.220',
  1744. 'enabled_protocols': [],
  1745. 'mac': '34:08:04:C4:C4:94',
  1746. 'name': '1:3',
  1747. 'oper_status': True,
  1748. 'subinterfaces': [{'admin_status': True,
  1749. 'description': 'Mkrm4_4_etazhka_5v_10.11.1.220',
  1750. 'enabled_afi': ['BRIDGE'],
  1751. 'mac': '34:08:04:C4:C4:94',
  1752. 'name': '1:3',
  1753. 'oper_status': True,
  1754. 'tagged_vlans': [1022,
  1755. 1111,
  1756. 1467,
  1757. 1468,
  1758. 1469,
  1759. 1470,
  1760. 1471,
  1761. 1533]}],
  1762. 'type': 'physical'},
  1763. {'admin_status': True,
  1764. 'description': 'Mkrm4_uzel_\xb93_10.11.1.246',
  1765. 'enabled_protocols': [],
  1766. 'mac': '34:08:04:C4:C4:95',
  1767. 'name': '1:4',
  1768. 'oper_status': True,
  1769. 'subinterfaces': [{'admin_status': True,
  1770. 'description': 'Mkrm4_uzel_\xb93_10.11.1.246',
  1771. 'enabled_afi': ['BRIDGE'],
  1772. 'mac': '34:08:04:C4:C4:95',
  1773. 'name': '1:4',
  1774. 'oper_status': True,
  1775. 'tagged_vlans': [1022,
  1776. 1111,
  1777. 1467,
  1778. 1468,
  1779. 1469,
  1780. 1470,
  1781. 1471,
  1782. 1533,
  1783. 1642]}],
  1784. 'type': 'physical'},
  1785. {'admin_status': True,
  1786. 'enabled_protocols': [],
  1787. 'mac': '34:08:04:C4:C4:96',
  1788. 'name': '1:5',
  1789. 'oper_status': True,
  1790. 'subinterfaces': [{'admin_status': True,
  1791. 'enabled_afi': ['BRIDGE'],
  1792. 'mac': '34:08:04:C4:C4:96',
  1793. 'name': '1:5',
  1794. 'oper_status': True,
  1795. 'tagged_vlans': [1022,
  1796. 1111,
  1797. 1467,
  1798. 1468,
  1799. 1469,
  1800. 1470,
  1801. 1471,
  1802. 1533]}],
  1803. 'type': 'physical'},
  1804. {'admin_status': True,
  1805. 'enabled_protocols': [],
  1806. 'mac': '34:08:04:C4:C4:97',
  1807. 'name': '1:6',
  1808. 'oper_status': False,
  1809. 'subinterfaces': [{'admin_status': True,
  1810. 'enabled_afi': ['BRIDGE'],
  1811. 'mac': '34:08:04:C4:C4:97',
  1812. 'name': '1:6',
  1813. 'oper_status': False,
  1814. 'tagged_vlans': [1022,
  1815. 1111,
  1816. 1467,
  1817. 1468,
  1818. 1469,
  1819. 1470,
  1820. 1471,
  1821. 1533]}],
  1822. 'type': 'physical'},
  1823. {'admin_status': True,
  1824. 'enabled_protocols': [],
  1825. 'mac': '34:08:04:C4:C4:98',
  1826. 'name': '1:7',
  1827. 'oper_status': False,
  1828. 'subinterfaces': [{'admin_status': True,
  1829. 'enabled_afi': ['BRIDGE'],
  1830. 'mac': '34:08:04:C4:C4:98',
  1831. 'name': '1:7',
  1832. 'oper_status': False,
  1833. 'tagged_vlans': [1022,
  1834. 1111,
  1835. 1467,
  1836. 1468,
  1837. 1469,
  1838. 1470,
  1839. 1471,
  1840. 1533]}],
  1841. 'type': 'physical'},
  1842. {'admin_status': True,
  1843. 'description': '2_komm_10.11.1.221',
  1844. 'enabled_protocols': [],
  1845. 'mac': '34:08:04:C4:C4:99',
  1846. 'name': '1:8',
  1847. 'oper_status': True,
  1848. 'subinterfaces': [{'admin_status': True,
  1849. 'description': '2_komm_10.11.1.221',
  1850. 'enabled_afi': ['BRIDGE'],
  1851. 'mac': '34:08:04:C4:C4:99',
  1852. 'name': '1:8',
  1853. 'oper_status': True,
  1854. 'tagged_vlans': [1022,
  1855. 1111,
  1856. 1467,
  1857. 1468,
  1858. 1469,
  1859. 1470,
  1860. 1471,
  1861. 1533]}],
  1862. 'type': 'physical'},
  1863. {'admin_status': True,
  1864. 'enabled_protocols': [],
  1865. 'mac': '34:08:04:C4:C4:9A',
  1866. 'name': '1:9',
  1867. 'oper_status': False,
  1868. 'subinterfaces': [{'admin_status': True,
  1869. 'enabled_afi': ['BRIDGE'],
  1870. 'mac': '34:08:04:C4:C4:9A',
  1871. 'name': '1:9',
  1872. 'oper_status': False,
  1873. 'tagged_vlans': [1022,
  1874. 1111,
  1875. 1467,
  1876. 1468,
  1877. 1469,
  1878. 1470,
  1879. 1471,
  1880. 1533]}],
  1881. 'type': 'physical'},
  1882. {'admin_status': True,
  1883. 'enabled_protocols': [],
  1884. 'mac': '34:08:04:C4:C4:9B',
  1885. 'name': '1:10',
  1886. 'oper_status': False,
  1887. 'subinterfaces': [{'admin_status': True,
  1888. 'enabled_afi': ['BRIDGE'],
  1889. 'mac': '34:08:04:C4:C4:9B',
  1890. 'name': '1:10',
  1891. 'oper_status': False,
  1892. 'tagged_vlans': [1022,
  1893. 1111,
  1894. 1467,
  1895. 1468,
  1896. 1469,
  1897. 1470,
  1898. 1471,
  1899. 1533]}],
  1900. 'type': 'physical'},
  1901. {'admin_status': True,
  1902. 'enabled_protocols': [],
  1903. 'mac': '34:08:04:C4:C4:9C',
  1904. 'name': '1:11',
  1905. 'oper_status': False,
  1906. 'subinterfaces': [{'admin_status': True,
  1907. 'enabled_afi': ['BRIDGE'],
  1908. 'mac': '34:08:04:C4:C4:9C',
  1909. 'name': '1:11',
  1910. 'oper_status': False,
  1911. 'tagged_vlans': [1022,
  1912. 1111,
  1913. 1467,
  1914. 1468,
  1915. 1469,
  1916. 1470,
  1917. 1471,
  1918. 1533]}],
  1919. 'type': 'physical'},
  1920. {'admin_status': True,
  1921. 'enabled_protocols': [],
  1922. 'mac': '34:08:04:C4:C4:9D',
  1923. 'name': '1:12',
  1924. 'oper_status': False,
  1925. 'subinterfaces': [{'admin_status': True,
  1926. 'enabled_afi': ['BRIDGE'],
  1927. 'mac': '34:08:04:C4:C4:9D',
  1928. 'name': '1:12',
  1929. 'oper_status': False,
  1930. 'tagged_vlans': [1022,
  1931. 1111,
  1932. 1467,
  1933. 1468,
  1934. 1469,
  1935. 1470,
  1936. 1471,
  1937. 1533]}],
  1938. 'type': 'physical'},
  1939. {'admin_status': True,
  1940. 'enabled_protocols': [],
  1941. 'mac': '34:08:04:C4:C4:9E',
  1942. 'name': '1:13',
  1943. 'oper_status': False,
  1944. 'subinterfaces': [{'admin_status': True,
  1945. 'enabled_afi': ['BRIDGE'],
  1946. 'mac': '34:08:04:C4:C4:9E',
  1947. 'name': '1:13',
  1948. 'oper_status': False,
  1949. 'tagged_vlans': [1022,
  1950. 1111,
  1951. 1467,
  1952. 1468,
  1953. 1469,
  1954. 1470,
  1955. 1471,
  1956. 1533]}],
  1957. 'type': 'physical'},
  1958. {'admin_status': True,
  1959. 'enabled_protocols': [],
  1960. 'mac': '34:08:04:C4:C4:9F',
  1961. 'name': '1:14',
  1962. 'oper_status': False,
  1963. 'subinterfaces': [{'admin_status': True,
  1964. 'enabled_afi': ['BRIDGE'],
  1965. 'mac': '34:08:04:C4:C4:9F',
  1966. 'name': '1:14',
  1967. 'oper_status': False,
  1968. 'tagged_vlans': [1022,
  1969. 1111,
  1970. 1467,
  1971. 1468,
  1972. 1469,
  1973. 1470,
  1974. 1471,
  1975. 1533]}],
  1976. 'type': 'physical'},
  1977. {'admin_status': True,
  1978. 'enabled_protocols': [],
  1979. 'mac': '34:08:04:C4:C4:A0',
  1980. 'name': '1:15',
  1981. 'oper_status': False,
  1982. 'subinterfaces': [{'admin_status': True,
  1983. 'enabled_afi': ['BRIDGE'],
  1984. 'mac': '34:08:04:C4:C4:A0',
  1985. 'name': '1:15',
  1986. 'oper_status': False,
  1987. 'tagged_vlans': [1022,
  1988. 1111,
  1989. 1467,
  1990. 1468,
  1991. 1469,
  1992. 1470,
  1993. 1471,
  1994. 1533]}],
  1995. 'type': 'physical'},
  1996. {'admin_status': True,
  1997. 'enabled_protocols': [],
  1998. 'mac': '34:08:04:C4:C4:A1',
  1999. 'name': '1:16',
  2000. 'oper_status': False,
  2001. 'subinterfaces': [{'admin_status': True,
  2002. 'enabled_afi': ['BRIDGE'],
  2003. 'mac': '34:08:04:C4:C4:A1',
  2004. 'name': '1:16',
  2005. 'oper_status': False,
  2006. 'tagged_vlans': [1022,
  2007. 1111,
  2008. 1467,
  2009. 1468,
  2010. 1469,
  2011. 1470,
  2012. 1471,
  2013. 1533]}],
  2014. 'type': 'physical'},
  2015. {'admin_status': True,
  2016. 'enabled_protocols': [],
  2017. 'mac': '34:08:04:C4:C4:A2',
  2018. 'name': '1:17',
  2019. 'oper_status': False,
  2020. 'subinterfaces': [{'admin_status': True,
  2021. 'enabled_afi': ['BRIDGE'],
  2022. 'mac': '34:08:04:C4:C4:A2',
  2023. 'name': '1:17',
  2024. 'oper_status': False,
  2025. 'tagged_vlans': [1022,
  2026. 1111,
  2027. 1467,
  2028. 1468,
  2029. 1469,
  2030. 1470,
  2031. 1471,
  2032. 1533]}],
  2033. 'type': 'physical'},
  2034. {'admin_status': True,
  2035. 'enabled_protocols': [],
  2036. 'mac': '34:08:04:C4:C4:A3',
  2037. 'name': '1:18',
  2038. 'oper_status': False,
  2039. 'subinterfaces': [{'admin_status': True,
  2040. 'enabled_afi': ['BRIDGE'],
  2041. 'mac': '34:08:04:C4:C4:A3',
  2042. 'name': '1:18',
  2043. 'oper_status': False,
  2044. 'tagged_vlans': [1022,
  2045. 1111,
  2046. 1467,
  2047. 1468,
  2048. 1469,
  2049. 1470,
  2050. 1471,
  2051. 1533]}],
  2052. 'type': 'physical'},
  2053. {'admin_status': True,
  2054. 'enabled_protocols': [],
  2055. 'mac': '34:08:04:C4:C4:A4',
  2056. 'name': '1:19',
  2057. 'oper_status': False,
  2058. 'subinterfaces': [{'admin_status': True,
  2059. 'enabled_afi': ['BRIDGE'],
  2060. 'mac': '34:08:04:C4:C4:A4',
  2061. 'name': '1:19',
  2062. 'oper_status': False,
  2063. 'tagged_vlans': [1022,
  2064. 1111,
  2065. 1467,
  2066. 1468,
  2067. 1469,
  2068. 1470,
  2069. 1471,
  2070. 1533]}],
  2071. 'type': 'physical'},
  2072. {'admin_status': True,
  2073. 'enabled_protocols': [],
  2074. 'mac': '34:08:04:C4:C4:A5',
  2075. 'name': '1:20',
  2076. 'oper_status': False,
  2077. 'subinterfaces': [{'admin_status': True,
  2078. 'enabled_afi': ['BRIDGE'],
  2079. 'mac': '34:08:04:C4:C4:A5',
  2080. 'name': '1:20',
  2081. 'oper_status': False,
  2082. 'tagged_vlans': [1022,
  2083. 1111,
  2084. 1467,
  2085. 1468,
  2086. 1469,
  2087. 1470,
  2088. 1471,
  2089. 1533]}],
  2090. 'type': 'physical'},
  2091. {'admin_status': True,
  2092. 'enabled_protocols': [],
  2093. 'mac': '34:08:04:C4:C4:A6',
  2094. 'name': '1:21',
  2095. 'oper_status': False,
  2096. 'subinterfaces': [{'admin_status': True,
  2097. 'enabled_afi': ['BRIDGE'],
  2098. 'mac': '34:08:04:C4:C4:A6',
  2099. 'name': '1:21',
  2100. 'oper_status': False,
  2101. 'tagged_vlans': [1022,
  2102. 1111,
  2103. 1467,
  2104. 1468,
  2105. 1469,
  2106. 1470,
  2107. 1471,
  2108. 1533]}],
  2109. 'type': 'physical'},
  2110. {'admin_status': True,
  2111. 'enabled_protocols': [],
  2112. 'mac': '34:08:04:C4:C4:A7',
  2113. 'name': '1:22',
  2114. 'oper_status': False,
  2115. 'subinterfaces': [{'admin_status': True,
  2116. 'enabled_afi': ['BRIDGE'],
  2117. 'mac': '34:08:04:C4:C4:A7',
  2118. 'name': '1:22',
  2119. 'oper_status': False,
  2120. 'tagged_vlans': [1022,
  2121. 1111,
  2122. 1467,
  2123. 1468,
  2124. 1469,
  2125. 1470,
  2126. 1471,
  2127. 1533]}],
  2128. 'type': 'physical'},
  2129. {'admin_status': True,
  2130. 'enabled_protocols': [],
  2131. 'mac': '34:08:04:C4:C4:A8',
  2132. 'name': '1:23',
  2133. 'oper_status': False,
  2134. 'subinterfaces': [{'admin_status': True,
  2135. 'enabled_afi': ['BRIDGE'],
  2136. 'mac': '34:08:04:C4:C4:A8',
  2137. 'name': '1:23',
  2138. 'oper_status': False,
  2139. 'tagged_vlans': [1022,
  2140. 1111,
  2141. 1467,
  2142. 1468,
  2143. 1469,
  2144. 1470,
  2145. 1471,
  2146. 1533]}],
  2147. 'type': 'physical'},
  2148. {'admin_status': True,
  2149. 'description': 'Uplink',
  2150. 'enabled_protocols': [],
  2151. 'mac': '34:08:04:C4:C4:A9',
  2152. 'name': '1:24',
  2153. 'oper_status': True,
  2154. 'subinterfaces': [{'admin_status': True,
  2155. 'description': 'Uplink',
  2156. 'enabled_afi': ['BRIDGE'],
  2157. 'mac': '34:08:04:C4:C4:A9',
  2158. 'name': '1:24',
  2159. 'oper_status': True,
  2160. 'tagged_vlans': [1022,
  2161. 1111,
  2162. 1467,
  2163. 1468,
  2164. 1469,
  2165. 1470,
  2166. 1471,
  2167. 1533,
  2168. 1642]}],
  2169. 'type': 'physical'},
  2170. {'admin_status': True,
  2171. 'mac': '34:08:04:C4:C4:91',
  2172. 'name': 'System',
  2173. 'oper_status': True,
  2174. 'subinterfaces': [{'admin_status': True,
  2175. 'enabled_afi': ['IPv4'],
  2176. 'enabled_protocols': [],
  2177. 'ipv4_addresses': ['10.11.1.199/24'],
  2178. 'mac': '34:08:04:C4:C4:91',
  2179. 'name': 'System',
  2180. 'oper_status': True,
  2181. 'vlan_ids': [1111]}],
  2182. 'type': 'SVI'}],
  2183. 'type': 'ip'}]}
  2184. ------------------------------------------------------------------------
  2185. END OF TRACEBACK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement