Class OpenflowpluginTestServiceProvider

    • Constructor Detail

      • OpenflowpluginTestServiceProvider

        public OpenflowpluginTestServiceProvider​(org.opendaylight.mdsal.binding.api.DataBroker dataService,
                                                 org.opendaylight.mdsal.binding.api.NotificationPublishService notificationProviderService)
    • Method Detail

      • getDataService

        public org.opendaylight.mdsal.binding.api.DataBroker getDataService()
        Get data service.
        Returns:
        dataService
      • getFlowRegistration

        public org.opendaylight.yangtools.concepts.ObjectRegistration<SalFlowService> getFlowRegistration()
        Get flow registration.
        Returns:
        flowRegistration
      • setFlowRegistration

        public void setFlowRegistration​(org.opendaylight.yangtools.concepts.ObjectRegistration<SalFlowService> flowRegistration)
      • getNotificationService

        public org.opendaylight.mdsal.binding.api.NotificationPublishService getNotificationService()
        Get notification service.
        Returns:
        notificationProviderService
      • addFlow

        public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddFlowOutput>> addFlow​(AddFlowInput input)
        Description copied from interface: SalFlowService
        Invoke add-flow RPC.
             
                 Adding flow to openflow device.
             
         
        Specified by:
        addFlow in interface SalFlowService
        Parameters:
        input - of add-flow
        Returns:
        output of add-flow
      • removeFlow

        public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowOutput>> removeFlow​(RemoveFlowInput input)
        Description copied from interface: SalFlowService
        Invoke remove-flow RPC.
             
                 Removing flow from openflow device.
             
         
        Specified by:
        removeFlow in interface SalFlowService
        Parameters:
        input - of remove-flow
        Returns:
        output of remove-flow
      • updateFlow

        public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateFlowOutput>> updateFlow​(UpdateFlowInput input)
        Description copied from interface: SalFlowService
        Invoke update-flow RPC.
             
                 Updating flow on openflow device.
             
         
        Specified by:
        updateFlow in interface SalFlowService
        Parameters:
        input - of update-flow
        Returns:
        output of update-flow
      • register

        public org.opendaylight.yangtools.concepts.ObjectRegistration<OpenflowpluginTestServiceProvider> register​(org.opendaylight.mdsal.binding.api.RpcProviderService rpcRegistry)