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
  • 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

      public String getHelp()
      Specified by:
      getHelp in interface org.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)