Class OpenflowpluginTestCommandProvider
java.lang.Object
org.opendaylight.openflowplugin.test.OpenflowpluginTestCommandProvider
- All Implemented Interfaces:
org.eclipse.osgi.framework.console.CommandProvider
public class OpenflowpluginTestCommandProvider
extends Object
implements org.eclipse.osgi.framework.console.CommandProvider
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionOpenflowpluginTestCommandProvider
(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.NotificationService notificationService, org.osgi.framework.BundleContext ctx) -
Method Summary
Modifier and TypeMethodDescriptionvoid
_addMDFlow
(org.eclipse.osgi.framework.console.CommandInterpreter ci) Adds a flow.void
_modifyMDFlow
(org.eclipse.osgi.framework.console.CommandInterpreter ci) void
_perfFlowTest
(org.eclipse.osgi.framework.console.CommandInterpreter ci) void
_removeMDFlow
(org.eclipse.osgi.framework.console.CommandInterpreter ci) void
_testAllFlows
(org.eclipse.osgi.framework.console.CommandInterpreter ci) getHelp()
void
init()
-
Constructor Details
-
OpenflowpluginTestCommandProvider
public OpenflowpluginTestCommandProvider(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.NotificationService notificationService, org.osgi.framework.BundleContext ctx)
-
-
Method Details
-
init
public void init() -
_removeMDFlow
public void _removeMDFlow(org.eclipse.osgi.framework.console.CommandInterpreter ci) -
_addMDFlow
public void _addMDFlow(org.eclipse.osgi.framework.console.CommandInterpreter ci) Adds a flow.- Parameters:
ci
- arguments: switchId flowType tableNum, e.g.: addMDFlow openflow:1 f1 42
-
_modifyMDFlow
public void _modifyMDFlow(org.eclipse.osgi.framework.console.CommandInterpreter ci) -
getHelp
- Specified by:
getHelp
in interfaceorg.eclipse.osgi.framework.console.CommandProvider
-
_perfFlowTest
public void _perfFlowTest(org.eclipse.osgi.framework.console.CommandInterpreter ci) -
_testAllFlows
public void _testAllFlows(org.eclipse.osgi.framework.console.CommandInterpreter ci)
-