package org.opendaylight.transportpce.renderer.provisiondevice.otn;
import java.util.List;
+
+import org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev181019.CircuitPacks;
+import org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev181019.org.openroadm.device.container.org.openroadm.device.OduSwitchingPools;
import org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev181019.org.openroadm.device.container.org.openroadm.device.odu.switching.pools.non.blocking.list.PortList;
+import org.opendaylight.yang.gen.v1.http.org.openroadm.port.capability.rev181019.port.group.restriction.grp.PortGroupRestriction;
public interface OtnDeviceOperations {
/**
* This method checks if the client port can be used or not.
- *
- * @param nodeID unique identifier of a device
* @param circuitPackName circuit pack name of the client port
* @param portName port name of the client port
* @param capacity rate of the service needed
+ * @param portGroupRestriction TODO
+ *
* @return String which states whether the client port is valid or not
*/
- String validateClientPort(String nodeID, String circuitPackName, String portName, String capacity);
+ String validateClientPort(String circuitPackName, String portName, String capacity,
+ PortGroupRestriction portGroupRestriction);
/**
* This method retrieves the possible network ports.
*</p>
* @param circuitPackName Circuit pack name of the client port
* @param portName port name of the client port
+ * @param oduSwitchingPools TODO
+ * @param circuitPacks TODO
* @return List of all possible network ports
*/
- List<PortList> getPossibleNetworkPorts(String circuitPackName, String portName);
+ List<PortList> getPossibleNetworkPorts(String circuitPackName, String portName,
+ OduSwitchingPools oduSwitchingPools, CircuitPacks circuitPacks);
}