Package | Description |
---|---|
com.hp.of.lib.err |
OpenFlow Error Type enumerations.
|
com.hp.of.lib.msg |
Representations of OpenFlow Protocol Messages.
|
com.hp.of.sw |
Provides mock implementations of OpenFlow switches.
|
Modifier and Type | Class and Description |
---|---|
class |
ECodeBadAction
Designates the error codes associated with the
ErrorType.BAD_ACTION error type. |
class |
ECodeBadInstruction
Designates the error codes associated with the
ErrorType.BAD_INSTRUCTION error type. |
class |
ECodeBadMatch
Designates the error codes associated with the
ErrorType.BAD_MATCH error type. |
class |
ECodeBadRequest
Designates the error codes associated with the
ErrorType.BAD_REQUEST error type. |
class |
ECodeFlowModFailed
Designates the error codes associated with the
ErrorType.FLOW_MOD_FAILED error type. |
class |
ECodeGroupModFailed
Designates the error codes associated with the
ErrorType.GROUP_MOD_FAILED error type. |
class |
ECodeHelloFailed
Designates the error codes associated with the
ErrorType.HELLO_FAILED error type. |
class |
ECodeMeterModFailed
Designates the error codes associated with the
ErrorType.METER_MOD_FAILED error type. |
class |
ECodePortModFailed
Designates the error codes associated with the
ErrorType.PORT_MOD_FAILED error type. |
class |
ECodeQueueOpFailed
Designates the error codes associated with the
ErrorType.QUEUE_OP_FAILED error type. |
class |
ECodeRoleRequestFailed
Designates the error codes associated with the
ErrorType.ROLE_REQUEST_FAILED error type. |
class |
ECodeSwitchConfigFailed
Designates the error codes associated with the
ErrorType.SWITCH_CONFIG_FAILED error type. |
class |
ECodeTableFeaturesFailed
Designates the error codes associated with the
ErrorType.TABLE_FEATURES_FAILED error type. |
class |
ECodeTableModFailed
Designates the error codes associated with the
ErrorType.TABLE_MOD_FAILED error type. |
Modifier and Type | Method and Description |
---|---|
static ErrorCode |
ErrorCodeLookup.lookup(ErrorType type,
int code,
ProtocolVersion pv)
Looks up the error code constant for the given encoded value, based
on the supplied high-level error type.
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends ErrorCode> |
ErrorCodeLookup.codeClass(ErrorType type)
Returns the class of error code for the given error type.
|
Modifier and Type | Method and Description |
---|---|
static void |
ErrorCodeLookup.validate(ErrorType type,
ErrorCode code,
ProtocolVersion pv)
Validates the error type/code combination for the specified
protocol version, silently returning if all is well, or throwing
an exception if the combination is invalid.
|
Modifier and Type | Method and Description |
---|---|
ErrorCode |
OfmError.getErrorCode()
Returns the error code; Since 1.0.
|
Modifier and Type | Method and Description |
---|---|
OfmMutableError |
OfmMutableError.errorCode(ErrorCode code)
Sets the error code; Since 1.0.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MockOpenflowSwitch.sendError(ErrorType et,
ErrorCode ec,
OpenflowMessage m)
Send an error message back to the controller.
|
Copyright © 2015. All Rights Reserved.