commit | 3d71252d1c54d542af60ceffdf95a663492fd518 | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Thu Aug 11 11:20:44 2016 -0700 |
committer | Simon Hunt <simon@onlab.us> | Thu Aug 11 11:20:58 2016 -0700 |
tree | 8834c1092e9440e8b75c126080b2a9834089d23b | |
parent | a2d9f49bd4fcdb5beb0f7e39be3aaa802b06861c [diff] [blame] |
Added endPortA/B to UiLink class. Removed 'online' property from UiDevice, choosing to look up availability on the fly from device service. Change-Id: Ib14ab371a11c442a30cf407f11d366271d087c68
diff --git a/core/api/src/main/java/org/onosproject/ui/model/topo/UiRegionDeviceLink.java b/core/api/src/main/java/org/onosproject/ui/model/topo/UiRegionDeviceLink.java index f749473..e907fbc 100644 --- a/core/api/src/main/java/org/onosproject/ui/model/topo/UiRegionDeviceLink.java +++ b/core/api/src/main/java/org/onosproject/ui/model/topo/UiRegionDeviceLink.java
@@ -63,6 +63,13 @@ return device + UiLinkId.ID_PORT_DELIMITER + port; } + // no port for end-point A + + @Override + public String endPortB() { + return port.toString(); + } + /** * Returns the identity of the region. *