Class OFConstants
- java.lang.Object
-
- org.opendaylight.openflowplugin.api.OFConstants
-
public final class OFConstants extends Object
OFP related constants.
-
-
Field Summary
Fields Modifier and Type Field Description static org.opendaylight.yangtools.yang.common.Uint32ANYstatic StringAPPLICATION_TAGRpcError application tag.static StringCONFIG_FILE_IDPersistent ID of OpenFlowPlugin configuration file.static org.opendaylight.yangtools.yang.common.Uint64DEFAULT_COOKIEDefault cookie.static org.opendaylight.yangtools.yang.common.Uint64DEFAULT_COOKIE_MASKstatic FlowCookieDEFAULT_FLOW_COOKIEstatic org.opendaylight.yangtools.yang.common.Uint16DEFAULT_FLOW_PRIORITYstatic MatchEMPTY_MATCHEmpty flow match.static StringERROR_TAG_TIMEOUTRpcError tag - timeout.static intMAC_ADDRESS_LENGTHstatic StringOF_URI_PREFIXstatic org.opendaylight.yangtools.yang.common.Uint32OFP_NO_BUFFERindicates that no buffering should be applied and the whole packet is to be sent to the controller.static shortOFP_VERSION_1_0openflow protocol 1.0 - version identifier.static shortOFP_VERSION_1_3openflow protocol 1.3 - version identifier.static IntegerOFPCML_NO_BUFFERenum 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.Uint32OFPG_ALLenum ofp_group: Represents all groups for group delete commands.static org.opendaylight.yangtools.yang.common.Uint32OFPG_ANYenum ofp_group: For OFPFC_DELETE* commands, require matching entries to include this as an output group.static org.opendaylight.yangtools.yang.common.Uint32OFPM_ALLRepresents all meters for stat requests commands.static shortOFPP_ALLenum ofp_port_no, reserved port: all physical ports except input port.static org.opendaylight.yangtools.yang.common.Uint32OFPP_ANYWildcard port used only for flow mod (delete) and flow stats requests.static shortOFPP_LOCALenum ofp_port_no, reserved port: local openflow port.static shortOFPP_NORMALenum ofp_port_no, reserved port: process with normal L2/L3 switching.static org.opendaylight.yangtools.yang.common.Uint32OFPQ_ALLRefers to all queues configured at the specified port.static org.opendaylight.yangtools.yang.common.Uint8OFPTT_ALLenum ofp_table: Table numbering, wildcard table used for table config, flow stats and flow deletes.static intSIGNUM_UNSIGNEDstatic intSIZE_OF_LONG_IN_BYTESstatic List<Short>VERSION_ORDERsupported 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 short OFP_VERSION_1_0
openflow protocol 1.0 - version identifier.- See Also:
- Constant Field Values
-
OFP_VERSION_1_3
public static final short OFP_VERSION_1_3
openflow protocol 1.3 - version identifier.- See Also:
- Constant Field Values
-
OF_URI_PREFIX
public static final String OF_URI_PREFIX
- See Also:
- Constant Field Values
-
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 Integer 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.
-
MAC_ADDRESS_LENGTH
public static final int MAC_ADDRESS_LENGTH
- See Also:
- Constant Field Values
-
SIZE_OF_LONG_IN_BYTES
public static final int SIZE_OF_LONG_IN_BYTES
- See Also:
- Constant Field Values
-
SIGNUM_UNSIGNED
public static final int SIGNUM_UNSIGNED
- See Also:
- Constant Field Values
-
APPLICATION_TAG
public static final String APPLICATION_TAG
RpcError application tag.- See Also:
- Constant Field Values
-
ERROR_TAG_TIMEOUT
public static final String ERROR_TAG_TIMEOUT
RpcError tag - timeout.- See Also:
- Constant Field Values
-
CONFIG_FILE_ID
public static final String CONFIG_FILE_ID
Persistent ID of OpenFlowPlugin configuration file.- See Also:
- Constant Field Values
-
-