Created InterfaceService which maintains an inventory of interfaces
based on configuration data.
Change-Id: I98a360fd1b833885fcb41bf9bb8a6e81dc436fd1
diff --git a/core/api/src/main/java/org/onosproject/net/host/HostService.java b/core/api/src/main/java/org/onosproject/net/host/HostService.java
index a2a8291..be114f0 100644
--- a/core/api/src/main/java/org/onosproject/net/host/HostService.java
+++ b/core/api/src/main/java/org/onosproject/net/host/HostService.java
@@ -15,16 +15,16 @@
*/
package org.onosproject.net.host;
-import java.util.Set;
-
+import org.onlab.packet.IpAddress;
+import org.onlab.packet.MacAddress;
+import org.onlab.packet.VlanId;
import org.onosproject.event.ListenerService;
import org.onosproject.net.ConnectPoint;
import org.onosproject.net.DeviceId;
import org.onosproject.net.Host;
import org.onosproject.net.HostId;
-import org.onlab.packet.IpAddress;
-import org.onlab.packet.MacAddress;
-import org.onlab.packet.VlanId;
+
+import java.util.Set;
/**
* Service for interacting with the inventory of end-station hosts.
@@ -127,7 +127,9 @@
* Returns the addresses information for all connection points.
*
* @return the set of address bindings for all connection points
+ * @deprecated in Drake release: use InterfaceService instead
*/
+ @Deprecated
Set<PortAddresses> getAddressBindings();
/**
@@ -136,7 +138,9 @@
*
* @param connectPoint the connection point to retrieve address bindings for
* @return addresses bound to the port
+ * @deprecated in Drake release: use InterfaceService instead
*/
+ @Deprecated
Set<PortAddresses> getAddressBindingsForPort(ConnectPoint connectPoint);
}