Changed PortAddress API to allow multiple IP addresses per port
diff --git a/core/api/src/main/java/org/onlab/onos/net/host/HostStore.java b/core/api/src/main/java/org/onlab/onos/net/host/HostStore.java
index e3667e3..e70bbf2 100644
--- a/core/api/src/main/java/org/onlab/onos/net/host/HostStore.java
+++ b/core/api/src/main/java/org/onlab/onos/net/host/HostStore.java
@@ -99,19 +99,28 @@
Set<Host> getConnectedHosts(DeviceId deviceId);
/**
- * Updates the address information for a given port.
+ * Updates the address information for a given port. The given address
+ * information is added to any previously held information for the port.
*
* @param addresses the port and address information
*/
void updateAddressBindings(PortAddresses addresses);
/**
+ * Removes the given addresses from the set of address information held for
+ * a port.
+ *
+ * @param addresses the port and address information
+ */
+ void removeAddressBindings(PortAddresses addresses);
+
+ /**
* Removes any previously stored address information for a given connection
* point.
*
* @param connectPoint the connection point
*/
- void removeAddressBindings(ConnectPoint connectPoint);
+ void clearAddressBindings(ConnectPoint connectPoint);
/**
* Returns the address bindings stored for all connection points.