BGPCEP-739: Improve logs under programming
[bgpcep.git] / pcep / topology / topology-provider / src / main / java / org / opendaylight / bgpcep / pcep / topology / provider / config / PCEPTopologyConfiguration.java
index 24da2b33bb2a3c7e0f1d0522428023437d088f96..197fa0e5e87a95240f04214a110c43a55a4bb782 100644 (file)
@@ -11,7 +11,6 @@ import static com.google.common.base.Preconditions.checkNotNull;
 
 import java.net.InetSocketAddress;
 import javax.annotation.Nonnull;
-import org.opendaylight.bgpcep.programming.spi.InstructionScheduler;
 import org.opendaylight.protocol.concepts.KeyMapping;
 import org.opendaylight.protocol.pcep.SpeakerIdMapping;
 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NetworkTopology;
@@ -23,7 +22,6 @@ import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
 public final class PCEPTopologyConfiguration {
     private final InetSocketAddress address;
     private final KeyMapping keys;
-    private final InstructionScheduler scheduler;
     private final TopologyId topologyId;
     private final short rpcTimeout;
     private final SpeakerIdMapping speakerIds;
@@ -33,13 +31,11 @@ public final class PCEPTopologyConfiguration {
             @Nonnull final InetSocketAddress address,
             @Nonnull final KeyMapping keys,
             @Nonnull final SpeakerIdMapping speakerIds,
-            @Nonnull final InstructionScheduler scheduler,
             @Nonnull final TopologyId topologyId,
             final short rpcTimeout) {
         this.address = checkNotNull(address);
         this.keys = checkNotNull(keys);
         this.speakerIds = checkNotNull(speakerIds);
-        this.scheduler = checkNotNull(scheduler);
         this.topologyId = checkNotNull(topologyId);
         this.rpcTimeout = rpcTimeout;
         this.topology = InstanceIdentifier.builder(NetworkTopology.class)
@@ -56,11 +52,6 @@ public final class PCEPTopologyConfiguration {
         return this.topology;
     }
 
-    @Nonnull
-    public InstructionScheduler getSchedulerDependency() {
-        return this.scheduler;
-    }
-
     public short getRpcTimeout() {
         return this.rpcTimeout;
     }