2 * Copyright © 2016 AT&T 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.networkmodel.service;
10 import org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNodeConnectionStatus;
13 * Service for data manipulation on OpenROADM topology models.
15 public interface NetworkModelService {
19 * Create new OpenROADM node in all OpenROADM topologies.
21 * unique node ID of new OpenROADM node
23 * OpenROADM node version
25 void createOpenRoadmNode(String nodeId, String nodeVersion);
28 * Delete OpenROADM node mapping and topologies.
30 * @param nodeId unique node ID of OpenROADM node.
33 void deleteOpenRoadmnode(String nodeId);
36 * Set/update connection status of OpenROADM node.
39 * unique node ID of new OpenROADM node
40 * @param connectionStatus
41 * connection status of the node
43 void setOpenRoadmNodeStatus(String nodeId, NetconfNodeConnectionStatus.ConnectionStatus connectionStatus);