Interface OpenFlowService

    • Method Detail

      • add

        void add​(OpenFlowClassifier classifier)
        Adds the OpenFlow classifier to the information base.
        Parameters:
        classifier - the OpenFlow classifier
      • remove

        void remove​(OpenFlowClassifier classifier)
        Removes the OpenFlow classifier from the information base.
        Parameters:
        classifier - classifier to remove
      • getClassifiers

        java.util.Set<OpenFlowClassifier> getClassifiers()
        Gets all OpenFlow classifiers in the system.
        Returns:
        set of OpenFlow classifiers
      • getClassifiersByDeviceId

        java.util.Set<OpenFlowClassifier> getClassifiersByDeviceId​(org.onosproject.net.DeviceId deviceId)
        Obtains OpenFlow classifiers in the system by device id.
        Parameters:
        deviceId - the device id
        Returns:
        set of OpenFlow classifiers
      • getClassifiersByDeviceIdAndQueue

        java.util.Set<OpenFlowClassifier> getClassifiersByDeviceIdAndQueue​(org.onosproject.net.DeviceId deviceId,
                                                                           int idQueue)
        Obtains OpenFlow classifiers in the system by device id and number of queue.
        Parameters:
        deviceId - the device id
        idQueue - the queue id
        Returns:
        set of OpenFlow classifiers