Support auxiliary location in Host
Change-Id: If65ee733f03aa098a1db2b4ab663b1591495b061
(cherry picked from commit a13268974382094585d3aebf1991707f91bfebe8)
diff --git a/core/api/src/main/java/org/onosproject/net/Host.java b/core/api/src/main/java/org/onosproject/net/Host.java
index d4a922e..bf49bd9 100644
--- a/core/api/src/main/java/org/onosproject/net/Host.java
+++ b/core/api/src/main/java/org/onosproject/net/Host.java
@@ -65,13 +65,20 @@
HostLocation location();
/**
- * Returns all host locations where the host attaches to the network edge.
+ * Returns host locations where the host attaches to the network edge.
*
- * @return all host locations
+ * @return host locations
*/
Set<HostLocation> locations();
/**
+ * Returns host auxiliary locations, which could be useful for app operations in addition to the attach points.
+ *
+ * @return auxiliary locations, or null if unspecified
+ */
+ Set<HostLocation> auxLocations();
+
+ /**
* Returns true if configured by NetworkConfiguration.
*
* @return configured/learnt dynamically
@@ -106,5 +113,4 @@
*/
boolean suspended();
-
}