@@ -261,13 +261,12 @@ def batch_payloads(self, devices, interfaces, collect_ts):
261
261
262
262
def submit_node_metadata (self , node_attrs , tags ):
263
263
node = Node (attributes = node_attrs )
264
- id_tags = ['namespace:{}' .format (self .namespace ), 'system_ip:{}' . format ( node . attributes . address ) ]
264
+ id_tags = ['namespace:{}' .format (self .namespace )]
265
265
device_tags = [
266
266
'device_vendor:{}' .format (VENDOR_CISCO ),
267
267
'device_namespace:{}' .format (self .namespace ),
268
268
'device_hostname:{}' .format (node .attributes .dn ),
269
269
'hostname:{}' .format (node .attributes .dn ),
270
- 'system_ip:{}' .format (node .attributes .address ),
271
270
'device_ip:{}' .format (node .attributes .address ),
272
271
'device_id:{}:{}' .format (self .namespace , node .attributes .address ),
273
272
"source:cisco-aci" ,
@@ -291,7 +290,7 @@ def create_interface_metadata(self, phys_if, address, tags, hostname):
291
290
eth = PhysIf (** phys_if .get ('l1PhysIf' , {}))
292
291
interface = InterfaceMetadata (
293
292
device_id = '{}:{}' .format (self .namespace , address ),
294
- id_tags = tags ,
293
+ id_tags = [ 'interface:{}' . format ( eth . attributes . name )] ,
295
294
index = eth .attributes .id ,
296
295
name = eth .attributes .name ,
297
296
description = eth .attributes .desc ,
0 commit comments