package org.opendaylight.transportpce.networkmodel.service;
import java.util.List;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.portmapping.rev210927.mapping.Mapping;
+import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.networkutils.rev220630.OtnLinkType;
+import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.portmapping.rev220922.mapping.Mapping;
import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev210915.renderer.rpc.result.sp.Link;
-import org.opendaylight.yang.gen.v1.http.transportpce.topology.rev210511.OtnLinkType;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNodeConnectionStatus;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.device.rev231024.ConnectionOper.ConnectionStatus;
import org.opendaylight.yangtools.yang.common.Uint32;
/**
* @param connectionStatus
* connection status of the node
*/
- void setOpenRoadmNodeStatus(String nodeId, NetconfNodeConnectionStatus.ConnectionStatus connectionStatus);
+ void setOpenRoadmNodeStatus(String nodeId, ConnectionStatus connectionStatus);
/**
* create new otn link in otn-topology.
* 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
* @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.
* 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
*/