Added IP addresses to Port
diff --git a/core/api/src/main/java/org/onlab/onos/net/Port.java b/core/api/src/main/java/org/onlab/onos/net/Port.java
index e98278b..aab10d7 100644
--- a/core/api/src/main/java/org/onlab/onos/net/Port.java
+++ b/core/api/src/main/java/org/onlab/onos/net/Port.java
@@ -1,5 +1,9 @@
package org.onlab.onos.net;
+import java.util.Set;
+
+import org.onlab.packet.IpAddress;
+
/**
* Abstraction of a network port.
*/
@@ -28,4 +32,12 @@
// set of port attributes
+ /**
+ * Returns the set of IP addresses that are logically configured on this
+ * port.
+ *
+ * @return the set of IP addresses configured on the port. The set is empty
+ * if no addresses are configured.
+ */
+ Set<IpAddress> ipAddresses();
}