Class OFConstants


  • public final class OFConstants
    extends Object
    OFP related constants.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.opendaylight.yangtools.yang.common.Uint32 ANY  
      static org.opendaylight.yangtools.yang.common.ErrorTag APPLICATION_TAG
      RpcError application tag.
      static String CONFIG_FILE_ID
      Persistent ID of OpenFlowPlugin configuration file.
      static org.opendaylight.yangtools.yang.common.Uint64 DEFAULT_COOKIE
      Default cookie.
      static org.opendaylight.yangtools.yang.common.Uint64 DEFAULT_COOKIE_MASK  
      static FlowCookie DEFAULT_FLOW_COOKIE  
      static org.opendaylight.yangtools.yang.common.Uint16 DEFAULT_FLOW_PRIORITY  
      static Match EMPTY_MATCH
      Empty flow match.
      static int MAC_ADDRESS_LENGTH  
      static String OF_URI_PREFIX  
      static org.opendaylight.yangtools.yang.common.Uint32 OFP_NO_BUFFER
      indicates that no buffering should be applied and the whole packet is to be sent to the controller.
      static org.opendaylight.yangtools.yang.common.Uint8 OFP_VERSION_1_0
      openflow protocol 1.0 - version identifier.
      static org.opendaylight.yangtools.yang.common.Uint8 OFP_VERSION_1_3
      openflow protocol 1.3 - version identifier.
      static org.opendaylight.yangtools.yang.common.Uint16 OFPCML_NO_BUFFER
      enum ofp_controller_max_len: indicates that no buffering should be applied and the whole packet is to be sent to the controller.
      static org.opendaylight.yangtools.yang.common.Uint32 OFPG_ALL
      enum ofp_group: Represents all groups for group delete commands.
      static org.opendaylight.yangtools.yang.common.Uint32 OFPG_ANY
      enum ofp_group: For OFPFC_DELETE* commands, require matching entries to include this as an output group.
      static org.opendaylight.yangtools.yang.common.Uint32 OFPM_ALL
      Represents all meters for stat requests commands.
      static short OFPP_ALL
      enum ofp_port_no, reserved port: all physical ports except input port.
      static org.opendaylight.yangtools.yang.common.Uint32 OFPP_ANY
      Wildcard port used only for flow mod (delete) and flow stats requests.
      static short OFPP_LOCAL
      enum ofp_port_no, reserved port: local openflow port.
      static short OFPP_NORMAL
      enum ofp_port_no, reserved port: process with normal L2/L3 switching.
      static org.opendaylight.yangtools.yang.common.Uint32 OFPQ_ALL
      Refers to all queues configured at the specified port.
      static org.opendaylight.yangtools.yang.common.Uint8 OFPTT_ALL
      enum ofp_table: Table numbering, wildcard table used for table config, flow stats and flow deletes.
      static int SIGNUM_UNSIGNED  
      static List<org.opendaylight.yangtools.yang.common.Uint8> VERSION_ORDER
      supported version ordered by height (highest version is at the beginning).
    • Field Detail

      • OFPP_NORMAL

        public static final short OFPP_NORMAL
        enum ofp_port_no, reserved port: process with normal L2/L3 switching.
        See Also:
        Constant Field Values
      • OFPP_ALL

        public static final short OFPP_ALL
        enum ofp_port_no, reserved port: all physical ports except input port.
        See Also:
        Constant Field Values
      • OFPP_LOCAL

        public static final short OFPP_LOCAL
        enum ofp_port_no, reserved port: local openflow port.
        See Also:
        Constant Field Values
      • OFP_VERSION_1_0

        public static final org.opendaylight.yangtools.yang.common.Uint8 OFP_VERSION_1_0
        openflow protocol 1.0 - version identifier.
      • OFP_VERSION_1_3

        public static final org.opendaylight.yangtools.yang.common.Uint8 OFP_VERSION_1_3
        openflow protocol 1.3 - version identifier.
      • OFPTT_ALL

        public static final org.opendaylight.yangtools.yang.common.Uint8 OFPTT_ALL
        enum ofp_table: Table numbering, wildcard table used for table config, flow stats and flow deletes.
      • ANY

        public static final org.opendaylight.yangtools.yang.common.Uint32 ANY
      • OFPP_ANY

        public static final org.opendaylight.yangtools.yang.common.Uint32 OFPP_ANY
        Wildcard port used only for flow mod (delete) and flow stats requests. Selects all flows regardless of output port (including flows with no output port).
      • OFPG_ANY

        public static final org.opendaylight.yangtools.yang.common.Uint32 OFPG_ANY
        enum ofp_group: For OFPFC_DELETE* commands, require matching entries to include this as an output group. A value of OFPG_ANY indicates no restriction.
      • OFPG_ALL

        public static final org.opendaylight.yangtools.yang.common.Uint32 OFPG_ALL
        enum ofp_group: Represents all groups for group delete commands.
      • OFPQ_ALL

        public static final org.opendaylight.yangtools.yang.common.Uint32 OFPQ_ALL
        Refers to all queues configured at the specified port.
      • OFPM_ALL

        public static final org.opendaylight.yangtools.yang.common.Uint32 OFPM_ALL
        Represents all meters for stat requests commands.
      • DEFAULT_COOKIE

        public static final org.opendaylight.yangtools.yang.common.Uint64 DEFAULT_COOKIE
        Default cookie.
      • DEFAULT_COOKIE_MASK

        public static final org.opendaylight.yangtools.yang.common.Uint64 DEFAULT_COOKIE_MASK
      • DEFAULT_FLOW_COOKIE

        public static final FlowCookie DEFAULT_FLOW_COOKIE
      • DEFAULT_FLOW_PRIORITY

        public static final org.opendaylight.yangtools.yang.common.Uint16 DEFAULT_FLOW_PRIORITY
      • EMPTY_MATCH

        public static final Match EMPTY_MATCH
        Empty flow match.
      • OFP_NO_BUFFER

        public static final org.opendaylight.yangtools.yang.common.Uint32 OFP_NO_BUFFER
        indicates that no buffering should be applied and the whole packet is to be sent to the controller.
      • OFPCML_NO_BUFFER

        public static final org.opendaylight.yangtools.yang.common.Uint16 OFPCML_NO_BUFFER
        enum ofp_controller_max_len: indicates that no buffering should be applied and the whole packet is to be sent to the controller.
      • APPLICATION_TAG

        public static final org.opendaylight.yangtools.yang.common.ErrorTag APPLICATION_TAG
        RpcError application tag.
      • CONFIG_FILE_ID

        public static final String CONFIG_FILE_ID
        Persistent ID of OpenFlowPlugin configuration file.
        See Also:
        Constant Field Values
      • VERSION_ORDER

        public static final List<org.opendaylight.yangtools.yang.common.Uint8> VERSION_ORDER
        supported version ordered by height (highest version is at the beginning).