2 * Copyright © 2021 Nokia, Inc. and others. All rights reserved.
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
8 package org.opendaylight.transportpce.tapi.topology;
10 import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.portmapping.rev210426.network.Nodes;
12 public interface TapiNetworkModelService {
15 * Create new TAPI node in tapi topologies.
18 * unique node ID of new OpenROADM node
19 * @param orNodeVersion
20 * OpenROADM node version
24 void createTapiNode(String orNodeId, int orNodeVersion, Nodes node);
27 * Delete TAPI node in topologies and update corresponding TAPI context objects.
30 * unique node ID of OpenROADM node.
33 void deleteTapinode(String nodeId);