Class OpenFlowClassifierConfig


  • public class OpenFlowClassifierConfig
    extends org.onosproject.net.config.Config<org.onosproject.net.DeviceId>
    Configuration for classifiers.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.onosproject.net.config.Config

        org.onosproject.net.config.Config.FieldPresence
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ETHER_TYPE  
      static java.lang.String TARGET_QUEUE  
      • Fields inherited from class org.onosproject.net.config.Config

        array, delegate, key, mapper, node, object, subject
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addClassifier​(OpenFlowClassifier classf)
      Adds a classifier to the config.
      java.util.Set<OpenFlowClassifier> getClassifiers()
      Retrieves all classifiers configured on this port.
      boolean isValid()  
      void removeClassifier​(OpenFlowClassifier classf)
      Removes a classifier from the config.
      • Methods inherited from class org.onosproject.net.config.Config

        apply, clear, get, get, get, get, get, get, getList, getList, hasField, hasField, hasFields, hasFields, hasOnlyFields, hasOnlyFields, init, isBoolean, isBoolean, isConnectPoint, isConnectPoint, isDecimal, isDecimal, isIntegralNumber, isIntegralNumber, isIpAddress, isIpAddress, isIpPrefix, isIpPrefix, isMacAddress, isMacAddress, isNumber, isNumber, isString, isString, isTpPort, isTpPort, isValidLength, key, node, setList, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, subject, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OpenFlowClassifierConfig

        public OpenFlowClassifierConfig()
    • Method Detail

      • isValid

        public boolean isValid()
        Overrides:
        isValid in class org.onosproject.net.config.Config<org.onosproject.net.DeviceId>
      • getClassifiers

        public java.util.Set<OpenFlowClassifier> getClassifiers()
        Retrieves all classifiers configured on this port.
        Returns:
        set of classifiers
      • addClassifier

        public void addClassifier​(OpenFlowClassifier classf)
        Adds a classifier to the config.
        Parameters:
        classf - classifier to add
      • removeClassifier

        public void removeClassifier​(OpenFlowClassifier classf)
        Removes a classifier from the config.
        Parameters:
        classf - classifier to remove