BGPCEP-704: Update Topology Deployer
[bgpcep.git] / pcep / topology / topology-provider / src / main / java / org / opendaylight / bgpcep / pcep / topology / provider / config / PCEPTopologyConfigDependencies.java
index 9c1a55d6de1128c82b89f2ba4ee6e8c7a3d4f7ae..9a540692e5d41a6f3efd816e9fa300fe3a83872b 100644 (file)
@@ -9,10 +9,8 @@ package org.opendaylight.bgpcep.pcep.topology.provider.config;
 
 import static com.google.common.base.Preconditions.checkNotNull;
 
-import com.google.common.base.Optional;
 import java.net.InetSocketAddress;
 import org.opendaylight.bgpcep.programming.spi.InstructionScheduler;
-import org.opendaylight.controller.config.yang.pcep.topology.provider.PCEPTopologyProviderRuntimeRegistrator;
 import org.opendaylight.protocol.concepts.KeyMapping;
 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId;
 
@@ -21,17 +19,15 @@ public final class PCEPTopologyConfigDependencies {
     private final KeyMapping keys;
     private final InstructionScheduler scheduler;
     private final TopologyId topologyId;
-    private final Optional<PCEPTopologyProviderRuntimeRegistrator> runtime;
     private final short rpcTimeout;
 
-    public PCEPTopologyConfigDependencies(final InetSocketAddress address, final KeyMapping keys,
+     PCEPTopologyConfigDependencies(final InetSocketAddress address, final KeyMapping keys,
         final InstructionScheduler scheduler, final TopologyId topologyId,
-        final Optional<PCEPTopologyProviderRuntimeRegistrator> runtime, final short rpcTimeout) {
+         final short rpcTimeout) {
         this.address = checkNotNull(address);
         this.keys = checkNotNull(keys);
         this.scheduler = checkNotNull(scheduler);
         this.topologyId = checkNotNull(topologyId);
-        this.runtime = checkNotNull(runtime);
         this.rpcTimeout = rpcTimeout;
     }
 
@@ -47,10 +43,6 @@ public final class PCEPTopologyConfigDependencies {
         return this.rpcTimeout;
     }
 
-    public Optional<PCEPTopologyProviderRuntimeRegistrator> getRuntimeRootRegistrator() {
-        return this.runtime;
-    }
-
     public InetSocketAddress getAddress() {
         return this.address;
     }