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.math.BigDecimal;
12 import java.util.BitSet;
13 import java.util.List;
15 import org.opendaylight.yang.gen.v1.http.org.openroadm.common.state.types.rev191129.State;
16 import org.opendaylight.yang.gen.v1.http.org.openroadm.equipment.states.types.rev191129.AdminStates;
17 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.network.rev180226.NodeId;
18 import org.opendaylight.yangtools.yang.common.Uint16;
20 public interface PceNode {
21 String getPceNodeType();
23 String getSupNetworkNodeId();
25 String getSupClliNodeId();
27 void addOutgoingLink(PceLink outLink);
29 String getRdmSrgClient(String tp);
31 String getXpdrClient(String tp);
33 boolean checkTP(String tp);
35 List<PceLink> getOutgoingLinks();
37 AdminStates getAdminStates();
43 Map<String, List<Uint16>> getAvailableTribPorts();
45 Map<String, List<Uint16>> getAvailableTribSlots();
48 * Get the version of node.
49 * @return the OpenROADM yang release supported by the node.
54 * For optical node, the spectrumOccupation of the node.
57 BitSet getBitSetData();
60 * For optical node the slot width granularity from mc capabilities.
63 BigDecimal getSlotWidthGranularity();