Class OpenflowpluginTestCommandProvider

java.lang.Object
org.opendaylight.openflowplugin.test.OpenflowpluginTestCommandProvider
All Implemented Interfaces:
AutoCloseable, org.eclipse.osgi.framework.console.CommandProvider

@Singleton public class OpenflowpluginTestCommandProvider extends Object implements org.eclipse.osgi.framework.console.CommandProvider, AutoCloseable
  • Constructor Details

    • OpenflowpluginTestCommandProvider

      @Inject public OpenflowpluginTestCommandProvider(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.NotificationService notificationService)
  • Method Details

    • close

      @PreDestroy public void close()
      Specified by:
      close in interface AutoCloseable
    • _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)