127fa26d81cc5ac57ed88aed70fc75b6db5b5a99
[transportpce.git] / pce / src / main / java / org / opendaylight / transportpce / pce / networkanalyzer / PceNode.java
1 /*
2  * Copyright © 2020 Orange, 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
9 package org.opendaylight.transportpce.pce.networkanalyzer;
10
11 import java.util.List;
12 import java.util.Map;
13 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.network.rev180226.NodeId;
14 import org.opendaylight.yangtools.yang.common.Uint16;
15
16 public interface PceNode {
17     String getPceNodeType();
18
19     String getSupNetworkNodeId();
20
21     String getSupClliNodeId();
22
23     void addOutgoingLink(PceLink outLink);
24
25     String getRdmSrgClient(String tp);
26
27     String getXpdrClient(String tp);
28
29     boolean checkTP(String tp);
30
31     List<PceLink> getOutgoingLinks();
32
33     NodeId getNodeId();
34
35     boolean checkWL(long index);
36
37     Map<String, List<Uint16>> getAvailableTribPorts();
38
39     Map<String, List<Uint16>> getAvailableTribSlots();
40
41     /**
42      * Get the version of node.
43      * @return the OpenROADM yang release supported by the node.
44      */
45     String getVersion();
46 }