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
Nested Classes Modifier and Type Class Description class
OpenflowpluginTestCommandProvider.TestFlowThread
-
Constructor Summary
Constructors Constructor Description OpenflowpluginTestCommandProvider(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.NotificationService notificationService, org.osgi.framework.BundleContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_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)
String
getHelp()
void
init()
-
-
-
Method Detail
-
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
public String 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)
-
-