public enum SdnPort extends Enum<SdnPort> implements com.google.protobuf.ProtocolMessageEnum
------------------------------------------------------------------------------ Reserved controller-specified SDN port numbers for reference.Protobuf enum
p4.v1.SdnPort
Enum Constant and Description |
---|
SDN_PORT_CPU
0xFFFFFFFD: Send to CPU
|
SDN_PORT_MAX
0xFFFFFEFF: The maximum value of an SDN port (physical or logical).
|
SDN_PORT_MIN
SDN ports are numbered starting form 1.
|
SDN_PORT_RECIRCULATE
Reserved SDN port numbers (0xFFFFFF00 - 0xFFFFFFFF)
0xFFFFFFFA: Recirculate the packet back to ingress
|
SDN_PORT_UNKNOWN
SDN_PORT_UNKNOWN = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
SDN_PORT_CPU_VALUE
0xFFFFFFFD: Send to CPU
|
static int |
SDN_PORT_MAX_VALUE
0xFFFFFEFF: The maximum value of an SDN port (physical or logical).
|
static int |
SDN_PORT_MIN_VALUE
SDN ports are numbered starting form 1.
|
static int |
SDN_PORT_RECIRCULATE_VALUE
Reserved SDN port numbers (0xFFFFFF00 - 0xFFFFFFFF)
0xFFFFFFFA: Recirculate the packet back to ingress
|
static int |
SDN_PORT_UNKNOWN_VALUE
SDN_PORT_UNKNOWN = 0; |
Modifier and Type | Method and Description |
---|---|
static SdnPort |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<SdnPort> |
internalGetValueMap() |
static SdnPort |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SdnPort |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SdnPort |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SdnPort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SdnPort SDN_PORT_UNKNOWN
SDN_PORT_UNKNOWN = 0;
public static final SdnPort SDN_PORT_MIN
SDN ports are numbered starting form 1.
SDN_PORT_MIN = 1;
public static final SdnPort SDN_PORT_MAX
0xFFFFFEFF: The maximum value of an SDN port (physical or logical).
SDN_PORT_MAX = -257;
public static final SdnPort SDN_PORT_RECIRCULATE
Reserved SDN port numbers (0xFFFFFF00 - 0xFFFFFFFF) 0xFFFFFFFA: Recirculate the packet back to ingress
SDN_PORT_RECIRCULATE = -6;
public static final SdnPort SDN_PORT_CPU
0xFFFFFFFD: Send to CPU
SDN_PORT_CPU = -3;
public static final SdnPort UNRECOGNIZED
public static final int SDN_PORT_UNKNOWN_VALUE
SDN_PORT_UNKNOWN = 0;
public static final int SDN_PORT_MIN_VALUE
SDN ports are numbered starting form 1.
SDN_PORT_MIN = 1;
public static final int SDN_PORT_MAX_VALUE
0xFFFFFEFF: The maximum value of an SDN port (physical or logical).
SDN_PORT_MAX = -257;
public static final int SDN_PORT_RECIRCULATE_VALUE
Reserved SDN port numbers (0xFFFFFF00 - 0xFFFFFFFF) 0xFFFFFFFA: Recirculate the packet back to ingress
SDN_PORT_RECIRCULATE = -6;
public static final int SDN_PORT_CPU_VALUE
0xFFFFFFFD: Send to CPU
SDN_PORT_CPU = -3;
public static SdnPort[] values()
for (SdnPort c : SdnPort.values()) System.out.println(c);
public static SdnPort valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static SdnPort valueOf(int value)
forNumber(int)
instead.public static SdnPort forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<SdnPort> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SdnPort valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018 OpenDaylight. All rights reserved.