Add PORT_NAME annotation on discoverPortDetails for arista.
Other drivers(eg. cisco, huwawei, juniper) implemented this annotation.
The NAME annotation will be remained for backward compatibility.
ONOS-7699
Change-Id: I1a3eb6781e2595d43e8a10eee724dee98e415606
diff --git a/drivers/arista/src/main/java/org/onosproject/drivers/arista/DeviceDescriptionDiscoveryAristaImpl.java b/drivers/arista/src/main/java/org/onosproject/drivers/arista/DeviceDescriptionDiscoveryAristaImpl.java
index 5b0b257..b75b3bf 100644
--- a/drivers/arista/src/main/java/org/onosproject/drivers/arista/DeviceDescriptionDiscoveryAristaImpl.java
+++ b/drivers/arista/src/main/java/org/onosproject/drivers/arista/DeviceDescriptionDiscoveryAristaImpl.java
@@ -123,6 +123,7 @@
SparseAnnotations annotations = DefaultAnnotations.builder()
.set(AnnotationKeys.BANDWIDTH, bandwidth.toString())
.set(AnnotationKeys.NAME, name)
+ .set(AnnotationKeys.PORT_NAME, name)
.set(LINK_STATUS, interfaceNode.path(LINK_STATUS).asText())
.set(LINE_PROTOCOL_STATUS, interfaceNode.path(LINE_PROTOCOL_STATUS).asText())
.set(INTERFACE_TYPE, interfaceNode.path(INTERFACE_TYPE).asText())