Adapt PCE code for OTN services
[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
14 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.network.rev180226.NodeId;
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<Integer>> getAvailableTribPorts();
38
39     Map<String, List<Integer>> getAvailableTribSlots();
40 }