Eliminate PCEPDispatcher.getPCEPSessionNegotiatorFactory() 21/104021/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 14 Jan 2023 18:00:35 +0000 (19:00 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 14 Jan 2023 18:01:40 +0000 (19:01 +0100)
commit6571ddac5b50468b7bb845940cf3cd1a65e9f668
tree97167024e2917f4b9e9da66b1202a6246f446c6a
parent1570c4b9f17a7bd6abdd7cb508c1a55b9d999754
Eliminate PCEPDispatcher.getPCEPSessionNegotiatorFactory()

This is a useless indirection, as we are conflating the different
layers. This allows us to pass the factories when a server is created,
which is needed for the configuration flexibility.

JIRA: BGPCEP-962
Change-Id: Ia693272d67b621521a85c2662ea0f358c6479f30
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
pcep/api/src/main/java/org/opendaylight/protocol/pcep/PCEPDispatcher.java
pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/PCEPDispatcherImpl.java
pcep/impl/src/main/resources/OSGI-INF/blueprint/pcep-impl.xml
pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/PCEPTopologyProvider.java
pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/PCEPTopologyProviderDependencies.java
pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/PCEPTopologyTracker.java
pcep/topology/topology-provider/src/main/resources/OSGI-INF/blueprint/pcep-topology.xml