Add bug fixes for 2.2.1 devices
[transportpce.git] / common / src / main / java / org / opendaylight / transportpce / common / crossconnect / CrossConnect.java
index 7531b13a70dc3f66093453123cef305e5191097e..473958d5c1a9e5bc952e449e76722b6ad7f6b7e3 100644 (file)
@@ -23,6 +23,8 @@ public interface CrossConnect {
      *            Device id.
      * @param connectionNumber
      *            Name of the cross connect.
+     * @param <T>
+     *            generic.
      *
      * @return Roadm connection subtree from the device.
      */
@@ -56,7 +58,7 @@ public interface CrossConnect {
      * @return true/false based on status of operation.
      */
 
-    boolean deleteCrossConnect(String deviceId, String connectionNumber);
+    List<String> deleteCrossConnect(String deviceId, String connectionNumber);
 
     /**
      * This public method returns the list of ports (port-trail) for a roadm's
@@ -71,6 +73,10 @@ public interface CrossConnect {
      *            Source logical connection point.
      * @param destTp
      *            Destination logical connection point.
+     * @param <T>
+     *            generic.
+     * @throws OpenRoadmInterfaceException
+     *            an exception at OpenRoadm interface.
      *
      * @return list of Ports object type.
      */