Fix spotbugs issues of the renderer module
[transportpce.git] / renderer / src / main / java / org / opendaylight / transportpce / renderer / provisiondevice / otn / OtnDeviceOperations.java
index 1fa0da6dcdea4267aee14cc84b19dcc3d71f130e..0914b1362cc150a6f47e330fde49eaadbccc48bd 100644 (file)
@@ -8,20 +8,25 @@
 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.
@@ -31,9 +36,12 @@ public interface OtnDeviceOperations {
      *</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);
 
 
 }