2 * Copyright © 2020 Orange, 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
9 package org.opendaylight.transportpce.pce.networkanalyzer;
11 import java.util.BitSet;
12 import java.util.List;
14 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.network.rev180226.NodeId;
15 import org.opendaylight.yangtools.yang.common.Uint16;
17 public interface PceNode {
18 String getPceNodeType();
20 String getSupNetworkNodeId();
22 String getSupClliNodeId();
24 void addOutgoingLink(PceLink outLink);
26 String getRdmSrgClient(String tp);
28 String getXpdrClient(String tp);
30 boolean checkTP(String tp);
32 List<PceLink> getOutgoingLinks();
36 Map<String, List<Uint16>> getAvailableTribPorts();
38 Map<String, List<Uint16>> getAvailableTribSlots();
41 * Get the version of node.
42 * @return the OpenROADM yang release supported by the node.
47 * For optical node, the spectrumOccupation of the node.
50 BitSet getBitSetData();