Class OpenflowSouthboundPlugin
- java.lang.Object
-
- io.lighty.core.controller.api.AbstractLightyModule
-
- io.lighty.modules.southbound.openflow.impl.OpenflowSouthboundPlugin
-
- All Implemented Interfaces:
LightyModule
public class OpenflowSouthboundPlugin extends AbstractLightyModule
-
-
Constructor Summary
Constructors Constructor Description OpenflowSouthboundPlugin(LightyServices lightyServices, ExecutorService executorService)OpenflowSouthboundPlugin(LightyServices lightyServices, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.OpenflowProviderConfig openflowProviderConfig, List<org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider> providers, ExecutorService executorService, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflowplugin.app.forwardingrules.manager.config.rev160511.ForwardingRulesManagerConfigBuilder frmConfigBuilder, org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingListener packetProcessingListener)Create OFP instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleaninitProcedure()protected booleanstopProcedure()-
Methods inherited from class io.lighty.core.controller.api.AbstractLightyModule
shutdown, start, startBlocking, startBlocking
-
-
-
-
Constructor Detail
-
OpenflowSouthboundPlugin
public OpenflowSouthboundPlugin(LightyServices lightyServices, ExecutorService executorService)
-
OpenflowSouthboundPlugin
public OpenflowSouthboundPlugin(@Nonnull LightyServices lightyServices, @Nonnull org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.OpenflowProviderConfig openflowProviderConfig, @Nonnull List<org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider> providers, @Nullable ExecutorService executorService, @Nullable org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflowplugin.app.forwardingrules.manager.config.rev160511.ForwardingRulesManagerConfigBuilder frmConfigBuilder, @Nullable org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingListener packetProcessingListener)Create OFP instance.- Parameters:
lightyServices- Required Lighty services.openflowProviderConfig- Required configuration for OFP.providers- Required Providers.executorService- Optional ExecutorService for LightyModule.frmConfigBuilder- If is not provide, OFP start without FRM.packetProcessingListener- If is not provide, OFP will be handling packets arrived to controller by default.
-
-
Method Detail
-
initProcedure
protected boolean initProcedure()
- Specified by:
initProcedurein classAbstractLightyModule
-
stopProcedure
protected boolean stopProcedure()
- Specified by:
stopProcedurein classAbstractLightyModule
-
-