Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

Commit

Permalink
un-comment ConfigurationServiceFactoryImpl
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Oct 11, 2018
1 parent bd6abe5 commit 6434b77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@

- [ ] RestConfWiring with Web API

- [ ] OpenFlowPlugin wiring
- [X] OpenFlowPlugin wiring ConfigurationServiceFactoryImpl (OPNFLWPLUG-1037)
- [ ] OpenFlowPluginWiring PacketProcessingService <odl:action-provider>

- [ ] skitt's https://github.com/vorburger/opendaylight-simple/issues/38
- [ ] DiagStatusWiring auto-discover ServiceStatusProvider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
import com.google.common.util.concurrent.ListenableFuture;
import com.google.inject.AbstractModule;
import org.opendaylight.openflowplugin.api.openflow.OpenFlowPluginProviderFactory;
import org.opendaylight.openflowplugin.api.openflow.configuration.ConfigurationServiceFactory;
import org.opendaylight.openflowplugin.api.openflow.mastership.MastershipChangeServiceManager;
import org.opendaylight.openflowplugin.impl.OpenFlowPluginProviderFactoryImpl;
import org.opendaylight.openflowplugin.impl.configuration.ConfigurationServiceFactoryImpl;
import org.opendaylight.openflowplugin.impl.mastership.MastershipChangeServiceManagerImpl;
import org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingService;
import org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.TransmitPacketInput;
Expand All @@ -25,8 +27,7 @@ protected void configure() {
bind(PacketProcessingService.class).to(NoPacketProcessingService.class);

bind(OpenFlowPluginProviderFactory.class).to(OpenFlowPluginProviderFactoryImpl.class);
// see https://jira.opendaylight.org/browse/OPNFLWPLUG-1037
// bind(ConfigurationServiceFactory.class).to(ConfigurationServiceFactoryImpl.class);
bind(ConfigurationServiceFactory.class).to(ConfigurationServiceFactoryImpl.class);
bind(MastershipChangeServiceManager.class).to(MastershipChangeServiceManagerImpl.class);
}

Expand All @@ -40,6 +41,5 @@ private static class NoPacketProcessingService implements PacketProcessingServic
public ListenableFuture<RpcResult<TransmitPacketOutput>> transmitPacket(TransmitPacketInput input) {
throw new UnsupportedOperationException("TODO Implement me...");
}

}
}

0 comments on commit 6434b77

Please sign in to comment.