Class OpenflowpluginMeterTestServiceProvider

    • Constructor Detail

      • OpenflowpluginMeterTestServiceProvider

        public OpenflowpluginMeterTestServiceProvider()
    • Method Detail

      • getDataService

        public org.opendaylight.mdsal.binding.api.DataBroker getDataService()
        Gets the data service.
        Returns:
        dataService
      • setDataService

        public void setDataService​(org.opendaylight.mdsal.binding.api.DataBroker dataService)
        Sets the dataService.
      • getMeterRegistration

        public org.opendaylight.yangtools.concepts.ObjectRegistration<SalMeterService> getMeterRegistration()
        Gets the meter registration.
        Returns:
        meterRegistration
      • setMeterRegistration

        public void setMeterRegistration​(org.opendaylight.yangtools.concepts.ObjectRegistration<SalMeterService> meterRegistration)
      • getNotificationService

        public org.opendaylight.mdsal.binding.api.NotificationPublishService getNotificationService()
        Gets the notification service.
        Returns:
        notificationService
      • setNotificationService

        public void setNotificationService​(org.opendaylight.mdsal.binding.api.NotificationPublishService notificationService)
      • start

        public void start()
      • addMeter

        public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddMeterOutput>> addMeter​(AddMeterInput input)
        Description copied from interface: SalMeterService
        Invoke add-meter RPC.
             
                 Adding meter to openflow device.
             
         
        Specified by:
        addMeter in interface SalMeterService
        Parameters:
        input - of add-meter
        Returns:
        output of add-meter
      • removeMeter

        public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveMeterOutput>> removeMeter​(RemoveMeterInput input)
        Description copied from interface: SalMeterService
        Invoke remove-meter RPC.
             
                 Removing metere from openflow device.
             
         
        Specified by:
        removeMeter in interface SalMeterService
        Parameters:
        input - of remove-meter
        Returns:
        output of remove-meter
      • updateMeter

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

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