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 | Method and Description |
---|---|
static ErrorType |
ErrorType.decode(int code,
ProtocolVersion pv)
Decodes the error type code and returns the corresponding
constant.
|
ErrorType |
ECodeRoleRequestFailed.parentType() |
ErrorType |
ECodeTableModFailed.parentType() |
ErrorType |
ECodeBadMatch.parentType() |
ErrorType |
ECodeMeterModFailed.parentType() |
ErrorType |
ECodeBadAction.parentType() |
ErrorType |
ECodeHelloFailed.parentType() |
ErrorType |
ECodeGroupModFailed.parentType() |
ErrorType |
ECodeBadInstruction.parentType() |
ErrorType |
ECodeBadRequest.parentType() |
ErrorType |
ECodeTableFeaturesFailed.parentType() |
ErrorType |
ECodeQueueOpFailed.parentType() |
ErrorType |
ECodePortModFailed.parentType() |
ErrorType |
ECodeFlowModFailed.parentType() |
ErrorType |
ErrorCode.parentType()
Returns the parent error type for this error code.
|
ErrorType |
ECodeSwitchConfigFailed.parentType() |
static ErrorType |
ErrorType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorType[] |
ErrorType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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.
|
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.
|
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 |
---|---|
ErrorType |
OfmError.getErrorType()
Returns the high-level type of error; Since 1.0.
|
Modifier and Type | Method and Description |
---|---|
OfmMutableError |
OfmMutableError.errorType(ErrorType type)
Sets the error type; 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.