changing port numbers to port descriptions in port config
Change-Id: Icc719d4b7007f815aefe5171909c96eceb78d6e9
diff --git a/core/api/src/main/java/org/onosproject/net/behaviour/PortConfig.java b/core/api/src/main/java/org/onosproject/net/behaviour/PortConfig.java
index 0f0c1da..464698e 100644
--- a/core/api/src/main/java/org/onosproject/net/behaviour/PortConfig.java
+++ b/core/api/src/main/java/org/onosproject/net/behaviour/PortConfig.java
@@ -16,7 +16,7 @@
package org.onosproject.net.behaviour;
import com.google.common.primitives.UnsignedInteger;
-import org.onosproject.net.PortNumber;
+import org.onosproject.net.device.PortDescription;
/**
* Means to configure a logical port at the device.
@@ -25,22 +25,22 @@
/**
* Apply QoS configuration on a device.
- * @param port a port number
+ * @param port a port description
* @param queueId an unsigned integer
*/
- void applyQoS(PortNumber port, UnsignedInteger queueId);
+ void applyQoS(PortDescription port, UnsignedInteger queueId);
/**
* Remove a QoS configuration.
- * @param port a port number
+ * @param port a port description
*/
- void removeQoS(PortNumber port);
+ void removeQoS(PortDescription port);
/**
* Enable/disable administratively a port.
- * @param port a port number
- * @param state a boolean indicating state
+ *
+ * @param port a port description containing the desired port state
*/
- void setEnabled(PortNumber port, boolean state);
+ void enable(PortDescription port);
}