Manage low order otn services over multiple ODU4
[transportpce.git] / networkmodel / src / main / java / org / opendaylight / transportpce / networkmodel / service / NetworkModelService.java
index 349b45ec9635b40f7db706ac2375ad6e10f4ad5f..5a9d3c3757722f940ea2d523e2f67f61a4296e0a 100644 (file)
@@ -98,7 +98,11 @@ public interface NetworkModelService {
      * otu link.
      *
      * @param link
-     *     link containing termination points to be updated
+     *     link containing termination points to be updated (used for use
+     *     case with a single supported link)
+     * @param supportedLinks
+     *     list of link-id supported the service (used for use case with
+     *     several supported links)
      * @param serviceRate
      *     Service rate may be 1G, 10G, 100G or 400G
      * @param tribPortNb
@@ -110,8 +114,8 @@ public interface NetworkModelService {
      * @param isDeletion
      *     True indicates if the low-order otn service must be deleted
      */
-    void updateOtnLinks(Link link, Uint32 serviceRate, Short tribPortNb, Short minTribSoltNb, Short maxTribSoltNb,
-            boolean isDeletion);
+    void updateOtnLinks(Link link, List<String> supportedLinks, Uint32 serviceRate, Short tribPortNb,
+            Short minTribSoltNb, Short maxTribSoltNb, boolean isDeletion);
 
     /**
      * Update otn links from otn-topology.
@@ -119,7 +123,8 @@ public interface NetworkModelService {
      * of the direct parent otu link.
      *
      * @param supportedLinks
-     *     list of link-id supported the service (used when more than one supported link)
+     *     list of link-id supported the service (used for use case with
+     *     several supported links)
      * @param isDeletion
      *     True indicates if the low-order otn service must be deleted
      */