commit | b52a014a46048683a30385f4919fb334541ed4b4 | [log] [tgz] |
---|---|---|
author | Thomas Vachuska <tom@onlab.us> | Tue Apr 21 17:48:15 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed Apr 22 00:56:43 2015 +0000 |
tree | fe9105804485bd933277dcb2f7f863457227bccb | |
parent | 93451b4ddb3241f73a93c88005b05e2961551092 [diff] [blame] |
GUI -- Added ability to display port names in the devices view detail. Change-Id: Iffaf3b46099f868b7245fe0c7819d13e5bff76d3
diff --git a/core/api/src/main/java/org/onosproject/net/AnnotationKeys.java b/core/api/src/main/java/org/onosproject/net/AnnotationKeys.java index 05bf54e..b7c8a32 100644 --- a/core/api/src/main/java/org/onosproject/net/AnnotationKeys.java +++ b/core/api/src/main/java/org/onosproject/net/AnnotationKeys.java
@@ -76,6 +76,12 @@ public static final String OPTICAL_WAVES = "optical.waves"; /** + * Annotation key for the port name. + */ + public static final String PORT_NAME = "portName"; + + + /** * Returns the value annotated object for the specified annotation key. * The annotated value is expected to be String that can be parsed as double. * If parsing fails, the returned value will be 1.0.