2 * Copyright (c) 2020 Orange. 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.bgpcep.pcep.server;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.graph.rev220720.graph.topology.GraphKey;
12 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology;
13 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.TopologyKey;
14 import org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier;
16 public interface PceServerProvider {
19 * Return the instance of the Path Computation server.
21 * @return Path Computation Object
23 PathComputation getPathComputation();
26 * Register PCEP Topology into PCE Server to manage LSP.
28 * @param topology Configured PCEP Topology
29 * @param graphKey Configured Connected Graph Topology as GraphKey
31 void registerPcepTopology(KeyedInstanceIdentifier<Topology, TopologyKey> topology, GraphKey graphKey);
34 * Un Register current PCEP Topology into PCE Server.
36 * @param topology Configured PCEP Topology
38 void unRegisterPcepTopology(KeyedInstanceIdentifier<Topology, TopologyKey> topology);