Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UNHANDLED EXCEPTION (2014-09-02 17:23:04.200070)
- Working directory: /opt/noc
- <type 'exceptions.AttributeError'>
- 'NoneType' object has no attribute 'get'
- START OF TRACEBACK
- ------------------------------------------------------------------------
- File: /opt/noc/lib/python2.7/site-packages/pymongo/bulk.py (Line: 85)
- Function: _merge_legacy
- 78 u"op": operation
- 79 }
- 80
- 81
- 82 def _merge_legacy(run, full_result, result, index):
- 83 """Merge a result from a legacy opcode into the full results.
- 84 """
- 85 ==> affected = result.get('n', 0)
- 86
- 87 errmsg = result.get("errmsg", result.get("err", ""))
- 88 if errmsg:
- 89 # wtimeout is not considered a hard failure in
- 90 # MongoDB 2.6 so don't treat it like one here.
- 91 if result.get("wtimeout"):
- Variables:
- index = 0
- run = <pymongo.bulk._Run object at 0x80fd0b150>
- result = None
- full_result =
- {'nInserted': 0,
- 'nMatched': 0,
- 'nRemoved': 0,
- 'nUpserted': 0,
- 'upserted': [],
- 'writeConcernErrors': [],
- 'writeErrors': []}
- ------------------------------------------------------------------------
- File: /opt/noc/lib/python2.7/site-packages/pymongo/bulk.py (Line: 382)
- Function: execute_legacy
- 375 upsert=operation['upsert'],
- 376 multi=operation['multi'],
- 377 **write_concern)
- 378 else:
- 379 result = coll.remove(operation['q'],
- 380 multi=(not operation['limit']),
- 381 **write_concern)
- 382 ==> _merge_legacy(run, full_result, result, idx)
- 383 except DocumentTooLarge, exc:
- 384 # MongoDB 2.6 uses error code 2 for "too large".
- 385 error = _make_error(
- 386 run.index(idx), _BAD_VALUE, str(exc), operation)
- 387 full_result['writeErrors'].append(error)
- 388 if self.ordered:
- Variables:
- run = <pymongo.bulk._Run object at 0x80fd0b150>
- generator = <generator object gen_ordered at 0x80fd0d5f0>
- idx = 0
- self = <pymongo.bulk._Bulk object at 0x80fd23d10>
- stop = False
- coll =
- Collection(Database(Connection('localhost', 27017), u'noc'), u'noc.pm.probeconfig')
- result = None
- full_result =
- {'nInserted': 0,
- 'nMatched': 0,
- 'nRemoved': 0,
- 'nUpserted': 0,
- 'upserted': [],
- 'writeConcernErrors': [],
- 'writeErrors': []}
- operation =
- SON([('q', {'model_id': u'inv.Interface', 'object_id': '533d4239f3b68214c5348175'}), ('u', {'$set': {'changed': datetime.datetime(2030, 1, 1, 0, 0), 'expire': datetime.datetime(2030, 1, 1, 0, 0)}}), ('multi', True), ('upsert', False)])
- write_concern = {}
- ------------------------------------------------------------------------
- File: /opt/noc/lib/python2.7/site-packages/pymongo/bulk.py (Line: 435)
- Function: execute
- 428 generator = self.gen_unordered()
- 429
- 430 if write_concern.get('w') == 0:
- 431 self.execute_no_results(generator)
- 432 elif client.max_wire_version > 1:
- 433 return self.execute_command(generator, write_concern)
- 434 else:
- 435 ==> return self.execute_legacy(generator, write_concern)
- 436
- 437
- 438 class BulkUpsertOperation(object):
- 439 """An interface for adding upsert operations.
- 440 """
- 441
- Variables:
- self = <pymongo.bulk._Bulk object at 0x80fd23d10>
- client = Connection('localhost', 27017)
- write_concern = {}
- generator = <generator object gen_ordered at 0x80fd0d5f0>
- ------------------------------------------------------------------------
- File: /opt/noc/lib/python2.7/site-packages/pymongo/bulk.py (Line: 587)
- Function: execute
- 580
- 581 :Parameters:
- 582 - write_concern (optional): the write concern for this bulk
- 583 execution.
- 584 """
- 585 if write_concern and not isinstance(write_concern, dict):
- 586 raise TypeError('write_concern must be an instance of dict')
- 587 ==> return self.__bulk.execute(write_concern)
- Variables:
- self = <pymongo.bulk.BulkOperationBuilder object at 0x80fd1ff68>
- write_concern = None
- ------------------------------------------------------------------------
- File: /opt/noc/pm/models/probeconfig.py (Line: 201)
- Function: _refresh_object
- 194
- 195 collectors = {} # Storage rule -> collector url
- 196 # @todo: Make configurable
- 197 now = datetime.datetime.now()
- 198 expire = now + datetime.timedelta(seconds=cls.EXPIRE)
- 199 bulk = cls._get_collection().initialize_ordered_bulk_op()
- 200 get_refresh_ops(bulk, object)
- 201 ==> bulk.execute()
- 202
- 203 @classmethod
- 204 def on_change_model(cls, sender, instance, *args, **kwargs):
- 205 cls._refresh_object(instance)
- 206
- 207 @classmethod
- Variables:
- collectors = {}
- object = <Interface: cat-proletarka: Vl 1>
- bulk = <pymongo.bulk.BulkOperationBuilder object at 0x80fd1ff68>
- get_collector = <function get_collector at 0x80fd2ce60>
- expire = datetime.datetime(2014, 9, 2, 18, 23, 4, 191977)
- get_refresh_ops = <function get_refresh_ops at 0x80fd2c320>
- now = datetime.datetime(2014, 9, 2, 17, 23, 4, 191977)
- get_instance = <function get_instance at 0x80fd2c488>
- cls = <class 'noc.pm.models.probeconfig.ProbeConfig'>
- ------------------------------------------------------------------------
- File: /opt/noc/pm/models/probeconfig.py (Line: 209)
- Function: on_change_document
- 202
- 203 @classmethod
- 204 def on_change_model(cls, sender, instance, *args, **kwargs):
- 205 cls._refresh_object(instance)
- 206
- 207 @classmethod
- 208 def on_change_document(cls, sender, document=None, *args, **kwargs):
- 209 ==> cls._refresh_object(document)
- 210
- 211 @classmethod
- 212 def on_delete_model(cls, sender, instance, *args, **kwargs):
- 213 cls._delete_object(instance)
- 214 # Rebuild configs for related objects
- 215 for m, n in cls.PROFILES[sender]:
- Variables:
- cls = <class 'noc.pm.models.probeconfig.ProbeConfig'>
- args = ()
- sender = <class 'noc.inv.models.interface.Interface'>
- document = <Interface: cat-proletarka: Vl 1>
- kwargs = {'created': False}
- ------------------------------------------------------------------------
- File: /opt/noc/lib/python2.7/site-packages/blinker/base.py (Line: 267)
- Function: send
- 260 '%s given' % len(sender))
- 261 else:
- 262 sender = sender[0]
- 263 if not self.receivers:
- 264 return []
- 265 else:
- 266 return [(receiver, receiver(sender, **kwargs))
- 267 ==> for receiver in self.receivers_for(sender)]
- 268
- 269 def has_receivers_for(self, sender):
- 270 """True if there is probably a receiver for *sender*.
- 271
- 272 Performs an optimistic check only. Does not guarantee that all
- 273 weakly referenced receivers are still alive. See
- Variables:
- self = <blinker.base.NamedSignal object at 0x80767afd0; 'post_save'>
- kwargs = {'document': <Interface: cat-proletarka: Vl 1>, 'created': False}
- sender = <class 'noc.inv.models.interface.Interface'>
- receiver =
- <bound method ?.on_change_document of <class 'noc.pm.models.probeconfig.ProbeConfig'>>
- ------------------------------------------------------------------------
- File: /opt/noc/lib/python2.7/site-packages/mongoengine/document.py (Line: 242)
- Function: save
- 235 message = u'Tried to save duplicate unique keys (%s)'
- 236 raise OperationError(message % unicode(err))
- 237 id_field = self._meta['id_field']
- 238 self[id_field] = self._fields[id_field].to_python(object_id)
- 239
- 240 self._changed_fields = []
- 241 self._created = False
- 242 ==> signals.post_save.send(self.__class__, document=self, created=created)
- 243 return self
- 244
- 245 def cascade_save(self, *args, **kwargs):
- 246 """Recursively saves any references / generic references on an object"""
- 247 from fields import ReferenceField, GenericReferenceField
- 248 _refs = kwargs.get('_refs', []) or []
- Variables:
- safe = True
- removals = {'ifindex': 1}
- object_id = ObjectId('533d4239f3b68214c5348175')
- select_dict = {'_id': ObjectId('533d4239f3b68214c5348175')}
- doc =
- {'_id': ObjectId('533d4239f3b68214c5348175'),
- 'enabled_protocols': [u'CTP'],
- 'mac': u'00:1B:53:CB:63:40',
- 'managed_object': 830,
- 'name': u'Vl 1',
- 'profile': ObjectId('5221b7f7f3b68240bff82d29'),
- 'profile_locked': False,
- 'technologies': [],
- 'type': u'SVI'}
- self = <Interface: cat-proletarka: Vl 1>
- created = False
- _refs = None
- shard_key = ()
- id_field = 'id'
- cascade = True
- updates = {'mac': u'00:1B:53:CB:63:40', 'name': u'Vl 1'}
- cascade_kwargs = None
- kwargs =
- {'_refs': None,
- 'cascade': True,
- 'force_insert': False,
- 'safe': True,
- 'validate': True,
- 'write_options': {}}
- collection =
- Collection(Database(Connection('localhost', 27017), u'noc'), u'noc.interfaces')
- write_options = {}
- force_insert = False
- validate = True
- upsert = False
- ------------------------------------------------------------------------
- File: /opt/noc/inv/models/interface.py (Line: 77)
- Function: save
- 70 def __unicode__(self):
- 71 return u"%s: %s" % (self.managed_object.name, self.name)
- 72
- 73 def save(self, *args, **kwargs):
- 74 self.name = self.managed_object.profile.convert_interface_name(self.name)
- 75 if self.mac:
- 76 self.mac = MACAddressParameter().clean(self.mac)
- 77 ==> super(Interface, self).save(*args, **kwargs)
- 78
- 79 def delete(self, *args, **kwargs):
- 80 # Remove all subinterfaces
- 81 for si in self.subinterface_set.all():
- 82 si.delete()
- 83 # Unlink
- Variables:
- self = <Interface: cat-proletarka: Vl 1>
- args = ()
- kwargs = {}
- ------------------------------------------------------------------------
- File: /opt/noc/inv/discovery/reports/base.py (Line: 60)
- Function: update_if_changed
- 53 for k, v in values.items():
- 54 vv = getattr(obj, k)
- 55 if v != vv:
- 56 if type(v) != int or not hasattr(vv, "id") or v != vv.id:
- 57 setattr(obj, k, v)
- 58 changes += [(k, v)]
- 59 if changes:
- 60 ==> obj.save()
- 61 return changes
- 62
- 63 def log_changes(self, msg, changes):
- 64 """
- 65 Log changes
- 66 :param msg: Message
- Variables:
- obj = <Interface: cat-proletarka: Vl 1>
- k = 'type'
- values =
- {'aggregated_interface': None,
- 'description': None,
- 'enabled_protocols': ['CTP'],
- 'ifindex': None,
- 'mac': '00:1B:53:CB:63:40',
- 'type': 'SVI'}
- vv = u'SVI'
- v = 'SVI'
- changes = [('ifindex', None)]
- self =
- <noc.inv.discovery.reports.interfacereport.InterfaceReport object at 0x80aef7d90>
- ------------------------------------------------------------------------
- File: /opt/noc/inv/discovery/reports/interfacereport.py (Line: 142)
- Function: submit_interface
- 135 # Interface exists
- 136 changes = self.update_if_changed(iface, {
- 137 "type": type,
- 138 "mac": mac,
- 139 "description": description,
- 140 "aggregated_interface": aggregated_interface,
- 141 "enabled_protocols": enabled_protocols,
- 142 ==> "ifindex": ifindex
- 143 })
- 144 self.log_changes("Interface '%s' has been changed" % name,
- 145 changes)
- 146 else:
- 147 # Create interface
- 148 self.info("Creating interface '%s'" % name)
- Variables:
- iface = <Interface: cat-proletarka: Vl 1>
- description = None
- enabled_protocols = ['CTP']
- self =
- <noc.inv.discovery.reports.interfacereport.InterfaceReport object at 0x80aef7d90>
- mac = '00:1B:53:CB:63:40'
- aggregated_interface = None
- ifindex = None
- type = 'SVI'
- name = 'Vl 1'
- ------------------------------------------------------------------------
- File: /opt/noc/inv/discovery/jobs/interface_discovery.py (Line: 85)
- Function: handler
- 78 continue
- 79 # Submit discovered interface
- 80 iface = self.report.submit_interface(
- 81 name=i["name"], type=i["type"], mac=i.get("mac"),
- 82 description=i.get("description"),
- 83 aggregated_interface=agg,
- 84 enabled_protocols=i.get("enabled_protocols", []),
- 85 ==> ifindex=i.get("snmp_ifindex")
- 86 )
- 87 icache[i["name"]] = iface
- 88 # Submit subinterfaces
- 89 for si in i["subinterfaces"]:
- 90 self.report.submit_subinterface(
- 91 forwarding_instance=forwarding_instance,
- Variables:
- icache = {}
- ifaces =
- [{'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 1,
- 'mac': '00:1B:53:CB:63:40',
- 'name': 'Vl 1',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': [],
- 'enabled_protocols': [],
- 'ifindex': 1,
- 'mac': '00:1B:53:CB:63:40',
- 'name': 'Vl 1',
- 'oper_status': False,
- 'vlan_ids': [1]}],
- 'type': 'SVI'},
- {'admin_status': True,
- 'description': 'Management',
- 'enabled_protocols': ['CTP'],
- 'ifindex': 1007,
- 'mac': '00:1B:53:CB:63:41',
- 'name': 'Vl 1007',
- 'oper_status': True,
- 'subinterfaces': [{'admin_status': True,
- 'description': 'Management',
- 'enabled_afi': ['IPv4'],
- 'enabled_protocols': [],
- 'ifindex': 1007,
- 'ipv4_addresses': ['192.168.82.129/28'],
- 'mac': '00:1B:53:CB:63:41',
- 'name': 'Vl 1007',
- 'oper_status': True,
- 'vlan_ids': [1007]}],
- 'type': 'SVI'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10101,
- 'mac': '00:1B:53:CB:63:01',
- 'name': 'Gi 0/1',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10101,
- 'mac': '00:1B:53:CB:63:01',
- 'name': 'Gi 0/1',
- 'oper_status': False,
- 'untagged_vlan': 25}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10102,
- 'mac': '00:1B:53:CB:63:02',
- 'name': 'Gi 0/2',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10102,
- 'mac': '00:1B:53:CB:63:02',
- 'name': 'Gi 0/2',
- 'oper_status': False,
- 'untagged_vlan': 26}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10103,
- 'mac': '00:1B:53:CB:63:03',
- 'name': 'Gi 0/3',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10103,
- 'mac': '00:1B:53:CB:63:03',
- 'name': 'Gi 0/3',
- 'oper_status': False,
- 'untagged_vlan': 27}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10104,
- 'mac': '00:1B:53:CB:63:04',
- 'name': 'Gi 0/4',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10104,
- 'mac': '00:1B:53:CB:63:04',
- 'name': 'Gi 0/4',
- 'oper_status': False,
- 'untagged_vlan': 28}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10105,
- 'mac': '00:1B:53:CB:63:05',
- 'name': 'Gi 0/5',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10105,
- 'mac': '00:1B:53:CB:63:05',
- 'name': 'Gi 0/5',
- 'oper_status': False,
- 'untagged_vlan': 29}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10106,
- 'mac': '00:1B:53:CB:63:06',
- 'name': 'Gi 0/6',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10106,
- 'mac': '00:1B:53:CB:63:06',
- 'name': 'Gi 0/6',
- 'oper_status': False,
- 'untagged_vlan': 30}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10107,
- 'mac': '00:1B:53:CB:63:07',
- 'name': 'Gi 0/7',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10107,
- 'mac': '00:1B:53:CB:63:07',
- 'name': 'Gi 0/7',
- 'oper_status': False,
- 'untagged_vlan': 31}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10108,
- 'mac': '00:1B:53:CB:63:08',
- 'name': 'Gi 0/8',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10108,
- 'mac': '00:1B:53:CB:63:08',
- 'name': 'Gi 0/8',
- 'oper_status': False,
- 'untagged_vlan': 32}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10109,
- 'mac': '00:1B:53:CB:63:09',
- 'name': 'Gi 0/9',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10109,
- 'mac': '00:1B:53:CB:63:09',
- 'name': 'Gi 0/9',
- 'oper_status': False,
- 'untagged_vlan': 33}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10110,
- 'mac': '00:1B:53:CB:63:0A',
- 'name': 'Gi 0/10',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10110,
- 'mac': '00:1B:53:CB:63:0A',
- 'name': 'Gi 0/10',
- 'oper_status': False,
- 'untagged_vlan': 34}],
- 'type': 'physical'},
- {'admin_status': True,
- 'description': 'elcom-proletarka',
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10111,
- 'mac': '00:1B:53:CB:63:0B',
- 'name': 'Gi 0/11',
- 'oper_status': True,
- 'subinterfaces': [{'admin_status': True,
- 'description': 'elcom-proletarka',
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10111,
- 'mac': '00:1B:53:CB:63:0B',
- 'name': 'Gi 0/11',
- 'oper_status': True,
- 'untagged_vlan': 35}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10112,
- 'mac': '00:1B:53:CB:63:0C',
- 'name': 'Gi 0/12',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10112,
- 'mac': '00:1B:53:CB:63:0C',
- 'name': 'Gi 0/12',
- 'oper_status': False,
- 'untagged_vlan': 36}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10113,
- 'mac': '00:1B:53:CB:63:0D',
- 'name': 'Gi 0/13',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10113,
- 'mac': '00:1B:53:CB:63:0D',
- 'name': 'Gi 0/13',
- 'oper_status': False,
- 'tagged_vlans': [25,
- 26,
- 27,
- 28,
- 29,
- 30,
- 31,
- 32,
- 33,
- 34,
- 35,
- 36,
- 37,
- 38,
- 39,
- 40,
- 41,
- 42,
- 43,
- 44,
- 45,
- 46,
- 47,
- 48,
- 49,
- 50,
- 51,
- 52,
- 53,
- 54,
- 55,
- 56,
- 57,
- 58,
- 59,
- 60,
- 61,
- 62,
- 63,
- 64,
- 65,
- 66,
- 67,
- 68,
- 69,
- 70,
- 71,
- 72,
- 73,
- 74,
- 75,
- 76,
- 77,
- 78,
- 79,
- 80,
- 81,
- 82,
- 83,
- 84,
- 85,
- 86,
- 87,
- 88,
- 89,
- 90,
- 91,
- 92,
- 93,
- 94,
- 95,
- 96,
- 97,
- 98,
- 99,
- 100,
- 101,
- 102,
- 103,
- 104,
- 105,
- 106,
- 107,
- 108,
- 109,
- 110,
- 111,
- 112,
- 113,
- 114,
- 115,
- 116,
- 117,
- 118,
- 119,
- 120,
- 121,
- 122,
- 123,
- 124,
- 125,
- 126,
- 127,
- 128,
- 129,
- 130,
- 131,
- 132,
- 133,
- 134,
- 135,
- 136,
- 137,
- 138,
- 139,
- 140,
- 141,
- 142,
- 143,
- 144,
- 145,
- 146,
- 147,
- 148,
- 149,
- 150,
- 151,
- 152,
- 153,
- 154,
- 155,
- 156,
- 157,
- 158,
- 159,
- 160,
- 161,
- 162,
- 163,
- 164,
- 165,
- 166,
- 167,
- 168,
- 169,
- 170,
- 171,
- 172,
- 173,
- 174,
- 175,
- 176,
- 177,
- 178,
- 179,
- 180,
- 181,
- 182,
- 183,
- 184,
- 185,
- 186,
- 187,
- 188,
- 189,
- 190,
- 191,
- 192,
- 193,
- 194,
- 195,
- 196,
- 197,
- 198,
- 199,
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 209,
- 210,
- 211,
- 212,
- 213,
- 214,
- 215,
- 216,
- 217,
- 218,
- 219,
- 220,
- 221,
- 222,
- 223,
- 224,
- 225,
- 226,
- 227,
- 228,
- 229,
- 230,
- 231,
- 232,
- 233,
- 234,
- 235,
- 236,
- 237,
- 238,
- 239,
- 240,
- 241,
- 242,
- 243,
- 244,
- 245,
- 246,
- 247,
- 248,
- 249,
- 250,
- 251,
- 252,
- 253,
- 254,
- 255,
- 256,
- 257,
- 258,
- 259,
- 260,
- 261,
- 262,
- 263,
- 264,
- 265,
- 266,
- 267,
- 268,
- 269,
- 270,
- 271,
- 272,
- 273,
- 274,
- 275,
- 276,
- 277,
- 278,
- 279,
- 280,
- 281,
- 282,
- 283,
- 284,
- 285,
- 286,
- 287,
- 288,
- 289,
- 290,
- 291,
- 292,
- 293,
- 294,
- 295,
- 296,
- 297,
- 298,
- 299,
- 300,
- 1007,
- 1008,
- 1011],
- 'untagged_vlan': 1}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10114,
- 'mac': '00:1B:53:CB:63:0E',
- 'name': 'Gi 0/14',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10114,
- 'mac': '00:1B:53:CB:63:0E',
- 'name': 'Gi 0/14',
- 'oper_status': False,
- 'tagged_vlans': [25,
- 26,
- 27,
- 28,
- 29,
- 30,
- 31,
- 32,
- 33,
- 34,
- 35,
- 36,
- 37,
- 38,
- 39,
- 40,
- 41,
- 42,
- 43,
- 44,
- 45,
- 46,
- 47,
- 48,
- 49,
- 50,
- 51,
- 52,
- 53,
- 54,
- 55,
- 56,
- 57,
- 58,
- 59,
- 60,
- 61,
- 62,
- 63,
- 64,
- 65,
- 66,
- 67,
- 68,
- 69,
- 70,
- 71,
- 72,
- 73,
- 74,
- 75,
- 76,
- 77,
- 78,
- 79,
- 80,
- 81,
- 82,
- 83,
- 84,
- 85,
- 86,
- 87,
- 88,
- 89,
- 90,
- 91,
- 92,
- 93,
- 94,
- 95,
- 96,
- 97,
- 98,
- 99,
- 100,
- 101,
- 102,
- 103,
- 104,
- 105,
- 106,
- 107,
- 108,
- 109,
- 110,
- 111,
- 112,
- 113,
- 114,
- 115,
- 116,
- 117,
- 118,
- 119,
- 120,
- 121,
- 122,
- 123,
- 124,
- 125,
- 126,
- 127,
- 128,
- 129,
- 130,
- 131,
- 132,
- 133,
- 134,
- 135,
- 136,
- 137,
- 138,
- 139,
- 140,
- 141,
- 142,
- 143,
- 144,
- 145,
- 146,
- 147,
- 148,
- 149,
- 150,
- 151,
- 152,
- 153,
- 154,
- 155,
- 156,
- 157,
- 158,
- 159,
- 160,
- 161,
- 162,
- 163,
- 164,
- 165,
- 166,
- 167,
- 168,
- 169,
- 170,
- 171,
- 172,
- 173,
- 174,
- 175,
- 176,
- 177,
- 178,
- 179,
- 180,
- 181,
- 182,
- 183,
- 184,
- 185,
- 186,
- 187,
- 188,
- 189,
- 190,
- 191,
- 192,
- 193,
- 194,
- 195,
- 196,
- 197,
- 198,
- 199,
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 209,
- 210,
- 211,
- 212,
- 213,
- 214,
- 215,
- 216,
- 217,
- 218,
- 219,
- 220,
- 221,
- 222,
- 223,
- 224,
- 225,
- 226,
- 227,
- 228,
- 229,
- 230,
- 231,
- 232,
- 233,
- 234,
- 235,
- 236,
- 237,
- 238,
- 239,
- 240,
- 241,
- 242,
- 243,
- 244,
- 245,
- 246,
- 247,
- 248,
- 249,
- 250,
- 251,
- 252,
- 253,
- 254,
- 255,
- 256,
- 257,
- 258,
- 259,
- 260,
- 261,
- 262,
- 263,
- 264,
- 265,
- 266,
- 267,
- 268,
- 269,
- 270,
- 271,
- 272,
- 273,
- 274,
- 275,
- 276,
- 277,
- 278,
- 279,
- 280,
- 281,
- 282,
- 283,
- 284,
- 285,
- 286,
- 287,
- 288,
- 289,
- 290,
- 291,
- 292,
- 293,
- 294,
- 295,
- 296,
- 297,
- 298,
- 299,
- 300,
- 1007,
- 1008,
- 1011],
- 'untagged_vlan': 1}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10115,
- 'mac': '00:1B:53:CB:63:0F',
- 'name': 'Gi 0/15',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10115,
- 'mac': '00:1B:53:CB:63:0F',
- 'name': 'Gi 0/15',
- 'oper_status': False,
- 'tagged_vlans': [25,
- 26,
- 27,
- 28,
- 29,
- 30,
- 31,
- 32,
- 33,
- 34,
- 35,
- 36,
- 37,
- 38,
- 39,
- 40,
- 41,
- 42,
- 43,
- 44,
- 45,
- 46,
- 47,
- 48,
- 49,
- 50,
- 51,
- 52,
- 53,
- 54,
- 55,
- 56,
- 57,
- 58,
- 59,
- 60,
- 61,
- 62,
- 63,
- 64,
- 65,
- 66,
- 67,
- 68,
- 69,
- 70,
- 71,
- 72,
- 73,
- 74,
- 75,
- 76,
- 77,
- 78,
- 79,
- 80,
- 81,
- 82,
- 83,
- 84,
- 85,
- 86,
- 87,
- 88,
- 89,
- 90,
- 91,
- 92,
- 93,
- 94,
- 95,
- 96,
- 97,
- 98,
- 99,
- 100,
- 101,
- 102,
- 103,
- 104,
- 105,
- 106,
- 107,
- 108,
- 109,
- 110,
- 111,
- 112,
- 113,
- 114,
- 115,
- 116,
- 117,
- 118,
- 119,
- 120,
- 121,
- 122,
- 123,
- 124,
- 125,
- 126,
- 127,
- 128,
- 129,
- 130,
- 131,
- 132,
- 133,
- 134,
- 135,
- 136,
- 137,
- 138,
- 139,
- 140,
- 141,
- 142,
- 143,
- 144,
- 145,
- 146,
- 147,
- 148,
- 149,
- 150,
- 151,
- 152,
- 153,
- 154,
- 155,
- 156,
- 157,
- 158,
- 159,
- 160,
- 161,
- 162,
- 163,
- 164,
- 165,
- 166,
- 167,
- 168,
- 169,
- 170,
- 171,
- 172,
- 173,
- 174,
- 175,
- 176,
- 177,
- 178,
- 179,
- 180,
- 181,
- 182,
- 183,
- 184,
- 185,
- 186,
- 187,
- 188,
- 189,
- 190,
- 191,
- 192,
- 193,
- 194,
- 195,
- 196,
- 197,
- 198,
- 199,
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 209,
- 210,
- 211,
- 212,
- 213,
- 214,
- 215,
- 216,
- 217,
- 218,
- 219,
- 220,
- 221,
- 222,
- 223,
- 224,
- 225,
- 226,
- 227,
- 228,
- 229,
- 230,
- 231,
- 232,
- 233,
- 234,
- 235,
- 236,
- 237,
- 238,
- 239,
- 240,
- 241,
- 242,
- 243,
- 244,
- 245,
- 246,
- 247,
- 248,
- 249,
- 250,
- 251,
- 252,
- 253,
- 254,
- 255,
- 256,
- 257,
- 258,
- 259,
- 260,
- 261,
- 262,
- 263,
- 264,
- 265,
- 266,
- 267,
- 268,
- 269,
- 270,
- 271,
- 272,
- 273,
- 274,
- 275,
- 276,
- 277,
- 278,
- 279,
- 280,
- 281,
- 282,
- 283,
- 284,
- 285,
- 286,
- 287,
- 288,
- 289,
- 290,
- 291,
- 292,
- 293,
- 294,
- 295,
- 296,
- 297,
- 298,
- 299,
- 300,
- 1007,
- 1008,
- 1011],
- 'untagged_vlan': 1}],
- 'type': 'physical'},
- {'admin_status': True,
- 'description': 'bb-proletarka',
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10116,
- 'mac': '00:1B:53:CB:63:10',
- 'name': 'Gi 0/16',
- 'oper_status': True,
- 'subinterfaces': [{'admin_status': True,
- 'description': 'bb-proletarka',
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10116,
- 'mac': '00:1B:53:CB:63:10',
- 'name': 'Gi 0/16',
- 'oper_status': True,
- 'tagged_vlans': [25,
- 26,
- 27,
- 28,
- 29,
- 30,
- 31,
- 32,
- 33,
- 34,
- 35,
- 36,
- 37,
- 38,
- 39,
- 40,
- 41,
- 42,
- 43,
- 44,
- 45,
- 46,
- 47,
- 48,
- 49,
- 50,
- 51,
- 52,
- 53,
- 54,
- 55,
- 56,
- 57,
- 58,
- 59,
- 60,
- 61,
- 62,
- 63,
- 64,
- 65,
- 66,
- 67,
- 68,
- 69,
- 70,
- 71,
- 72,
- 73,
- 74,
- 75,
- 76,
- 77,
- 78,
- 79,
- 80,
- 81,
- 82,
- 83,
- 84,
- 85,
- 86,
- 87,
- 88,
- 89,
- 90,
- 91,
- 92,
- 93,
- 94,
- 95,
- 96,
- 97,
- 98,
- 99,
- 100,
- 101,
- 102,
- 103,
- 104,
- 105,
- 106,
- 107,
- 108,
- 109,
- 110,
- 111,
- 112,
- 113,
- 114,
- 115,
- 116,
- 117,
- 118,
- 119,
- 120,
- 121,
- 122,
- 123,
- 124,
- 125,
- 126,
- 127,
- 128,
- 129,
- 130,
- 131,
- 132,
- 133,
- 134,
- 135,
- 136,
- 137,
- 138,
- 139,
- 140,
- 141,
- 142,
- 143,
- 144,
- 145,
- 146,
- 147,
- 148,
- 149,
- 150,
- 151,
- 152,
- 153,
- 154,
- 155,
- 156,
- 157,
- 158,
- 159,
- 160,
- 161,
- 162,
- 163,
- 164,
- 165,
- 166,
- 167,
- 168,
- 169,
- 170,
- 171,
- 172,
- 173,
- 174,
- 175,
- 176,
- 177,
- 178,
- 179,
- 180,
- 181,
- 182,
- 183,
- 184,
- 185,
- 186,
- 187,
- 188,
- 189,
- 190,
- 191,
- 192,
- 193,
- 194,
- 195,
- 196,
- 197,
- 198,
- 199,
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 209,
- 210,
- 211,
- 212,
- 213,
- 214,
- 215,
- 216,
- 217,
- 218,
- 219,
- 220,
- 221,
- 222,
- 223,
- 224,
- 225,
- 226,
- 227,
- 228,
- 229,
- 230,
- 231,
- 232,
- 233,
- 234,
- 235,
- 236,
- 237,
- 238,
- 239,
- 240,
- 241,
- 242,
- 243,
- 244,
- 245,
- 246,
- 247,
- 248,
- 249,
- 250,
- 251,
- 252,
- 253,
- 254,
- 255,
- 256,
- 257,
- 258,
- 259,
- 260,
- 261,
- 262,
- 263,
- 264,
- 265,
- 266,
- 267,
- 268,
- 269,
- 270,
- 271,
- 272,
- 273,
- 274,
- 275,
- 276,
- 277,
- 278,
- 279,
- 280,
- 281,
- 282,
- 283,
- 284,
- 285,
- 286,
- 287,
- 288,
- 289,
- 290,
- 291,
- 292,
- 293,
- 294,
- 295,
- 296,
- 297,
- 298,
- 299,
- 300,
- 1007,
- 1008,
- 1011],
- 'untagged_vlan': 1}],
- 'type': 'physical'}]
- agg = None
- self =
- <noc.inv.discovery.jobs.interface_discovery.InterfaceDiscoveryJob object at 0x80fd223d0>
- object = <ManagedObject: cat-proletarka>
- i =
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 1,
- 'mac': '00:1B:53:CB:63:40',
- 'name': 'Vl 1',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': [],
- 'enabled_protocols': [],
- 'ifindex': 1,
- 'mac': '00:1B:53:CB:63:40',
- 'name': 'Vl 1',
- 'oper_status': False,
- 'vlan_ids': [1]}],
- 'type': 'SVI'}
- result =
- [{'forwarding_instance': 'default',
- 'interfaces': [{'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 1,
- 'mac': '00:1B:53:CB:63:40',
- 'name': 'Vl 1',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': [],
- 'enabled_protocols': [],
- 'ifindex': 1,
- 'mac': '00:1B:53:CB:63:40',
- 'name': 'Vl 1',
- 'oper_status': False,
- 'vlan_ids': [1]}],
- 'type': 'SVI'},
- {'admin_status': True,
- 'description': 'Management',
- 'enabled_protocols': ['CTP'],
- 'ifindex': 1007,
- 'mac': '00:1B:53:CB:63:41',
- 'name': 'Vl 1007',
- 'oper_status': True,
- 'subinterfaces': [{'admin_status': True,
- 'description': 'Management',
- 'enabled_afi': ['IPv4'],
- 'enabled_protocols': [],
- 'ifindex': 1007,
- 'ipv4_addresses': ['192.168.82.129/28'],
- 'mac': '00:1B:53:CB:63:41',
- 'name': 'Vl 1007',
- 'oper_status': True,
- 'vlan_ids': [1007]}],
- 'type': 'SVI'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10101,
- 'mac': '00:1B:53:CB:63:01',
- 'name': 'Gi 0/1',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10101,
- 'mac': '00:1B:53:CB:63:01',
- 'name': 'Gi 0/1',
- 'oper_status': False,
- 'untagged_vlan': 25}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10102,
- 'mac': '00:1B:53:CB:63:02',
- 'name': 'Gi 0/2',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10102,
- 'mac': '00:1B:53:CB:63:02',
- 'name': 'Gi 0/2',
- 'oper_status': False,
- 'untagged_vlan': 26}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10103,
- 'mac': '00:1B:53:CB:63:03',
- 'name': 'Gi 0/3',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10103,
- 'mac': '00:1B:53:CB:63:03',
- 'name': 'Gi 0/3',
- 'oper_status': False,
- 'untagged_vlan': 27}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10104,
- 'mac': '00:1B:53:CB:63:04',
- 'name': 'Gi 0/4',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10104,
- 'mac': '00:1B:53:CB:63:04',
- 'name': 'Gi 0/4',
- 'oper_status': False,
- 'untagged_vlan': 28}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10105,
- 'mac': '00:1B:53:CB:63:05',
- 'name': 'Gi 0/5',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10105,
- 'mac': '00:1B:53:CB:63:05',
- 'name': 'Gi 0/5',
- 'oper_status': False,
- 'untagged_vlan': 29}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10106,
- 'mac': '00:1B:53:CB:63:06',
- 'name': 'Gi 0/6',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10106,
- 'mac': '00:1B:53:CB:63:06',
- 'name': 'Gi 0/6',
- 'oper_status': False,
- 'untagged_vlan': 30}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10107,
- 'mac': '00:1B:53:CB:63:07',
- 'name': 'Gi 0/7',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10107,
- 'mac': '00:1B:53:CB:63:07',
- 'name': 'Gi 0/7',
- 'oper_status': False,
- 'untagged_vlan': 31}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10108,
- 'mac': '00:1B:53:CB:63:08',
- 'name': 'Gi 0/8',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10108,
- 'mac': '00:1B:53:CB:63:08',
- 'name': 'Gi 0/8',
- 'oper_status': False,
- 'untagged_vlan': 32}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10109,
- 'mac': '00:1B:53:CB:63:09',
- 'name': 'Gi 0/9',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10109,
- 'mac': '00:1B:53:CB:63:09',
- 'name': 'Gi 0/9',
- 'oper_status': False,
- 'untagged_vlan': 33}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10110,
- 'mac': '00:1B:53:CB:63:0A',
- 'name': 'Gi 0/10',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10110,
- 'mac': '00:1B:53:CB:63:0A',
- 'name': 'Gi 0/10',
- 'oper_status': False,
- 'untagged_vlan': 34}],
- 'type': 'physical'},
- {'admin_status': True,
- 'description': 'elcom-proletarka',
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10111,
- 'mac': '00:1B:53:CB:63:0B',
- 'name': 'Gi 0/11',
- 'oper_status': True,
- 'subinterfaces': [{'admin_status': True,
- 'description': 'elcom-proletarka',
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10111,
- 'mac': '00:1B:53:CB:63:0B',
- 'name': 'Gi 0/11',
- 'oper_status': True,
- 'untagged_vlan': 35}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10112,
- 'mac': '00:1B:53:CB:63:0C',
- 'name': 'Gi 0/12',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10112,
- 'mac': '00:1B:53:CB:63:0C',
- 'name': 'Gi 0/12',
- 'oper_status': False,
- 'untagged_vlan': 36}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10113,
- 'mac': '00:1B:53:CB:63:0D',
- 'name': 'Gi 0/13',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10113,
- 'mac': '00:1B:53:CB:63:0D',
- 'name': 'Gi 0/13',
- 'oper_status': False,
- 'tagged_vlans': [25,
- 26,
- 27,
- 28,
- 29,
- 30,
- 31,
- 32,
- 33,
- 34,
- 35,
- 36,
- 37,
- 38,
- 39,
- 40,
- 41,
- 42,
- 43,
- 44,
- 45,
- 46,
- 47,
- 48,
- 49,
- 50,
- 51,
- 52,
- 53,
- 54,
- 55,
- 56,
- 57,
- 58,
- 59,
- 60,
- 61,
- 62,
- 63,
- 64,
- 65,
- 66,
- 67,
- 68,
- 69,
- 70,
- 71,
- 72,
- 73,
- 74,
- 75,
- 76,
- 77,
- 78,
- 79,
- 80,
- 81,
- 82,
- 83,
- 84,
- 85,
- 86,
- 87,
- 88,
- 89,
- 90,
- 91,
- 92,
- 93,
- 94,
- 95,
- 96,
- 97,
- 98,
- 99,
- 100,
- 101,
- 102,
- 103,
- 104,
- 105,
- 106,
- 107,
- 108,
- 109,
- 110,
- 111,
- 112,
- 113,
- 114,
- 115,
- 116,
- 117,
- 118,
- 119,
- 120,
- 121,
- 122,
- 123,
- 124,
- 125,
- 126,
- 127,
- 128,
- 129,
- 130,
- 131,
- 132,
- 133,
- 134,
- 135,
- 136,
- 137,
- 138,
- 139,
- 140,
- 141,
- 142,
- 143,
- 144,
- 145,
- 146,
- 147,
- 148,
- 149,
- 150,
- 151,
- 152,
- 153,
- 154,
- 155,
- 156,
- 157,
- 158,
- 159,
- 160,
- 161,
- 162,
- 163,
- 164,
- 165,
- 166,
- 167,
- 168,
- 169,
- 170,
- 171,
- 172,
- 173,
- 174,
- 175,
- 176,
- 177,
- 178,
- 179,
- 180,
- 181,
- 182,
- 183,
- 184,
- 185,
- 186,
- 187,
- 188,
- 189,
- 190,
- 191,
- 192,
- 193,
- 194,
- 195,
- 196,
- 197,
- 198,
- 199,
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 209,
- 210,
- 211,
- 212,
- 213,
- 214,
- 215,
- 216,
- 217,
- 218,
- 219,
- 220,
- 221,
- 222,
- 223,
- 224,
- 225,
- 226,
- 227,
- 228,
- 229,
- 230,
- 231,
- 232,
- 233,
- 234,
- 235,
- 236,
- 237,
- 238,
- 239,
- 240,
- 241,
- 242,
- 243,
- 244,
- 245,
- 246,
- 247,
- 248,
- 249,
- 250,
- 251,
- 252,
- 253,
- 254,
- 255,
- 256,
- 257,
- 258,
- 259,
- 260,
- 261,
- 262,
- 263,
- 264,
- 265,
- 266,
- 267,
- 268,
- 269,
- 270,
- 271,
- 272,
- 273,
- 274,
- 275,
- 276,
- 277,
- 278,
- 279,
- 280,
- 281,
- 282,
- 283,
- 284,
- 285,
- 286,
- 287,
- 288,
- 289,
- 290,
- 291,
- 292,
- 293,
- 294,
- 295,
- 296,
- 297,
- 298,
- 299,
- 300,
- 1007,
- 1008,
- 1011],
- 'untagged_vlan': 1}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10114,
- 'mac': '00:1B:53:CB:63:0E',
- 'name': 'Gi 0/14',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10114,
- 'mac': '00:1B:53:CB:63:0E',
- 'name': 'Gi 0/14',
- 'oper_status': False,
- 'tagged_vlans': [25,
- 26,
- 27,
- 28,
- 29,
- 30,
- 31,
- 32,
- 33,
- 34,
- 35,
- 36,
- 37,
- 38,
- 39,
- 40,
- 41,
- 42,
- 43,
- 44,
- 45,
- 46,
- 47,
- 48,
- 49,
- 50,
- 51,
- 52,
- 53,
- 54,
- 55,
- 56,
- 57,
- 58,
- 59,
- 60,
- 61,
- 62,
- 63,
- 64,
- 65,
- 66,
- 67,
- 68,
- 69,
- 70,
- 71,
- 72,
- 73,
- 74,
- 75,
- 76,
- 77,
- 78,
- 79,
- 80,
- 81,
- 82,
- 83,
- 84,
- 85,
- 86,
- 87,
- 88,
- 89,
- 90,
- 91,
- 92,
- 93,
- 94,
- 95,
- 96,
- 97,
- 98,
- 99,
- 100,
- 101,
- 102,
- 103,
- 104,
- 105,
- 106,
- 107,
- 108,
- 109,
- 110,
- 111,
- 112,
- 113,
- 114,
- 115,
- 116,
- 117,
- 118,
- 119,
- 120,
- 121,
- 122,
- 123,
- 124,
- 125,
- 126,
- 127,
- 128,
- 129,
- 130,
- 131,
- 132,
- 133,
- 134,
- 135,
- 136,
- 137,
- 138,
- 139,
- 140,
- 141,
- 142,
- 143,
- 144,
- 145,
- 146,
- 147,
- 148,
- 149,
- 150,
- 151,
- 152,
- 153,
- 154,
- 155,
- 156,
- 157,
- 158,
- 159,
- 160,
- 161,
- 162,
- 163,
- 164,
- 165,
- 166,
- 167,
- 168,
- 169,
- 170,
- 171,
- 172,
- 173,
- 174,
- 175,
- 176,
- 177,
- 178,
- 179,
- 180,
- 181,
- 182,
- 183,
- 184,
- 185,
- 186,
- 187,
- 188,
- 189,
- 190,
- 191,
- 192,
- 193,
- 194,
- 195,
- 196,
- 197,
- 198,
- 199,
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 209,
- 210,
- 211,
- 212,
- 213,
- 214,
- 215,
- 216,
- 217,
- 218,
- 219,
- 220,
- 221,
- 222,
- 223,
- 224,
- 225,
- 226,
- 227,
- 228,
- 229,
- 230,
- 231,
- 232,
- 233,
- 234,
- 235,
- 236,
- 237,
- 238,
- 239,
- 240,
- 241,
- 242,
- 243,
- 244,
- 245,
- 246,
- 247,
- 248,
- 249,
- 250,
- 251,
- 252,
- 253,
- 254,
- 255,
- 256,
- 257,
- 258,
- 259,
- 260,
- 261,
- 262,
- 263,
- 264,
- 265,
- 266,
- 267,
- 268,
- 269,
- 270,
- 271,
- 272,
- 273,
- 274,
- 275,
- 276,
- 277,
- 278,
- 279,
- 280,
- 281,
- 282,
- 283,
- 284,
- 285,
- 286,
- 287,
- 288,
- 289,
- 290,
- 291,
- 292,
- 293,
- 294,
- 295,
- 296,
- 297,
- 298,
- 299,
- 300,
- 1007,
- 1008,
- 1011],
- 'untagged_vlan': 1}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10115,
- 'mac': '00:1B:53:CB:63:0F',
- 'name': 'Gi 0/15',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10115,
- 'mac': '00:1B:53:CB:63:0F',
- 'name': 'Gi 0/15',
- 'oper_status': False,
- 'tagged_vlans': [25,
- 26,
- 27,
- 28,
- 29,
- 30,
- 31,
- 32,
- 33,
- 34,
- 35,
- 36,
- 37,
- 38,
- 39,
- 40,
- 41,
- 42,
- 43,
- 44,
- 45,
- 46,
- 47,
- 48,
- 49,
- 50,
- 51,
- 52,
- 53,
- 54,
- 55,
- 56,
- 57,
- 58,
- 59,
- 60,
- 61,
- 62,
- 63,
- 64,
- 65,
- 66,
- 67,
- 68,
- 69,
- 70,
- 71,
- 72,
- 73,
- 74,
- 75,
- 76,
- 77,
- 78,
- 79,
- 80,
- 81,
- 82,
- 83,
- 84,
- 85,
- 86,
- 87,
- 88,
- 89,
- 90,
- 91,
- 92,
- 93,
- 94,
- 95,
- 96,
- 97,
- 98,
- 99,
- 100,
- 101,
- 102,
- 103,
- 104,
- 105,
- 106,
- 107,
- 108,
- 109,
- 110,
- 111,
- 112,
- 113,
- 114,
- 115,
- 116,
- 117,
- 118,
- 119,
- 120,
- 121,
- 122,
- 123,
- 124,
- 125,
- 126,
- 127,
- 128,
- 129,
- 130,
- 131,
- 132,
- 133,
- 134,
- 135,
- 136,
- 137,
- 138,
- 139,
- 140,
- 141,
- 142,
- 143,
- 144,
- 145,
- 146,
- 147,
- 148,
- 149,
- 150,
- 151,
- 152,
- 153,
- 154,
- 155,
- 156,
- 157,
- 158,
- 159,
- 160,
- 161,
- 162,
- 163,
- 164,
- 165,
- 166,
- 167,
- 168,
- 169,
- 170,
- 171,
- 172,
- 173,
- 174,
- 175,
- 176,
- 177,
- 178,
- 179,
- 180,
- 181,
- 182,
- 183,
- 184,
- 185,
- 186,
- 187,
- 188,
- 189,
- 190,
- 191,
- 192,
- 193,
- 194,
- 195,
- 196,
- 197,
- 198,
- 199,
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 209,
- 210,
- 211,
- 212,
- 213,
- 214,
- 215,
- 216,
- 217,
- 218,
- 219,
- 220,
- 221,
- 222,
- 223,
- 224,
- 225,
- 226,
- 227,
- 228,
- 229,
- 230,
- 231,
- 232,
- 233,
- 234,
- 235,
- 236,
- 237,
- 238,
- 239,
- 240,
- 241,
- 242,
- 243,
- 244,
- 245,
- 246,
- 247,
- 248,
- 249,
- 250,
- 251,
- 252,
- 253,
- 254,
- 255,
- 256,
- 257,
- 258,
- 259,
- 260,
- 261,
- 262,
- 263,
- 264,
- 265,
- 266,
- 267,
- 268,
- 269,
- 270,
- 271,
- 272,
- 273,
- 274,
- 275,
- 276,
- 277,
- 278,
- 279,
- 280,
- 281,
- 282,
- 283,
- 284,
- 285,
- 286,
- 287,
- 288,
- 289,
- 290,
- 291,
- 292,
- 293,
- 294,
- 295,
- 296,
- 297,
- 298,
- 299,
- 300,
- 1007,
- 1008,
- 1011],
- 'untagged_vlan': 1}],
- 'type': 'physical'},
- {'admin_status': True,
- 'description': 'bb-proletarka',
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10116,
- 'mac': '00:1B:53:CB:63:10',
- 'name': 'Gi 0/16',
- 'oper_status': True,
- 'subinterfaces': [{'admin_status': True,
- 'description': 'bb-proletarka',
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10116,
- 'mac': '00:1B:53:CB:63:10',
- 'name': 'Gi 0/16',
- 'oper_status': True,
- 'tagged_vlans': [25,
- 26,
- 27,
- 28,
- 29,
- 30,
- 31,
- 32,
- 33,
- 34,
- 35,
- 36,
- 37,
- 38,
- 39,
- 40,
- 41,
- 42,
- 43,
- 44,
- 45,
- 46,
- 47,
- 48,
- 49,
- 50,
- 51,
- 52,
- 53,
- 54,
- 55,
- 56,
- 57,
- 58,
- 59,
- 60,
- 61,
- 62,
- 63,
- 64,
- 65,
- 66,
- 67,
- 68,
- 69,
- 70,
- 71,
- 72,
- 73,
- 74,
- 75,
- 76,
- 77,
- 78,
- 79,
- 80,
- 81,
- 82,
- 83,
- 84,
- 85,
- 86,
- 87,
- 88,
- 89,
- 90,
- 91,
- 92,
- 93,
- 94,
- 95,
- 96,
- 97,
- 98,
- 99,
- 100,
- 101,
- 102,
- 103,
- 104,
- 105,
- 106,
- 107,
- 108,
- 109,
- 110,
- 111,
- 112,
- 113,
- 114,
- 115,
- 116,
- 117,
- 118,
- 119,
- 120,
- 121,
- 122,
- 123,
- 124,
- 125,
- 126,
- 127,
- 128,
- 129,
- 130,
- 131,
- 132,
- 133,
- 134,
- 135,
- 136,
- 137,
- 138,
- 139,
- 140,
- 141,
- 142,
- 143,
- 144,
- 145,
- 146,
- 147,
- 148,
- 149,
- 150,
- 151,
- 152,
- 153,
- 154,
- 155,
- 156,
- 157,
- 158,
- 159,
- 160,
- 161,
- 162,
- 163,
- 164,
- 165,
- 166,
- 167,
- 168,
- 169,
- 170,
- 171,
- 172,
- 173,
- 174,
- 175,
- 176,
- 177,
- 178,
- 179,
- 180,
- 181,
- 182,
- 183,
- 184,
- 185,
- 186,
- 187,
- 188,
- 189,
- 190,
- 191,
- 192,
- 193,
- 194,
- 195,
- 196,
- 197,
- 198,
- 199,
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 209,
- 210,
- 211,
- 212,
- 213,
- 214,
- 215,
- 216,
- 217,
- 218,
- 219,
- 220,
- 221,
- 222,
- 223,
- 224,
- 225,
- 226,
- 227,
- 228,
- 229,
- 230,
- 231,
- 232,
- 233,
- 234,
- 235,
- 236,
- 237,
- 238,
- 239,
- 240,
- 241,
- 242,
- 243,
- 244,
- 245,
- 246,
- 247,
- 248,
- 249,
- 250,
- 251,
- 252,
- 253,
- 254,
- 255,
- 256,
- 257,
- 258,
- 259,
- 260,
- 261,
- 262,
- 263,
- 264,
- 265,
- 266,
- 267,
- 268,
- 269,
- 270,
- 271,
- 272,
- 273,
- 274,
- 275,
- 276,
- 277,
- 278,
- 279,
- 280,
- 281,
- 282,
- 283,
- 284,
- 285,
- 286,
- 287,
- 288,
- 289,
- 290,
- 291,
- 292,
- 293,
- 294,
- 295,
- 296,
- 297,
- 298,
- 299,
- 300,
- 1007,
- 1008,
- 1011],
- 'untagged_vlan': 1}],
- 'type': 'physical'}],
- 'type': 'ip'}]
- forwarding_instance = None
- fi =
- {'forwarding_instance': 'default',
- 'interfaces': [{'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 1,
- 'mac': '00:1B:53:CB:63:40',
- 'name': 'Vl 1',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': [],
- 'enabled_protocols': [],
- 'ifindex': 1,
- 'mac': '00:1B:53:CB:63:40',
- 'name': 'Vl 1',
- 'oper_status': False,
- 'vlan_ids': [1]}],
- 'type': 'SVI'},
- {'admin_status': True,
- 'description': 'Management',
- 'enabled_protocols': ['CTP'],
- 'ifindex': 1007,
- 'mac': '00:1B:53:CB:63:41',
- 'name': 'Vl 1007',
- 'oper_status': True,
- 'subinterfaces': [{'admin_status': True,
- 'description': 'Management',
- 'enabled_afi': ['IPv4'],
- 'enabled_protocols': [],
- 'ifindex': 1007,
- 'ipv4_addresses': ['192.168.82.129/28'],
- 'mac': '00:1B:53:CB:63:41',
- 'name': 'Vl 1007',
- 'oper_status': True,
- 'vlan_ids': [1007]}],
- 'type': 'SVI'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10101,
- 'mac': '00:1B:53:CB:63:01',
- 'name': 'Gi 0/1',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10101,
- 'mac': '00:1B:53:CB:63:01',
- 'name': 'Gi 0/1',
- 'oper_status': False,
- 'untagged_vlan': 25}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10102,
- 'mac': '00:1B:53:CB:63:02',
- 'name': 'Gi 0/2',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10102,
- 'mac': '00:1B:53:CB:63:02',
- 'name': 'Gi 0/2',
- 'oper_status': False,
- 'untagged_vlan': 26}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10103,
- 'mac': '00:1B:53:CB:63:03',
- 'name': 'Gi 0/3',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10103,
- 'mac': '00:1B:53:CB:63:03',
- 'name': 'Gi 0/3',
- 'oper_status': False,
- 'untagged_vlan': 27}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10104,
- 'mac': '00:1B:53:CB:63:04',
- 'name': 'Gi 0/4',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10104,
- 'mac': '00:1B:53:CB:63:04',
- 'name': 'Gi 0/4',
- 'oper_status': False,
- 'untagged_vlan': 28}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10105,
- 'mac': '00:1B:53:CB:63:05',
- 'name': 'Gi 0/5',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10105,
- 'mac': '00:1B:53:CB:63:05',
- 'name': 'Gi 0/5',
- 'oper_status': False,
- 'untagged_vlan': 29}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10106,
- 'mac': '00:1B:53:CB:63:06',
- 'name': 'Gi 0/6',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10106,
- 'mac': '00:1B:53:CB:63:06',
- 'name': 'Gi 0/6',
- 'oper_status': False,
- 'untagged_vlan': 30}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10107,
- 'mac': '00:1B:53:CB:63:07',
- 'name': 'Gi 0/7',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10107,
- 'mac': '00:1B:53:CB:63:07',
- 'name': 'Gi 0/7',
- 'oper_status': False,
- 'untagged_vlan': 31}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10108,
- 'mac': '00:1B:53:CB:63:08',
- 'name': 'Gi 0/8',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10108,
- 'mac': '00:1B:53:CB:63:08',
- 'name': 'Gi 0/8',
- 'oper_status': False,
- 'untagged_vlan': 32}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10109,
- 'mac': '00:1B:53:CB:63:09',
- 'name': 'Gi 0/9',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10109,
- 'mac': '00:1B:53:CB:63:09',
- 'name': 'Gi 0/9',
- 'oper_status': False,
- 'untagged_vlan': 33}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10110,
- 'mac': '00:1B:53:CB:63:0A',
- 'name': 'Gi 0/10',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10110,
- 'mac': '00:1B:53:CB:63:0A',
- 'name': 'Gi 0/10',
- 'oper_status': False,
- 'untagged_vlan': 34}],
- 'type': 'physical'},
- {'admin_status': True,
- 'description': 'elcom-proletarka',
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10111,
- 'mac': '00:1B:53:CB:63:0B',
- 'name': 'Gi 0/11',
- 'oper_status': True,
- 'subinterfaces': [{'admin_status': True,
- 'description': 'elcom-proletarka',
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10111,
- 'mac': '00:1B:53:CB:63:0B',
- 'name': 'Gi 0/11',
- 'oper_status': True,
- 'untagged_vlan': 35}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10112,
- 'mac': '00:1B:53:CB:63:0C',
- 'name': 'Gi 0/12',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10112,
- 'mac': '00:1B:53:CB:63:0C',
- 'name': 'Gi 0/12',
- 'oper_status': False,
- 'untagged_vlan': 36}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10113,
- 'mac': '00:1B:53:CB:63:0D',
- 'name': 'Gi 0/13',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10113,
- 'mac': '00:1B:53:CB:63:0D',
- 'name': 'Gi 0/13',
- 'oper_status': False,
- 'tagged_vlans': [25,
- 26,
- 27,
- 28,
- 29,
- 30,
- 31,
- 32,
- 33,
- 34,
- 35,
- 36,
- 37,
- 38,
- 39,
- 40,
- 41,
- 42,
- 43,
- 44,
- 45,
- 46,
- 47,
- 48,
- 49,
- 50,
- 51,
- 52,
- 53,
- 54,
- 55,
- 56,
- 57,
- 58,
- 59,
- 60,
- 61,
- 62,
- 63,
- 64,
- 65,
- 66,
- 67,
- 68,
- 69,
- 70,
- 71,
- 72,
- 73,
- 74,
- 75,
- 76,
- 77,
- 78,
- 79,
- 80,
- 81,
- 82,
- 83,
- 84,
- 85,
- 86,
- 87,
- 88,
- 89,
- 90,
- 91,
- 92,
- 93,
- 94,
- 95,
- 96,
- 97,
- 98,
- 99,
- 100,
- 101,
- 102,
- 103,
- 104,
- 105,
- 106,
- 107,
- 108,
- 109,
- 110,
- 111,
- 112,
- 113,
- 114,
- 115,
- 116,
- 117,
- 118,
- 119,
- 120,
- 121,
- 122,
- 123,
- 124,
- 125,
- 126,
- 127,
- 128,
- 129,
- 130,
- 131,
- 132,
- 133,
- 134,
- 135,
- 136,
- 137,
- 138,
- 139,
- 140,
- 141,
- 142,
- 143,
- 144,
- 145,
- 146,
- 147,
- 148,
- 149,
- 150,
- 151,
- 152,
- 153,
- 154,
- 155,
- 156,
- 157,
- 158,
- 159,
- 160,
- 161,
- 162,
- 163,
- 164,
- 165,
- 166,
- 167,
- 168,
- 169,
- 170,
- 171,
- 172,
- 173,
- 174,
- 175,
- 176,
- 177,
- 178,
- 179,
- 180,
- 181,
- 182,
- 183,
- 184,
- 185,
- 186,
- 187,
- 188,
- 189,
- 190,
- 191,
- 192,
- 193,
- 194,
- 195,
- 196,
- 197,
- 198,
- 199,
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 209,
- 210,
- 211,
- 212,
- 213,
- 214,
- 215,
- 216,
- 217,
- 218,
- 219,
- 220,
- 221,
- 222,
- 223,
- 224,
- 225,
- 226,
- 227,
- 228,
- 229,
- 230,
- 231,
- 232,
- 233,
- 234,
- 235,
- 236,
- 237,
- 238,
- 239,
- 240,
- 241,
- 242,
- 243,
- 244,
- 245,
- 246,
- 247,
- 248,
- 249,
- 250,
- 251,
- 252,
- 253,
- 254,
- 255,
- 256,
- 257,
- 258,
- 259,
- 260,
- 261,
- 262,
- 263,
- 264,
- 265,
- 266,
- 267,
- 268,
- 269,
- 270,
- 271,
- 272,
- 273,
- 274,
- 275,
- 276,
- 277,
- 278,
- 279,
- 280,
- 281,
- 282,
- 283,
- 284,
- 285,
- 286,
- 287,
- 288,
- 289,
- 290,
- 291,
- 292,
- 293,
- 294,
- 295,
- 296,
- 297,
- 298,
- 299,
- 300,
- 1007,
- 1008,
- 1011],
- 'untagged_vlan': 1}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10114,
- 'mac': '00:1B:53:CB:63:0E',
- 'name': 'Gi 0/14',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10114,
- 'mac': '00:1B:53:CB:63:0E',
- 'name': 'Gi 0/14',
- 'oper_status': False,
- 'tagged_vlans': [25,
- 26,
- 27,
- 28,
- 29,
- 30,
- 31,
- 32,
- 33,
- 34,
- 35,
- 36,
- 37,
- 38,
- 39,
- 40,
- 41,
- 42,
- 43,
- 44,
- 45,
- 46,
- 47,
- 48,
- 49,
- 50,
- 51,
- 52,
- 53,
- 54,
- 55,
- 56,
- 57,
- 58,
- 59,
- 60,
- 61,
- 62,
- 63,
- 64,
- 65,
- 66,
- 67,
- 68,
- 69,
- 70,
- 71,
- 72,
- 73,
- 74,
- 75,
- 76,
- 77,
- 78,
- 79,
- 80,
- 81,
- 82,
- 83,
- 84,
- 85,
- 86,
- 87,
- 88,
- 89,
- 90,
- 91,
- 92,
- 93,
- 94,
- 95,
- 96,
- 97,
- 98,
- 99,
- 100,
- 101,
- 102,
- 103,
- 104,
- 105,
- 106,
- 107,
- 108,
- 109,
- 110,
- 111,
- 112,
- 113,
- 114,
- 115,
- 116,
- 117,
- 118,
- 119,
- 120,
- 121,
- 122,
- 123,
- 124,
- 125,
- 126,
- 127,
- 128,
- 129,
- 130,
- 131,
- 132,
- 133,
- 134,
- 135,
- 136,
- 137,
- 138,
- 139,
- 140,
- 141,
- 142,
- 143,
- 144,
- 145,
- 146,
- 147,
- 148,
- 149,
- 150,
- 151,
- 152,
- 153,
- 154,
- 155,
- 156,
- 157,
- 158,
- 159,
- 160,
- 161,
- 162,
- 163,
- 164,
- 165,
- 166,
- 167,
- 168,
- 169,
- 170,
- 171,
- 172,
- 173,
- 174,
- 175,
- 176,
- 177,
- 178,
- 179,
- 180,
- 181,
- 182,
- 183,
- 184,
- 185,
- 186,
- 187,
- 188,
- 189,
- 190,
- 191,
- 192,
- 193,
- 194,
- 195,
- 196,
- 197,
- 198,
- 199,
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 209,
- 210,
- 211,
- 212,
- 213,
- 214,
- 215,
- 216,
- 217,
- 218,
- 219,
- 220,
- 221,
- 222,
- 223,
- 224,
- 225,
- 226,
- 227,
- 228,
- 229,
- 230,
- 231,
- 232,
- 233,
- 234,
- 235,
- 236,
- 237,
- 238,
- 239,
- 240,
- 241,
- 242,
- 243,
- 244,
- 245,
- 246,
- 247,
- 248,
- 249,
- 250,
- 251,
- 252,
- 253,
- 254,
- 255,
- 256,
- 257,
- 258,
- 259,
- 260,
- 261,
- 262,
- 263,
- 264,
- 265,
- 266,
- 267,
- 268,
- 269,
- 270,
- 271,
- 272,
- 273,
- 274,
- 275,
- 276,
- 277,
- 278,
- 279,
- 280,
- 281,
- 282,
- 283,
- 284,
- 285,
- 286,
- 287,
- 288,
- 289,
- 290,
- 291,
- 292,
- 293,
- 294,
- 295,
- 296,
- 297,
- 298,
- 299,
- 300,
- 1007,
- 1008,
- 1011],
- 'untagged_vlan': 1}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10115,
- 'mac': '00:1B:53:CB:63:0F',
- 'name': 'Gi 0/15',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10115,
- 'mac': '00:1B:53:CB:63:0F',
- 'name': 'Gi 0/15',
- 'oper_status': False,
- 'tagged_vlans': [25,
- 26,
- 27,
- 28,
- 29,
- 30,
- 31,
- 32,
- 33,
- 34,
- 35,
- 36,
- 37,
- 38,
- 39,
- 40,
- 41,
- 42,
- 43,
- 44,
- 45,
- 46,
- 47,
- 48,
- 49,
- 50,
- 51,
- 52,
- 53,
- 54,
- 55,
- 56,
- 57,
- 58,
- 59,
- 60,
- 61,
- 62,
- 63,
- 64,
- 65,
- 66,
- 67,
- 68,
- 69,
- 70,
- 71,
- 72,
- 73,
- 74,
- 75,
- 76,
- 77,
- 78,
- 79,
- 80,
- 81,
- 82,
- 83,
- 84,
- 85,
- 86,
- 87,
- 88,
- 89,
- 90,
- 91,
- 92,
- 93,
- 94,
- 95,
- 96,
- 97,
- 98,
- 99,
- 100,
- 101,
- 102,
- 103,
- 104,
- 105,
- 106,
- 107,
- 108,
- 109,
- 110,
- 111,
- 112,
- 113,
- 114,
- 115,
- 116,
- 117,
- 118,
- 119,
- 120,
- 121,
- 122,
- 123,
- 124,
- 125,
- 126,
- 127,
- 128,
- 129,
- 130,
- 131,
- 132,
- 133,
- 134,
- 135,
- 136,
- 137,
- 138,
- 139,
- 140,
- 141,
- 142,
- 143,
- 144,
- 145,
- 146,
- 147,
- 148,
- 149,
- 150,
- 151,
- 152,
- 153,
- 154,
- 155,
- 156,
- 157,
- 158,
- 159,
- 160,
- 161,
- 162,
- 163,
- 164,
- 165,
- 166,
- 167,
- 168,
- 169,
- 170,
- 171,
- 172,
- 173,
- 174,
- 175,
- 176,
- 177,
- 178,
- 179,
- 180,
- 181,
- 182,
- 183,
- 184,
- 185,
- 186,
- 187,
- 188,
- 189,
- 190,
- 191,
- 192,
- 193,
- 194,
- 195,
- 196,
- 197,
- 198,
- 199,
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 209,
- 210,
- 211,
- 212,
- 213,
- 214,
- 215,
- 216,
- 217,
- 218,
- 219,
- 220,
- 221,
- 222,
- 223,
- 224,
- 225,
- 226,
- 227,
- 228,
- 229,
- 230,
- 231,
- 232,
- 233,
- 234,
- 235,
- 236,
- 237,
- 238,
- 239,
- 240,
- 241,
- 242,
- 243,
- 244,
- 245,
- 246,
- 247,
- 248,
- 249,
- 250,
- 251,
- 252,
- 253,
- 254,
- 255,
- 256,
- 257,
- 258,
- 259,
- 260,
- 261,
- 262,
- 263,
- 264,
- 265,
- 266,
- 267,
- 268,
- 269,
- 270,
- 271,
- 272,
- 273,
- 274,
- 275,
- 276,
- 277,
- 278,
- 279,
- 280,
- 281,
- 282,
- 283,
- 284,
- 285,
- 286,
- 287,
- 288,
- 289,
- 290,
- 291,
- 292,
- 293,
- 294,
- 295,
- 296,
- 297,
- 298,
- 299,
- 300,
- 1007,
- 1008,
- 1011],
- 'untagged_vlan': 1}],
- 'type': 'physical'},
- {'admin_status': True,
- 'description': 'bb-proletarka',
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10116,
- 'mac': '00:1B:53:CB:63:10',
- 'name': 'Gi 0/16',
- 'oper_status': True,
- 'subinterfaces': [{'admin_status': True,
- 'description': 'bb-proletarka',
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10116,
- 'mac': '00:1B:53:CB:63:10',
- 'name': 'Gi 0/16',
- 'oper_status': True,
- 'tagged_vlans': [25,
- 26,
- 27,
- 28,
- 29,
- 30,
- 31,
- 32,
- 33,
- 34,
- 35,
- 36,
- 37,
- 38,
- 39,
- 40,
- 41,
- 42,
- 43,
- 44,
- 45,
- 46,
- 47,
- 48,
- 49,
- 50,
- 51,
- 52,
- 53,
- 54,
- 55,
- 56,
- 57,
- 58,
- 59,
- 60,
- 61,
- 62,
- 63,
- 64,
- 65,
- 66,
- 67,
- 68,
- 69,
- 70,
- 71,
- 72,
- 73,
- 74,
- 75,
- 76,
- 77,
- 78,
- 79,
- 80,
- 81,
- 82,
- 83,
- 84,
- 85,
- 86,
- 87,
- 88,
- 89,
- 90,
- 91,
- 92,
- 93,
- 94,
- 95,
- 96,
- 97,
- 98,
- 99,
- 100,
- 101,
- 102,
- 103,
- 104,
- 105,
- 106,
- 107,
- 108,
- 109,
- 110,
- 111,
- 112,
- 113,
- 114,
- 115,
- 116,
- 117,
- 118,
- 119,
- 120,
- 121,
- 122,
- 123,
- 124,
- 125,
- 126,
- 127,
- 128,
- 129,
- 130,
- 131,
- 132,
- 133,
- 134,
- 135,
- 136,
- 137,
- 138,
- 139,
- 140,
- 141,
- 142,
- 143,
- 144,
- 145,
- 146,
- 147,
- 148,
- 149,
- 150,
- 151,
- 152,
- 153,
- 154,
- 155,
- 156,
- 157,
- 158,
- 159,
- 160,
- 161,
- 162,
- 163,
- 164,
- 165,
- 166,
- 167,
- 168,
- 169,
- 170,
- 171,
- 172,
- 173,
- 174,
- 175,
- 176,
- 177,
- 178,
- 179,
- 180,
- 181,
- 182,
- 183,
- 184,
- 185,
- 186,
- 187,
- 188,
- 189,
- 190,
- 191,
- 192,
- 193,
- 194,
- 195,
- 196,
- 197,
- 198,
- 199,
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 209,
- 210,
- 211,
- 212,
- 213,
- 214,
- 215,
- 216,
- 217,
- 218,
- 219,
- 220,
- 221,
- 222,
- 223,
- 224,
- 225,
- 226,
- 227,
- 228,
- 229,
- 230,
- 231,
- 232,
- 233,
- 234,
- 235,
- 236,
- 237,
- 238,
- 239,
- 240,
- 241,
- 242,
- 243,
- 244,
- 245,
- 246,
- 247,
- 248,
- 249,
- 250,
- 251,
- 252,
- 253,
- 254,
- 255,
- 256,
- 257,
- 258,
- 259,
- 260,
- 261,
- 262,
- 263,
- 264,
- 265,
- 266,
- 267,
- 268,
- 269,
- 270,
- 271,
- 272,
- 273,
- 274,
- 275,
- 276,
- 277,
- 278,
- 279,
- 280,
- 281,
- 282,
- 283,
- 284,
- 285,
- 286,
- 287,
- 288,
- 289,
- 290,
- 291,
- 292,
- 293,
- 294,
- 295,
- 296,
- 297,
- 298,
- 299,
- 300,
- 1007,
- 1008,
- 1011],
- 'untagged_vlan': 1}],
- 'type': 'physical'}],
- 'type': 'ip'}
- ------------------------------------------------------------------------
- File: /opt/noc/lib/scheduler/scheduler.py (Line: 283)
- Function: _job_wrapper
- 276 else:
- 277 return self._job_wrapper(job, **kwargs)
- 278
- 279 def _job_wrapper(self, job, **kwargs):
- 280 tb = None
- 281 t0 = time.time()
- 282 try:
- 283 ==> r = job.handler(**kwargs)
- 284 except Exception:
- 285 # error_report()
- 286 tb = get_traceback()
- 287 job.error(tb)
- 288 job.on_exception()
- 289 s = job.S_EXCEPTION
- Variables:
- job =
- <noc.inv.discovery.jobs.interface_discovery.InterfaceDiscoveryJob object at 0x80fd223d0>
- tb = None
- self = <noc.inv.discovery.scheduler.DiscoveryScheduler object at 0x80ec18b50>
- t0 = 1409664184.163952
- kwargs =
- {'object': <ManagedObject: cat-proletarka>,
- 'result': [{'forwarding_instance': 'default',
- 'interfaces': [{'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 1,
- 'mac': '00:1B:53:CB:63:40',
- 'name': 'Vl 1',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': [],
- 'enabled_protocols': [],
- 'ifindex': 1,
- 'mac': '00:1B:53:CB:63:40',
- 'name': 'Vl 1',
- 'oper_status': False,
- 'vlan_ids': [1]}],
- 'type': 'SVI'},
- {'admin_status': True,
- 'description': 'Management',
- 'enabled_protocols': ['CTP'],
- 'ifindex': 1007,
- 'mac': '00:1B:53:CB:63:41',
- 'name': 'Vl 1007',
- 'oper_status': True,
- 'subinterfaces': [{'admin_status': True,
- 'description': 'Management',
- 'enabled_afi': ['IPv4'],
- 'enabled_protocols': [],
- 'ifindex': 1007,
- 'ipv4_addresses': ['192.168.82.129/28'],
- 'mac': '00:1B:53:CB:63:41',
- 'name': 'Vl 1007',
- 'oper_status': True,
- 'vlan_ids': [1007]}],
- 'type': 'SVI'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10101,
- 'mac': '00:1B:53:CB:63:01',
- 'name': 'Gi 0/1',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10101,
- 'mac': '00:1B:53:CB:63:01',
- 'name': 'Gi 0/1',
- 'oper_status': False,
- 'untagged_vlan': 25}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10102,
- 'mac': '00:1B:53:CB:63:02',
- 'name': 'Gi 0/2',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10102,
- 'mac': '00:1B:53:CB:63:02',
- 'name': 'Gi 0/2',
- 'oper_status': False,
- 'untagged_vlan': 26}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10103,
- 'mac': '00:1B:53:CB:63:03',
- 'name': 'Gi 0/3',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10103,
- 'mac': '00:1B:53:CB:63:03',
- 'name': 'Gi 0/3',
- 'oper_status': False,
- 'untagged_vlan': 27}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10104,
- 'mac': '00:1B:53:CB:63:04',
- 'name': 'Gi 0/4',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10104,
- 'mac': '00:1B:53:CB:63:04',
- 'name': 'Gi 0/4',
- 'oper_status': False,
- 'untagged_vlan': 28}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10105,
- 'mac': '00:1B:53:CB:63:05',
- 'name': 'Gi 0/5',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10105,
- 'mac': '00:1B:53:CB:63:05',
- 'name': 'Gi 0/5',
- 'oper_status': False,
- 'untagged_vlan': 29}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10106,
- 'mac': '00:1B:53:CB:63:06',
- 'name': 'Gi 0/6',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10106,
- 'mac': '00:1B:53:CB:63:06',
- 'name': 'Gi 0/6',
- 'oper_status': False,
- 'untagged_vlan': 30}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10107,
- 'mac': '00:1B:53:CB:63:07',
- 'name': 'Gi 0/7',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10107,
- 'mac': '00:1B:53:CB:63:07',
- 'name': 'Gi 0/7',
- 'oper_status': False,
- 'untagged_vlan': 31}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10108,
- 'mac': '00:1B:53:CB:63:08',
- 'name': 'Gi 0/8',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10108,
- 'mac': '00:1B:53:CB:63:08',
- 'name': 'Gi 0/8',
- 'oper_status': False,
- 'untagged_vlan': 32}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10109,
- 'mac': '00:1B:53:CB:63:09',
- 'name': 'Gi 0/9',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10109,
- 'mac': '00:1B:53:CB:63:09',
- 'name': 'Gi 0/9',
- 'oper_status': False,
- 'untagged_vlan': 33}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10110,
- 'mac': '00:1B:53:CB:63:0A',
- 'name': 'Gi 0/10',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10110,
- 'mac': '00:1B:53:CB:63:0A',
- 'name': 'Gi 0/10',
- 'oper_status': False,
- 'untagged_vlan': 34}],
- 'type': 'physical'},
- {'admin_status': True,
- 'description': 'elcom-proletarka',
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10111,
- 'mac': '00:1B:53:CB:63:0B',
- 'name': 'Gi 0/11',
- 'oper_status': True,
- 'subinterfaces': [{'admin_status': True,
- 'description': 'elcom-proletarka',
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10111,
- 'mac': '00:1B:53:CB:63:0B',
- 'name': 'Gi 0/11',
- 'oper_status': True,
- 'untagged_vlan': 35}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10112,
- 'mac': '00:1B:53:CB:63:0C',
- 'name': 'Gi 0/12',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10112,
- 'mac': '00:1B:53:CB:63:0C',
- 'name': 'Gi 0/12',
- 'oper_status': False,
- 'untagged_vlan': 36}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10113,
- 'mac': '00:1B:53:CB:63:0D',
- 'name': 'Gi 0/13',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10113,
- 'mac': '00:1B:53:CB:63:0D',
- 'name': 'Gi 0/13',
- 'oper_status': False,
- 'tagged_vlans': [25,
- 26,
- 27,
- 28,
- 29,
- 30,
- 31,
- 32,
- 33,
- 34,
- 35,
- 36,
- 37,
- 38,
- 39,
- 40,
- 41,
- 42,
- 43,
- 44,
- 45,
- 46,
- 47,
- 48,
- 49,
- 50,
- 51,
- 52,
- 53,
- 54,
- 55,
- 56,
- 57,
- 58,
- 59,
- 60,
- 61,
- 62,
- 63,
- 64,
- 65,
- 66,
- 67,
- 68,
- 69,
- 70,
- 71,
- 72,
- 73,
- 74,
- 75,
- 76,
- 77,
- 78,
- 79,
- 80,
- 81,
- 82,
- 83,
- 84,
- 85,
- 86,
- 87,
- 88,
- 89,
- 90,
- 91,
- 92,
- 93,
- 94,
- 95,
- 96,
- 97,
- 98,
- 99,
- 100,
- 101,
- 102,
- 103,
- 104,
- 105,
- 106,
- 107,
- 108,
- 109,
- 110,
- 111,
- 112,
- 113,
- 114,
- 115,
- 116,
- 117,
- 118,
- 119,
- 120,
- 121,
- 122,
- 123,
- 124,
- 125,
- 126,
- 127,
- 128,
- 129,
- 130,
- 131,
- 132,
- 133,
- 134,
- 135,
- 136,
- 137,
- 138,
- 139,
- 140,
- 141,
- 142,
- 143,
- 144,
- 145,
- 146,
- 147,
- 148,
- 149,
- 150,
- 151,
- 152,
- 153,
- 154,
- 155,
- 156,
- 157,
- 158,
- 159,
- 160,
- 161,
- 162,
- 163,
- 164,
- 165,
- 166,
- 167,
- 168,
- 169,
- 170,
- 171,
- 172,
- 173,
- 174,
- 175,
- 176,
- 177,
- 178,
- 179,
- 180,
- 181,
- 182,
- 183,
- 184,
- 185,
- 186,
- 187,
- 188,
- 189,
- 190,
- 191,
- 192,
- 193,
- 194,
- 195,
- 196,
- 197,
- 198,
- 199,
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 209,
- 210,
- 211,
- 212,
- 213,
- 214,
- 215,
- 216,
- 217,
- 218,
- 219,
- 220,
- 221,
- 222,
- 223,
- 224,
- 225,
- 226,
- 227,
- 228,
- 229,
- 230,
- 231,
- 232,
- 233,
- 234,
- 235,
- 236,
- 237,
- 238,
- 239,
- 240,
- 241,
- 242,
- 243,
- 244,
- 245,
- 246,
- 247,
- 248,
- 249,
- 250,
- 251,
- 252,
- 253,
- 254,
- 255,
- 256,
- 257,
- 258,
- 259,
- 260,
- 261,
- 262,
- 263,
- 264,
- 265,
- 266,
- 267,
- 268,
- 269,
- 270,
- 271,
- 272,
- 273,
- 274,
- 275,
- 276,
- 277,
- 278,
- 279,
- 280,
- 281,
- 282,
- 283,
- 284,
- 285,
- 286,
- 287,
- 288,
- 289,
- 290,
- 291,
- 292,
- 293,
- 294,
- 295,
- 296,
- 297,
- 298,
- 299,
- 300,
- 1007,
- 1008,
- 1011],
- 'untagged_vlan': 1}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10114,
- 'mac': '00:1B:53:CB:63:0E',
- 'name': 'Gi 0/14',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10114,
- 'mac': '00:1B:53:CB:63:0E',
- 'name': 'Gi 0/14',
- 'oper_status': False,
- 'tagged_vlans': [25,
- 26,
- 27,
- 28,
- 29,
- 30,
- 31,
- 32,
- 33,
- 34,
- 35,
- 36,
- 37,
- 38,
- 39,
- 40,
- 41,
- 42,
- 43,
- 44,
- 45,
- 46,
- 47,
- 48,
- 49,
- 50,
- 51,
- 52,
- 53,
- 54,
- 55,
- 56,
- 57,
- 58,
- 59,
- 60,
- 61,
- 62,
- 63,
- 64,
- 65,
- 66,
- 67,
- 68,
- 69,
- 70,
- 71,
- 72,
- 73,
- 74,
- 75,
- 76,
- 77,
- 78,
- 79,
- 80,
- 81,
- 82,
- 83,
- 84,
- 85,
- 86,
- 87,
- 88,
- 89,
- 90,
- 91,
- 92,
- 93,
- 94,
- 95,
- 96,
- 97,
- 98,
- 99,
- 100,
- 101,
- 102,
- 103,
- 104,
- 105,
- 106,
- 107,
- 108,
- 109,
- 110,
- 111,
- 112,
- 113,
- 114,
- 115,
- 116,
- 117,
- 118,
- 119,
- 120,
- 121,
- 122,
- 123,
- 124,
- 125,
- 126,
- 127,
- 128,
- 129,
- 130,
- 131,
- 132,
- 133,
- 134,
- 135,
- 136,
- 137,
- 138,
- 139,
- 140,
- 141,
- 142,
- 143,
- 144,
- 145,
- 146,
- 147,
- 148,
- 149,
- 150,
- 151,
- 152,
- 153,
- 154,
- 155,
- 156,
- 157,
- 158,
- 159,
- 160,
- 161,
- 162,
- 163,
- 164,
- 165,
- 166,
- 167,
- 168,
- 169,
- 170,
- 171,
- 172,
- 173,
- 174,
- 175,
- 176,
- 177,
- 178,
- 179,
- 180,
- 181,
- 182,
- 183,
- 184,
- 185,
- 186,
- 187,
- 188,
- 189,
- 190,
- 191,
- 192,
- 193,
- 194,
- 195,
- 196,
- 197,
- 198,
- 199,
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 209,
- 210,
- 211,
- 212,
- 213,
- 214,
- 215,
- 216,
- 217,
- 218,
- 219,
- 220,
- 221,
- 222,
- 223,
- 224,
- 225,
- 226,
- 227,
- 228,
- 229,
- 230,
- 231,
- 232,
- 233,
- 234,
- 235,
- 236,
- 237,
- 238,
- 239,
- 240,
- 241,
- 242,
- 243,
- 244,
- 245,
- 246,
- 247,
- 248,
- 249,
- 250,
- 251,
- 252,
- 253,
- 254,
- 255,
- 256,
- 257,
- 258,
- 259,
- 260,
- 261,
- 262,
- 263,
- 264,
- 265,
- 266,
- 267,
- 268,
- 269,
- 270,
- 271,
- 272,
- 273,
- 274,
- 275,
- 276,
- 277,
- 278,
- 279,
- 280,
- 281,
- 282,
- 283,
- 284,
- 285,
- 286,
- 287,
- 288,
- 289,
- 290,
- 291,
- 292,
- 293,
- 294,
- 295,
- 296,
- 297,
- 298,
- 299,
- 300,
- 1007,
- 1008,
- 1011],
- 'untagged_vlan': 1}],
- 'type': 'physical'},
- {'admin_status': False,
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10115,
- 'mac': '00:1B:53:CB:63:0F',
- 'name': 'Gi 0/15',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': False,
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10115,
- 'mac': '00:1B:53:CB:63:0F',
- 'name': 'Gi 0/15',
- 'oper_status': False,
- 'tagged_vlans': [25,
- 26,
- 27,
- 28,
- 29,
- 30,
- 31,
- 32,
- 33,
- 34,
- 35,
- 36,
- 37,
- 38,
- 39,
- 40,
- 41,
- 42,
- 43,
- 44,
- 45,
- 46,
- 47,
- 48,
- 49,
- 50,
- 51,
- 52,
- 53,
- 54,
- 55,
- 56,
- 57,
- 58,
- 59,
- 60,
- 61,
- 62,
- 63,
- 64,
- 65,
- 66,
- 67,
- 68,
- 69,
- 70,
- 71,
- 72,
- 73,
- 74,
- 75,
- 76,
- 77,
- 78,
- 79,
- 80,
- 81,
- 82,
- 83,
- 84,
- 85,
- 86,
- 87,
- 88,
- 89,
- 90,
- 91,
- 92,
- 93,
- 94,
- 95,
- 96,
- 97,
- 98,
- 99,
- 100,
- 101,
- 102,
- 103,
- 104,
- 105,
- 106,
- 107,
- 108,
- 109,
- 110,
- 111,
- 112,
- 113,
- 114,
- 115,
- 116,
- 117,
- 118,
- 119,
- 120,
- 121,
- 122,
- 123,
- 124,
- 125,
- 126,
- 127,
- 128,
- 129,
- 130,
- 131,
- 132,
- 133,
- 134,
- 135,
- 136,
- 137,
- 138,
- 139,
- 140,
- 141,
- 142,
- 143,
- 144,
- 145,
- 146,
- 147,
- 148,
- 149,
- 150,
- 151,
- 152,
- 153,
- 154,
- 155,
- 156,
- 157,
- 158,
- 159,
- 160,
- 161,
- 162,
- 163,
- 164,
- 165,
- 166,
- 167,
- 168,
- 169,
- 170,
- 171,
- 172,
- 173,
- 174,
- 175,
- 176,
- 177,
- 178,
- 179,
- 180,
- 181,
- 182,
- 183,
- 184,
- 185,
- 186,
- 187,
- 188,
- 189,
- 190,
- 191,
- 192,
- 193,
- 194,
- 195,
- 196,
- 197,
- 198,
- 199,
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 209,
- 210,
- 211,
- 212,
- 213,
- 214,
- 215,
- 216,
- 217,
- 218,
- 219,
- 220,
- 221,
- 222,
- 223,
- 224,
- 225,
- 226,
- 227,
- 228,
- 229,
- 230,
- 231,
- 232,
- 233,
- 234,
- 235,
- 236,
- 237,
- 238,
- 239,
- 240,
- 241,
- 242,
- 243,
- 244,
- 245,
- 246,
- 247,
- 248,
- 249,
- 250,
- 251,
- 252,
- 253,
- 254,
- 255,
- 256,
- 257,
- 258,
- 259,
- 260,
- 261,
- 262,
- 263,
- 264,
- 265,
- 266,
- 267,
- 268,
- 269,
- 270,
- 271,
- 272,
- 273,
- 274,
- 275,
- 276,
- 277,
- 278,
- 279,
- 280,
- 281,
- 282,
- 283,
- 284,
- 285,
- 286,
- 287,
- 288,
- 289,
- 290,
- 291,
- 292,
- 293,
- 294,
- 295,
- 296,
- 297,
- 298,
- 299,
- 300,
- 1007,
- 1008,
- 1011],
- 'untagged_vlan': 1}],
- 'type': 'physical'},
- {'admin_status': True,
- 'description': 'bb-proletarka',
- 'enabled_protocols': ['CTP'],
- 'ifindex': 10116,
- 'mac': '00:1B:53:CB:63:10',
- 'name': 'Gi 0/16',
- 'oper_status': True,
- 'subinterfaces': [{'admin_status': True,
- 'description': 'bb-proletarka',
- 'enabled_afi': ['BRIDGE'],
- 'enabled_protocols': [],
- 'ifindex': 10116,
- 'mac': '00:1B:53:CB:63:10',
- 'name': 'Gi 0/16',
- 'oper_status': True,
- 'tagged_vlans': [25,
- 26,
- 27,
- 28,
- 29,
- 30,
- 31,
- 32,
- 33,
- 34,
- 35,
- 36,
- 37,
- 38,
- 39,
- 40,
- 41,
- 42,
- 43,
- 44,
- 45,
- 46,
- 47,
- 48,
- 49,
- 50,
- 51,
- 52,
- 53,
- 54,
- 55,
- 56,
- 57,
- 58,
- 59,
- 60,
- 61,
- 62,
- 63,
- 64,
- 65,
- 66,
- 67,
- 68,
- 69,
- 70,
- 71,
- 72,
- 73,
- 74,
- 75,
- 76,
- 77,
- 78,
- 79,
- 80,
- 81,
- 82,
- 83,
- 84,
- 85,
- 86,
- 87,
- 88,
- 89,
- 90,
- 91,
- 92,
- 93,
- 94,
- 95,
- 96,
- 97,
- 98,
- 99,
- 100,
- 101,
- 102,
- 103,
- 104,
- 105,
- 106,
- 107,
- 108,
- 109,
- 110,
- 111,
- 112,
- 113,
- 114,
- 115,
- 116,
- 117,
- 118,
- 119,
- 120,
- 121,
- 122,
- 123,
- 124,
- 125,
- 126,
- 127,
- 128,
- 129,
- 130,
- 131,
- 132,
- 133,
- 134,
- 135,
- 136,
- 137,
- 138,
- 139,
- 140,
- 141,
- 142,
- 143,
- 144,
- 145,
- 146,
- 147,
- 148,
- 149,
- 150,
- 151,
- 152,
- 153,
- 154,
- 155,
- 156,
- 157,
- 158,
- 159,
- 160,
- 161,
- 162,
- 163,
- 164,
- 165,
- 166,
- 167,
- 168,
- 169,
- 170,
- 171,
- 172,
- 173,
- 174,
- 175,
- 176,
- 177,
- 178,
- 179,
- 180,
- 181,
- 182,
- 183,
- 184,
- 185,
- 186,
- 187,
- 188,
- 189,
- 190,
- 191,
- 192,
- 193,
- 194,
- 195,
- 196,
- 197,
- 198,
- 199,
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 209,
- 210,
- 211,
- 212,
- 213,
- 214,
- 215,
- 216,
- 217,
- 218,
- 219,
- 220,
- 221,
- 222,
- 223,
- 224,
- 225,
- 226,
- 227,
- 228,
- 229,
- 230,
- 231,
- 232,
- 233,
- 234,
- 235,
- 236,
- 237,
- 238,
- 239,
- 240,
- 241,
- 242,
- 243,
- 244,
- 245,
- 246,
- 247,
- 248,
- 249,
- 250,
- 251,
- 252,
- 253,
- 254,
- 255,
- 256,
- 257,
- 258,
- 259,
- 260,
- 261,
- 262,
- 263,
- 264,
- 265,
- 266,
- 267,
- 268,
- 269,
- 270,
- 271,
- 272,
- 273,
- 274,
- 275,
- 276,
- 277,
- 278,
- 279,
- 280,
- 281,
- 282,
- 283,
- 284,
- 285,
- 286,
- 287,
- 288,
- 289,
- 290,
- 291,
- 292,
- 293,
- 294,
- 295,
- 296,
- 297,
- 298,
- 299,
- 300,
- 1007,
- 1008,
- 1011],
- 'untagged_vlan': 1}],
- 'type': 'physical'}],
- 'type': 'ip'}]}
- ------------------------------------------------------------------------
- END OF TRACEBACK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement