Fix ORDM device version in portmapping YANG model
[transportpce.git] / tapi / src / main / java / org / opendaylight / transportpce / tapi / topology / TapiNetworkModelService.java
1 /*
2  * Copyright © 2021 Nokia, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.transportpce.tapi.topology;
9
10 import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.portmapping.rev210425.network.Nodes;
11
12 public interface TapiNetworkModelService {
13
14     /**
15      * Create new TAPI node in tapi topologies.
16      *
17      * @param orNodeId
18      *     unique node ID of new OpenROADM node
19      * @param orNodeVersion
20      *     OpenROADM node version
21      * @param node
22      *     OpenRoadm node
23      */
24     void createTapiNode(String orNodeId, int orNodeVersion, Nodes node);
25
26     /**
27      * Delete TAPI node in topologies and update corresponding TAPI context objects.
28      *
29      * @param nodeId
30      *     unique node ID of OpenROADM node.
31      *
32      */
33     void deleteTapinode(String nodeId);
34 }