8.2.7. Enum
xoa_driver.enums
includes enum classes for Valkyrie, Vulcan, Chimera, ValkyrieVE, and VulcanVE.
- class AlgorithmMethod[source]
Bases:
IntEnum
Algorithm to calculate the TCP initial congestion window (ICWND)
- FIXED_FACTOR = 2
Fixed
- RFC2581 = 1
RFC 2581
- RFC5681 = 0
RFC 5681
- class AlignLockStatus[source]
Bases:
IntEnum
Physical Lane Alignment Lock Status
- ALIGNOFF = 0
Alignment Lock Off
- ALIGNOFFUNSTABLE = 2
Alignment Lock Off and Unstable
- ALIGNON = 1
Alignment Lock On
- ALIGNONUNSTABLE = 3
Alignment Lock On but Unstable
- class AnLtLogControl[source]
Bases:
IntEnum
Added in version 1.3.
ANLT log control bits
- LOG_TYPE_ALG_TRACE = 16
link training algorithm trace
- LOG_TYPE_AN_TRACE = 4
autonegotiation trace output
- LOG_TYPE_DEBUG = 2
debug log output
- LOG_TYPE_FSM_ANEG = 131072
autonegotiation state machine transitions. What we act on
- LOG_TYPE_FSM_ANEG_STIMULI = 262144
autonegotiation stimuli state machine transitions. What we ask
- LOG_TYPE_FSM_LT = 524288
link training state machine transitions
- LOG_TYPE_FSM_LT_ALG0 = 4194304
link training algorithm 0 state machine transitions
- LOG_TYPE_FSM_LT_ALG1 = 8388608
link training algorithm -1 state machine transitions
- LOG_TYPE_FSM_LT_COEFF = 1048576
link training coefficient state machine transitions. What we act on
- LOG_TYPE_FSM_LT_STIMULI = 2097152
link training stimuli state machine transitions. What we ask
- LOG_TYPE_FSM_PORT = 65536
port state machine transitions
- LOG_TYPE_LT_TRACE = 8
link training trace output
- class ApplicationLayerBehavior[source]
Bases:
IntEnum
L47 Test Application Type
- NONE = 0
TCP connections are created according to the client and server ranges, and ramped up/down as specified in the load profile. But no payload is transmitted.
- RAW = 1
Differs from
NONE
in that it transmits payload when the TCP connection is established.
- REPLAY = 2
PCAP replay.
- class AutoNegFECOption[source]
Bases:
IntFlag
Auto Neg FEC Options
- DEFAULT_FEC = 0
Default FEC
- FCFEC = 2
Firecode FEC
- NO_FEC = 1
No FEC
- RS272 = 1024
RS 272
- RS528 = 256
RS 528
- RS544 = 512
RS 544
- RSFEC_CL161 = 8
RS CL 161
- RSFEC_CL91 = 4
RS FEC Cl91
- class AutoNegFECStatus[source]
Bases:
IntFlag
Auto Neg FEC Status
- DEFAULT_FEC = 0
Default FEC
- FC_FEC = 2
Firecode FEC
- NO_FEC = 1
No FEC
- RS272 = 1024
RS 272
- RS528 = 256
RS 528
- RS544 = 512
RS 544
- RSFEC_CL161 = 8
RS CL 161
- RSFEC_CL91 = 4
RS FEC Cl91
- class AutoNegFECType[source]
Bases:
IntEnum
Auto Neg FEC Type
- FC_FEC = 257
Firecode FEC
- NO_FEC = 1
No FEC
- PENDING = 0
Pending
- RS_FEC = 513
RS FEC
- class AutoNegMode[source]
Bases:
IntEnum
Auto Neg Mode
- ANEG_OFF = 0
Auto Neg Off
- ANEG_ON = 1
Auto Neg On
- class AutoNegStatus[source]
Bases:
IntEnum
Auto Neg Status
- ABILITY_DETECT = 3
Ability Detected
- ACKNOWLEDGE_DETECT = 4
Acknowledge Detected
- AN_GOOD = 8
AN Good
- AN_GOOD_CHECK = 7
AN Good Check
- COMPLETE_ACKNOWLEDGE = 5
Complete Acknowledge
- ENABLE = 1
Enabled
- NEXT_PAGE_WAIT = 6
Next Page Wait
- TRANSMIT_DISABLE = 2
Transmit Disabled
- UNKNOWN = 0
Unknown
- class AutoNegTecAbility[source]
Bases:
IntEnum
Auto Neg Technical Abilities
- BAM_100G_CR2_KR2 = 1002
BAM 100G CR2 KR2
- BAM_100G_CR4_KR4 = 1003
BAM 100G CR4 KR4
- BAM_200G_CR2_KR2 = 2002
BAM 200G CR2 KR2
- BAM_400G_CR8_KR8 = 4001
BAM 400G CR8 KR8
- BAM_50G_CR1_KR1 = 504
BAM 50G CR1 KR1
- BAM_50G_CR2_KR2 = 505
BAM 50G CR2 KR2
- DEFAULT_TECH_MODE = 0
Default Tech Mode
- EC_25GBASE_CR1 = 33554432
EC 25GBASE CR1
- EC_25GBASE_KR1 = 16777216
EC 25GBASE KR1
- EC_400GBASE_KR8 = 268435456
EC 400GBASE KR8
- EC_50GBASE_CR2 = 134217728
EC 50GBASE CR2
- EC_50GBASE_KR2 = 67108864
EC 50GBASE KR2
- EC_50G_CR1_KR1 = 503
EC 50G CR1 KR1
- EC_800GBASE_KR8 = 536870912
EC 800GBASE KR8
- IEEE_100GBASE_CR2_KR2 = 16384
IEEE 100GBASE CR2 KR2
- IEEE_100GBASE_KR1 = 65536
IEEE 100GBASE KR1
- IEEE_100G_CR4 = 256
IEEE 100G CR4
- IEEE_100G_KR4 = 128
IEEE 100G KR4
- IEEE_10G_KR = 4
IEEE 10G KR
- IEEE_200GBASE_CR4_KR4 = 32768
IEEE 200GBASE CR4 KR4
- IEEE_200GBASE_KR2 = 131072
IEEE 200GBASE KR2
- IEEE_25GBASE_CRS_KRS = 512
IEEE 25GBASE CRS KRS
- IEEE_25GBASE_CR_KR = 1024
IEEE 25GBASE CR KR
- IEEE_400GBASE_KR4 = 262144
IEEE 400GBASE KR4
- IEEE_40G_CR4 = 16
IEEE 40G CR4
- IEEE_50GBASE_CR_KR = 8192
IEEE 50GBASE CR KR
- class CaptureSize[source]
Bases:
IntEnum
Capture size
- FULL = 0
Capture whole packets
- SMALL = 1
Capture truncated packets
- class ChassisSessionType[source]
Bases:
IntEnum
The type of the session between the client and the chassis.
- MANAGER = 1
Connection on port 22606 running binary command (used by ValkyrieManager & VulcanManager).
- SCRIPT = 2
Connection on port 22611, running CLI command.
- class ChassisShutdownAction[source]
Bases:
IntEnum
Chassis shutdown actions.
- POWER_OFF = 2
Keep power-off after shutdown.
- RESTART = 1
Restart after shutdown.
- class CongestionType[source]
Bases:
IntEnum
TCP Congestion Control Algorithm
- NEW_RENO = 2
New RENO
- NONE = 0
No TCP Congestion Control
- RENO = 1
RENO
- class CorruptionType[source]
Bases:
IntEnum
Impairment corruption type
- BER = 5
Bit Error Rate
- ETH = 1
Ethernet
- IP = 2
IP
- OFF = 0
Off
- TCP = 4
TCP
- UDP = 3
UDP
- class CustomDefaultCommand[source]
Bases:
IntEnum
Custom Default Command
- CLEAR = 1
Clear Custom Default
- SET = 0
Set Custom Default
- class CustomDefaultScope[source]
Bases:
IntEnum
Custom Default Scope
- ALL = 0
All
- INSTANCE = 1
Instance
- class EmbedIP[source]
Bases:
IntEnum
Should Embed IP in MAC
- DONT_EMBED_IP = 0
Do not embed
- EMBED_IP = 1
Embed IP in MAC
- class Endianness[source]
Bases:
IntEnum
Endianness (Big/Little Endian).
- NORMAL = 0
Big Endian
- REVERTED = 1
Little Endian
- class ErrorOnOff[source]
Bases:
IntEnum
PRBS Error Injection Status
- ERRORSOFF = 0
PRBS Error Injection Off
- ERRORSON = 1
PRBS Error Injection On
- class FECMode[source]
Bases:
IntEnum
FEX Mode
- FC_FEC = 3
Firecode FEC
- OFF = 0
Off
- ON = 1
On
- RS_FEC = 2
RS FEC
- RS_FEC_INT = 6
RS FEC Int
- RS_FEC_KP = 5
RS FEC KP
- RS_FEC_KR = 4
RS FEC KR
- class FaultSignaling[source]
Bases:
IntEnum
Fault Signaling Behavior
- DISABLED = 3
Disabled
- FORCE_LOCAL = 1
Forced to Local
- FORCE_REMOTE = 2
Forced to Remote
- NORMAL = 0
Normal
- class FecCodewordBitErrorMaskMode[source]
Bases:
IntEnum
FEC Codeword Bit Error Mask Mode
- INC = 3
When mode is set to INC, bitmask will be ignored. Instead, the bit error pattern initiates from 000000001, 000000010, 000000011, continuing up to 111111111, and repeating the sequence as 000000001…
- ROTATE_HIGH = 2
The bit error pattern shifts one bit to the most significant bit per errored symbol.
- STATIC = 1
The bit error pattern stay the same for all errored symbols.
- UNKNOWN = 0
Unknown
- class FilterMode[source]
Bases:
IntEnum
Impairment Filter Mode
- BASIC = 0
Basic Mode
- EXTENDED = 1
Extended Mode
- class FilterType[source]
Bases:
IntEnum
Filter Type for Impairment
- SHADOW = 0
Shadow Copy
- WORKING = 1
Working Copy
- class FilterUse[source]
Bases:
IntEnum
Use of filter.
- AND = 1
Filtering will be done
- OFF = 0
No filtering will be done
- class FilterVlanType[source]
Bases:
IntEnum
VLAN PCP Settings for VLAN Filter
- INNER = 0
VLAN1 (0) (INNER VLAN Tag is specified for the filter – used also when only 1 VLAN), indicates single/inner VLAN-TPID=0x8100
- OUTER = 1
VLAN2 (1) (OUTER VLAN Tag is specified for the filter), indicates outer VLAN-TPID=0x88A8
- class FreyaAutonegMode[source]
Bases:
IntEnum
Auto Neg Mode
- DISABLED = 0
Auto Neg Off
- ENABLED = 1
Auto Neg On
- class FreyaFECAbility[source]
Bases:
IntFlag
Auto Neg FEC ability
- FC_FEC_10G_ABILITY = 1
FC_FEC_10G_ABILITY
- FC_FEC_10G_REQUEST = 2
FC_FEC_10G_REQUEST
- FC_FEC_25G_REQUEST = 8
FC_FEC_25G_REQUEST
- RS_FEC_25G_REQUEST = 4
RS_FEC_25G_REQUEST
- RS_FEC_Int = 16
RS_FEC_Int
- class FreyaLinkTrainingMode[source]
Bases:
IntEnum
Link Training Mode
- DISABLED = 0
Link training disabled
- ENABLED_AUTO = 1
Link training in auto mode
- ENABLED_INTERACTIVE = 2
Link training in interactive mode, requiring manual operation.
- class FreyaLinkTrainingRangeResponse[source]
Bases:
IntEnum
Response when LT range is reached
- AUTO = 0
The response is automatically determined by the serdes.
- COEFF_AT_LIMIT = 2
Respond Coefficient At Limit (coefficient status = 010) to the increment/decrement request.
- COEFF_EQ_AT_LIMIT = 4
Respond Coefficient At Limit and Equalization Limit (coefficient status = 110) to the increment/decrement request.
- COEFF_NOT_SUPPORTED = 5
Respond Coefficient Not Supported (coefficient status = 011) to the increment/decrement request.
- EQ_AT_LIMIT = 3
Respond Equalization Limit (coefficient status = 100) to the increment/decrement request.
- IGNORE = 1
The increment/decrement request will be “acknowledged” without acting upon it.
- class FreyaOutOfSyncPreset[source]
Bases:
IntEnum
Link Training out-of-sync preset
- CURRENT = 1
CURRENT
- IEEE = 0
IEEE
- class FreyaPauseAbility[source]
Bases:
IntFlag
Auto Neg Pause ability
- ASYM_PAUSE = 2
ASYM_PAUSE
- SYM_PAUSE = 1
SYM_PAUSE
- class FreyaPresetIndex[source]
Bases:
IntEnum
Preset index for FreyaPresetResponse
- LOS = 255
Preset when out of sync
- PRESET1 = 0
Preset 1
- PRESET2 = 1
Preset 2
- PRESET3 = 2
Preset 3
- PRESET4 = 3
Preset 4
- PRESET5 = 4
Preset 5
- class FreyaPresetResponse[source]
Bases:
IntEnum
Response to the received IC request
- ACCEPT = 1
Acknowledge the IC request and apply the corresponding preset value.
- IGNORE = 0
Acknowledge the IC request without acting upon it (acknowledge but no changes).
- class FreyaTapIndex[source]
Bases:
IntEnum
Preset index for FreyaPresetResponse
- TAP0 = 0
pre (For Freya 112G and 56G serdes)
- TAP1 = 1
main (For Freya 112G and 56G serdes)
- TAP2 = 2
post (For Freya 112G and 56G serdes)
- TAP3 = 3
pre2 (For Freya 112G and 56G serdes)
- TAP4 = 4
pre3 (For Freya 112G and 56G serdes)
- class FreyaTecAbility[source]
Bases:
IntFlag
Auto Neg Technical Abilities
- ETC_25G_CR = 33554432
ETC_25G_CR
- ETC_25G_KR = 16777216
ETC_25G_KR
- ETC_400G_CR8_KR8 = 268435456
ETC_400G_CR8_KR8
- ETC_50G_CR2 = 134217728
ETC_50G_CR2
- ETC_50G_KR2 = 67108864
ETC_50G_KR2
- ETC_800G_CR8_KR8 = 536870912
ETC_800G_CR8_KR8
- IEEE_1000BASE_KX = 1
IEEE_1000BASE_KX
- IEEE_100GBASE_CR10 = 32
IEEE_100GBASE_CR10
- IEEE_100GBASE_CR1_KR1 = 65536
IEEE_100GBASE_CR1_KR1
- IEEE_100GBASE_CR2_KR2 = 16384
IEEE_100GBASE_CR2_KR2
- IEEE_100GBASE_CR4 = 256
IEEE_100GBASE_CR4
- IEEE_100GBASE_KP4 = 64
IEEE_100GBASE_KP4
- IEEE_100GBASE_KR4 = 128
IEEE_100GBASE_KR4
- IEEE_10GBASE_KR = 4
IEEE_10GBASE_KR
- IEEE_10GBASE_KX4 = 2
IEEE_10GBASE_KX4
- IEEE_1_6TBASE_CR8_KR8 = 8388608
IEEE_1_6TBASE_CR8_KR8
- IEEE_200GBASE_CR1_KR1 = 1048576
IEEE_200GBASE_CR1_KR1
- IEEE_200GBASE_CR2_KR2 = 131072
IEEE_200GBASE_CR2_KR2
- IEEE_200GBASE_CR4_KR4 = 32768
IEEE_200GBASE_CR4_KR4
- IEEE_25GBASE_CR_KR = 1024
IEEE_25GBASE_CR_KR
- IEEE_25GBASE_CR_S_KR_S = 512
IEEE_25GBASE_CR_S_KR_S
- IEEE_2_5GBASE_KX = 2048
IEEE_2_5GBASE_KX
- IEEE_400GBASE_CR2_KR2 = 2097152
IEEE_400GBASE_CR2_KR2
- IEEE_400GBASE_CR4_KR4 = 262144
IEEE_400GBASE_CR4_KR4
- IEEE_40GBASE_CR4 = 16
IEEE_40GBASE_CR4
- IEEE_40GBASE_KR4 = 8
IEEE_40GBASE_KR4
- IEEE_50GBASE_CR_KR = 8192
IEEE_50GBASE_CR_KR
- IEEE_5GBASE_KR = 4096
IEEE_5GBASE_KR
- IEEE_800GBASE_CR4_KR4 = 4194304
IEEE_800GBASE_CR4_KR4
- IEEE_800GBASE_CR8_KR8 = 524288
IEEE_800GBASE_CR8_KR8
- class FreyaTecAbilityHCD[source]
Bases:
IntEnum
Auto Neg Technical Abilities
- ETC_25G_CR = 25
ETC_25G_CR
- ETC_25G_KR = 24
ETC_25G_KR
- ETC_400G_CR8_KR8 = 28
ETC_400G_CR8_KR8
- ETC_50G_CR2 = 27
ETC_50G_CR2
- ETC_50G_KR2 = 26
ETC_50G_KR2
- ETC_800G_CR8_KR8 = 29
ETC_800G_CR8_KR8
- IEEE_1000BASE_KX = 0
IEEE_1000BASE_KX
- IEEE_100GBASE_CR10 = 5
IEEE_100GBASE_CR10
- IEEE_100GBASE_CR1_KR1 = 16
IEEE_100GBASE_CR1_KR1
- IEEE_100GBASE_CR2_KR2 = 14
IEEE_100GBASE_CR2_KR2
- IEEE_100GBASE_CR4 = 8
IEEE_100GBASE_CR4
- IEEE_100GBASE_KP4 = 6
IEEE_100GBASE_KP4
- IEEE_100GBASE_KR4 = 7
IEEE_100GBASE_KR4
- IEEE_10GBASE_KR = 2
IEEE_10GBASE_KR
- IEEE_10GBASE_KX4 = 1
IEEE_10GBASE_KX4
- IEEE_1_6TBASE_CR8_KR8 = 23
IEEE_1_6TBASE_CR8_KR8
- IEEE_200GBASE_CR1_KR1 = 20
IEEE_200GBASE_CR1_KR1
- IEEE_200GBASE_CR2_KR2 = 17
IEEE_200GBASE_CR2_KR2
- IEEE_200GBASE_CR4_KR4 = 15
IEEE_200GBASE_CR4_KR4
- IEEE_25GBASE_CR_KR = 10
IEEE_25GBASE_CR_KR
- IEEE_25GBASE_CR_S_KR_S = 9
IEEE_25GBASE_CR_S_KR_S
- IEEE_2_5GBASE_KX = 11
IEEE_2_5GBASE_KX
- IEEE_400GBASE_CR2_KR2 = 21
IEEE_400GBASE_CR2_KR2
- IEEE_400GBASE_CR4_KR4 = 18
IEEE_400GBASE_CR4_KR4
- IEEE_40GBASE_CR4 = 4
IEEE_40GBASE_CR4
- IEEE_40GBASE_KR4 = 3
IEEE_40GBASE_KR4
- IEEE_50GBASE_CR_KR = 13
IEEE_50GBASE_CR_KR
- IEEE_5GBASE_KR = 12
IEEE_5GBASE_KR
- IEEE_800GBASE_CR4_KR4 = 22
IEEE_800GBASE_CR4_KR4
- IEEE_800GBASE_CR8_KR8 = 19
IEEE_800GBASE_CR8_KR8
- class FreyaTechAbilityHCDStatus[source]
Bases:
IntEnum
Auto Neg Pause ability
- FAILED = 2
FAILED
- SUCCESS = 1
SUCCESS
- class HeaderLockStatus[source]
Bases:
IntEnum
Physical Lane Header Lock Status
- HEADEROFF = 0
Header Lock Off
- HEADEROFFUNSTABLE = 2
Header Lock Off and Unstable
- HEADERON = 1
Header Lock On
- HEADERONUNSTABLE = 3
Header Lock On but Unstable
- class IGMPVersion[source]
Bases:
IntEnum
IGMP Version
- IGMPV2 = 0
IGMP Version 2
- IGMPV3 = 1
IGMP Version 3
- class ImpairmentLatencyMode[source]
Bases:
IntEnum
Impairment Latency Mode
- EXTENDED = 1
Extended
- NORMAL = 0
Normal
- class ImpairmentTypeIndex[source]
Bases:
IntEnum
Impairment Type Index
- CORRUPTION = 4
Corruption
- DROP = 0
Drop
- DUPLICATION = 3
Duplication
- LATENCYJITTER = 2
Delay/Jitter
- MISORDER = 1
Misorder
- POLICER = 5
Policer
- SHAPER = 6
Shaper
- class InfoAction[source]
Bases:
IntEnum
Action of filter.
- EXCLUDE = 0
Matching packets are excluded from the flow
- INCLUDE = 1
Matching packets are included from the flow
- class InjectErrorType[source]
Bases:
IntEnum
Lane Injection Error Type
- ALIGNERROR = 2
Alignment Error
- BIP8ERROR = 3
BIP8 Error
- HEADERERROR = 1
Header Error
- class IsOnline[source]
Bases:
IntEnum
Chassis online or not
- OFFLINE = 0
Chassis offline
- ONLINE = 1
Chassis online
- class IsPermanent[source]
Bases:
IntEnum
Whether it is permanent
- NON_PERMANENT = 0
Not permanent
- PERMANENT = 1
Permanent
- class L2PlusPresent[source]
Bases:
IntEnum
Presence of Layer-2+ protocols
- MPLS = 3
MPLS label is present
- NA = 0
No Layer 2+ protocols
- VLAN1 = 1
One VLAN Tag is present
- VLAN2 = 2
Two VLAN Tags are present
- class L3Present[source]
Bases:
IntEnum
Presence of Layer-3 protocols
- IP4 = 1
IPv4 is present
- IP6 = 2
IPv6 is present
- NA = 0
No Layer 3 protocols
- class L47IPVersion[source]
Bases:
IntEnum
IP version of the Connection Group
- IPV4 = 4
IPv4
- IPV6 = 6
IPv6
- class L47PortSpeed[source]
Bases:
IntEnum
L47 port speed mode
- AUTO = 0
Auto
- F100G = 9
100 Gbit/s
- F100M = 1
100 Mbit/s
- F10G = 5
10 Gbit/s
- F1G = 2
1 Gbit/s
- F25G = 6
25 Gbit/s
- F2_5G = 3
2.5 Gbit/s
- F40G = 7
40 Gbit/s
- F50G = 8
50 Gbit/s
- F5G = 4
5 Gbit/s
- class L47PortState[source]
Bases:
IntEnum
L47 port state
- DHCP = 9
DHCP Running
- OFF = 0
Off
- PREPARE = 1
Prepare
- PREPARE_FAIL = 3
Prepare Failed
- PREPARE_RDY = 2
Prepare Ready
- PRERUN = 4
Prerun
- PRERUN_RDY = 5
Prepare Ready
- RUNNING = 6
Running
- STOPPED = 8
Stopped
- STOPPING = 7
Stopping
- class L47ProtocolType[source]
Bases:
IntEnum
L4 protocol of the Connection Group
- TCP = 0
TCP
- UDP = 1
UDP
- class L47TrafficState[source]
Bases:
IntEnum
L47 traffic state
- OFF = 0
Off
- ON = 1
On
- PREPARE = 3
Prepare
- PRERUN = 4
Prerun
- STOP = 2
Stop
- class LatencyMode[source]
Bases:
IntEnum
Latency measurement mode
- FIRST2FIRST = 3
First-to-First
- FIRST2LAST = 1
First-to-Last
- LAST2FIRST = 2
Last-to-First
- LAST2LAST = 0
Last-to-Last
- class LatencyTypeCustomDist[source]
Bases:
IntEnum
Latency Type for Custom Distribution
- INTERPACKET_DISTRIBUTION = 0
Interpacket Distribution
- LATENCY_DISTRIBUTION = 1
Latency Distribution
- class Layer1ConfigType[source]
Bases:
IntEnum
Added in version 1.1.
Enums for PL1_CFG_TMP’s type.
- ANLT_LOG_CONTROL = 5
Control what should be logged by anlt
- ANLT_STRICT_MODE = 6
Set AN/LT strict mode. In strict mode errored framed will be ignored
- AN_EMPTY_NP = 8
Empty Next Pages mode. If enabled, the port forcibly sends empty NP pages. If disabled, the port does not send empty NP pages.
- AN_LOOPBACK = 1
Auto-negotiation loopback config
- AN_LT_XLA_MODE = 7
Set XLA mode. If enabled XLA dumps will, if triggered, be logged automatically
- AUTO_LINK_RECOVERY = 0
ANLT Auto Link Recovery
- LL_DEBUG_INFO = 3
Return the an/lt module base and RX and TX (serdes index, base address)
- LT_INITIAL_MODULATION = 2
The initial modulation (0=NRZ, 1=PAM4, 2=PAM4_WITH_PRECODING)
- LT_TRAINING_ALGORITHM = 4
The link training algorithm to use
- class Layer1Control[source]
Bases:
IntEnum
Layer 1 control
- SAMPLED_SIGNAL_INTEGRITY_SCAN = 0
SAMPLED_SIGNAL_INTEGRITY_SCAN
- class Layer1LogType[source]
Bases:
IntEnum
Added in version 1.1.
Warning
Still in beta mode. Subjected to changes
Enums for PL1_LOG’s type.
- AN = 0
Log for auto-neg
- LT = 1
Log for link training
- class Layer1Opcode[source]
Bases:
IntEnum
Layer 1 operation code
- START_SCAN = 0
for sampled eye scan
- class LengthType[source]
Bases:
IntEnum
Packet length type
- BUTTERFLY = 2
Butterfly
- FIXED = 0
Fixed
- INCREMENTING = 1
Incrementing
- MIX = 4
Mix
- RANDOM = 3
Random
- class LifecycleMode[source]
Bases:
IntEnum
Connection lifecycle mode
- IMMORTAL = 1
Connections are established during the ramp-up phase of the load profile, and are closed after the configured lifetime (configured by P4G_RAW_CONN_LIFETIME). As connections close, new connections are established, attempting to keep the concurrent number of established connections constant. A new connection will have the same IP address as the connection it replaces, but will have a new TCP port number. This will simulate that the user (defined by the client IP address) is living on, and creates new connections as old connections close.
- ONCE = 0
Connections are established during the ramp-up phase and not closed until the ramp-down phase of the load profile. That is, each configured connection only exists once.
- REINCARNATE = 2
Connections are established during the ramp-up phase of the load profile, and are closed after the configured lifetime (configured by P4G_RAW_CONN_LIFETIME). As connections close, new connections are established, attempting to keep the concurrent number of established connections constant. A new connection will have the same TCP port number as the connection it replaces, but will have a new IP address. This will simulate that the user (defined by the client IP address) ceases to exist, and new users appear as old users die.
- class LinkState[source]
Bases:
IntEnum
Low Power Mode Link State
- LINK_DOWN = 0
Link Down
- LINK_UP = 1
Link Up
- class LinkTrainAlgorithm[source]
Bases:
IntEnum
Added in version 1.2.
Link Training Algorithm
- ALG0 = 1
ALGORITHM 0
- ALGN1 = 2
ALGORITHM -1
- INTERACTIVE = 0
INTERACTIVE
- class LinkTrainAnnounce[source]
Bases:
IntEnum
Added in version 1.1.
Link Training Announce
- TRAINED = 0
The lane is trained
- class LinkTrainCmd[source]
Bases:
IntEnum
Added in version 1.1.
Link Training commands
- CMD_DEC = 2
Decrement the coeff provided in ARG
- CMD_ENCODING = 4
Set encoding provided in ARG
- CMD_INC = 1
Increment the coeff provided in ARG
- CMD_LOCAL_TRAINED = 255
Signal training completed
- CMD_NOP = 0
No operation. Used for ‘ping’ testing
- CMD_NO_EQ = 5
Set the coeff to NO_EQ
- CMD_PRESET = 3
Set the preset provided in ARG
- class LinkTrainCmdFlags[source]
Bases:
IntEnum
Added in version 1.1.
Link Training Command Flags
- DONE = 4
Command done
- IN_PROGRESS = 2
Command in progress
- LOCK = 8
Link locked
- LOCK_LOST = 16
Link lock lost
- NEW = 1
New command
- OVERRUN = 32
Overrun detected
- class LinkTrainCmdResults[source]
Bases:
IntEnum
Added in version 1.1.
Link Training Command Results
- COEFF_STS_AT_LIMIT = 130
Coeff at limit
- COEFF_STS_C_AND_EQ_LIMIT = 134
Coeff and EQ limit reached
- COEFF_STS_EQ_LIMIT = 132
EQ limit reached
- COEFF_STS_NOT_SUPPORTED = 131
Coeff not supported
- COEFF_STS_NOT_UPDATED = 128
Coeff did not update
- COEFF_STS_UPDATED = 129
Coeff updated
- FAILED = 3
Command failed
- SUCCESS = 1
Command successfully completed
- TIMEOUT = 2
Command timeout
- UNKNOWN = 0
Unknown result
- class LinkTrainCoeffs[source]
Bases:
IntEnum
Added in version 1.1.
Link Training coefficients
- MAIN = 1
Main coeff c(0)
- POST = 2
Post coeff c(1)
- PRE = 0
Pre coeff c(-1)
- PRE2 = 3
Pre2 coeff c(-2)
- PRE3 = 4
Pre3 coeff c(-3)
- UNKNOWN = 255
Unknown coeff
- class LinkTrainEncoding[source]
Bases:
IntEnum
Added in version 1.1.
Link Training Encoding
- NRZ(PAM2) = 0
NRZ (PAM2)
- PAM4 = 1
PAM4
- PAM4_WITH_PRECODING = 2
PAM4 with precoding
- UNKNOWN = 255
PAM4 with precoding
- class LinkTrainFrameLock[source]
Bases:
IntEnum
L1 Link Training Frame Lock Status
- LOCKED = 1
Frame Lock detected
- LOST = 0
No Frame Lock detected
- class LinkTrainPresets[source]
Bases:
IntEnum
Added in version 1.1.
Link Training presets
- PRESET_1 = 0
Preset 1
- PRESET_2 = 1
Preset 2
- PRESET_3 = 2
Preset 3
- PRESET_4 = 3
Preset 4
- PRESET_5 = 4
Preset 5
- UNKNOWN = 255
Unknown coeff
- class LinkTrainingFailureType[source]
Bases:
IntEnum
Link Training Failure Type
- FRAME_LOCK_ERROR = 1
Frame Lock Error
- NO_FAILURE = 0
No Failure
- SNR_BELOW_THRESHOLD = 2
SNR Below Threshold
- TIME_OUT_FAILURE = 3
Timeout Failure
- class LinkTrainingInitCondition[source]
Bases:
IntEnum
Link Training Initialization Condition
- INIT_ENABLED = 1
Initialization Enabled
- NO_INIT = 0
No Initialization
- class LinkTrainingMode[source]
Bases:
IntEnum
Link Training Mode
- DISABLED = 2
Link training is disabled
- INTERACTIVE = 3
Link training in interactive mode, requiring manual operation.
- STANDALONE = 1
Link training procedure is done automatically by the port
- START_AFTER_AUTONEG = 0
Link training starts automatically after autoneg is completed
- UNKNOWN = 255
Unknown link training mode
- class LinkTrainingStatus[source]
Bases:
IntEnum
Link Training Status
- NOT_TRAINED = 0
Not Trained
- TRAINED = 1
Trained
- class LinkTrainingStatusMode[source]
Bases:
IntEnum
Link Training Status Mode
- DISABLED = 0
Disabled
- ENABLED = 1
Enabled
- class LocalFaultStatus[source]
Bases:
IntEnum
Local Fault Status
- LOCAL_FAULT = 1
Local Fault
- OK = 0
OK
- class LoopBandwidth[source]
Bases:
IntEnum
Loop Bandwidth
- BW103HZ = 1
Loop Bandwidth = 103 Hz
- BW1683HZ = 4
Loop Bandwidth = 1683 Hz
- BW207HZ = 2
Loop Bandwidth = 207 Hz
- BW416HZ = 3
Loop Bandwidth = 416 Hz
- BW7019HZ = 5
Loop Bandwidth = 7019 Hz
- class LoopbackMode[source]
Bases:
IntEnum
Port loopback mode
- L1RX2TX = 1
L1 RX-to-TX
- L2RX2TX = 2
L2 RX-to-TX
- L3RX2TX = 3
L3 RX-to-TX
- NONE = 0
Off
- PORT2PORT = 6
Port-to-Port
- TXOFF2RX = 5
TX(off)-to-RX
- TXON2RX = 4
TX(on)-to-RX
- class MSSType[source]
Bases:
IntEnum
TCP Maximum Segment Type
- FIXED = 0
Fixed
- INCREMENT = 1
Incrementing
- RANDOM = 2
Pseudorandom
- class MediaCFPState[source]
Bases:
IntEnum
Modules’ CFP state
- FLEXIBLE = 3
Transceiver present, supporting flexible speed and port-count
- NOT_CFP = 0
This is not a CFP-based test module.
- NOT_FLEXIBLE = 2
Transceiver present, supporting a fixed speed and port-count
- NOT_PRESENT = 1
No transceiver, the CFP cage is empty
- class MediaCFPType[source]
Bases:
IntEnum
Module’s Media CFP Type. What kind of transceiver, may have multiple ports
- CFP4_1X100_ER4 = 18
CFP4 100G ER4
- CFP4_1X100_LR4 = 17
CFP4 100G LR4
- CFP4_1X100_SR4 = 19
CFP4 100G SR4
- CFP4_UNKNOWN = 16
CFP4 unknown
- CFP_1X100_LR4 = 5
CFP 100G LR4 1310 nm
- CFP_1X100_SR10 = 6
CFP 100G SR10 850 nm / CFP 40G SR4 850 nm
- CFP_1X40_LR4 = 4
CFP 40G LR4 1310 nm
- CFP_1X40_SR4 = 2
CFP 40G SR4 850 nm
- CFP_2X40_SR4 = 3
CFP 40G SR4 850 nm
- CFP_4X10_SFPP = 7
- CFP_INVALID = 1
CFP 100G not supported
- CFP_UNKNOWN = 0
CFP unknown
- CXP_AOC = 15
CXP 100G SR10 AOC / CXP 40G SR4 AOC
- CXP_SR10 = 14
CXP 100G SR10 850 nm / CXP 40G SR4 850 nm
- CXP_UNKNOWN = 13
CXP unknown SR10
- QSFP28P_CR4 = 30
QSFP+ CR4 Copper
- QSFP28P_ER4 = 29
QSFP+ ER4 1500 nm
- QSFP28P_ISM4 = 31
QSFP+ iSM4 1310 nm
- QSFP28P_LR4 = 28
QSFP+ LR4 1310 nm
- QSFP28P_SR4 = 27
QSFP+ SR4 850 nm
- QSFP28P_UNKNOWN = 32
QSFP+ unknown
- QSFP28_ACC = 25
QSFP28 ACC
- QSFP28_AOC = 24
QSFP28 AOC
- QSFP28_CR4 = 20
QSFP28 CR4
- QSFP28_CWDM4 = 34
QSFP28 CWDM4
- QSFP28_CWDM4_FEC = 35
QSFP28 CWDM4 FEC
- QSFP28_ER4 = 23
QSFP28 ER4
- QSFP28_LR4 = 22
QSFP28 LR4
- QSFP28_PSM4 = 36
QSFP28 PSM4
- QSFP28_SR4 = 21
QSFP28 SR4
- QSFP28_UNKNOWN = 26
QSFP28 unknown
- QSFP_EMPTY = 8
QSFP empty
- QSFP_ER = 12
QSFP ER 1550 nm
- QSFP_LR = 11
QSFP LR 1550 nm
- QSFP_SR = 10
QSFP SR 850 nm
- QSFP_UNKNOWN = 9
QSFP unknown
- TCVR_UNKNOWN = 33
Transceiver unknown
- class MediaConfigurationType[source]
Bases:
IntEnum
Module Media Configuration Type
- BASE_T1 = 100
BASE-T1
- BASE_T1S = 101
BASE-T1S
- CFP = 99
CFP
- CFP4 = 0
CFP4
- CXP = 2
CXP
- OSFP = 116
OSFP, 56G serdes
- OSFP800 = 112
OSFP800, 112G serdes
- OSFP800_ANLT = 115
OSFP800, 112G serdes, L1/ANLT
- OSFP_ANLT = 119
OSFP, 56G serdes, L1/ANLT
- OSFP_NRZ = 120
OSFP, 56G serdes, NRZ
- QSFP112 = 111
QSFP112, 112G serdes
- QSFP112_ANLT = 114
QSFP112, 112G serdes, L1/ANLT
- QSFP28 = 1
QSFP28, 25G serdes
- QSFP28_PAM4 = 10
QSFP28 4x26G KP -> 2x53G KP PAM4
- QSFP56 = 4
QSFP56, 56G serdes
- QSFP56_ANLT = 118
QSFP56, 56G serdes, L1/ANLT
- QSFPDD = 5
QSFP-DD, 56G serdes
- QSFPDD800 = 110
QSFP-DD800, 112G serdes
- QSFPDD800_ANLT = 113
QSFPDD800, 112G serdes, L1/ANLT
- QSFPDD_ANLT = 117
QSFP-DD, 56G serdes, L1/ANLT
- QSFP_DD_NRZ = 9
QSFP-DD, 25G serdes
- SFP112 = 8
SFP112
- SFP28 = 3
SFP28, 25G serdes
- SFP56 = 6
SFP56
- SFP_DD = 7
SFP-DD
- class ModifierAction[source]
Bases:
IntEnum
Modifier action mode
- DEC = 1
Decrementing
- INC = 0
Incrementing
- RANDOM = 2
Random
- class MulticastExtOperation[source]
Bases:
IntEnum
IGMPv2/v3Request Type
- EXCLUDE = 5
EXclude
- GENERAL_QUERY = 7
General Query
- GROUP_QUERY = 8
Group Query
- INCLUDE = 4
Include
- JOIN = 2
Join
- LEAVE = 3
Leave
- LEAVE_TO_ALL = 6
Leave To All
- OFF = 0
Off
- ON = 1
On
- class MulticastHeaderFormat[source]
Bases:
IntEnum
Additional Header to IGMPv2/v3 Packets
- NOHDR = 0
No Header
- VLAN = 1
VLAN
- class MulticastOperation[source]
Bases:
IntEnum
IGMPv2 Request Type
- JOIN = 2
Join
- LEAVE = 3
Leave
- OFF = 0
Off
- ON = 1
On
- class NRZPreset[source]
Bases:
IntEnum
Link Training NRZ Preset
- NRZ_NO_PRESET = 0
NRZ without Preset
- NRZ_WITH_PRESET = 1
NRZ with Preset
- class OnOffDefault[source]
Bases:
IntEnum
On Off Default Status
- DEFAULT = 2
Default
- OFF = 0
Off
- ON = 1
On
- class OnOffWithSuppress[source]
Bases:
IntEnum
Stream status
- OFF = 0
Off
- ON = 1
On
- SUPPRESS = 2
Suppressed
- class PAM4FrameSize[source]
Bases:
IntEnum
PAM4 Frame Size
- P16K_FRAME = 0
16K Frame Size
- P4K_FRAME = 1
4K Frame Size
- class PFCMode[source]
Bases:
IntEnum
The PFC CoS value of the stream
- FIVE = 5
the PFC CoS value = 5
- FOUR = 4
the PFC CoS value = 4
- OFF = 129
Remove PFC CoS value of the stream.
- ONE = 1
the PFC CoS value = 1
- SEVEN = 7
the PFC CoS value = 7
- SIX = 6
the PFC CoS value = 6
- THREE = 3
the PFC CoS value = 3
- TWO = 2
the PFC CoS value = 2
- VLAN_PCP = 128
PFC CoS value is automatically using the outer VLAN PCP value of the stream. If the VLAN field is missing, the stream won’t have a PFC CoS.
- ZERO = 0
the PFC CoS value = 0
- class PHYSignalStatus[source]
Bases:
IntEnum
PHY Signal Status
- LOCKED = 3
Locked
- NO_CDRLOCK = 2
No CDR Lock
- NO_SIGNAL = 0
No Signal
- class PPMSweepMode[source]
Bases:
IntEnum
Module clock PPM Sweep Modes
- NONE = 0
Off
- TRIANGLE = 1
Triangle sweeping
- class PPMSweepStatus[source]
Bases:
IntEnum
Module clock PPM Sweep Status
- OFF = 0
Off
- SWEEPING = 1
The module is sweeping
- class PRBSInsertedType[source]
Bases:
IntEnum
PRBS Type
- CAUI_VIRTUAL = 0
CAUI Virtual
- PHY_HOST = 2
PHY Host
- PHY_LINE = 1
PHY Line
- TCVR = 3
Transceiver
- class PRBSInvertState[source]
Bases:
IntEnum
PRBS Invert State
- INVERTED = 1
Inverted
- NON_INVERTED = 0
Non-inverted
- class PRBSLockStatus[source]
Bases:
IntEnum
Physical Lane PRBS Lock Status
- PRBSOFF = 0
PRBS Lock Off
- PRBSOFFUNSTABLE = 2
PRBS Lock Off and Unstable
- PRBSON = 1
PRBS Lock On
- PRBSONUNSTABLE = 3
PRBS Lock On but Unstable
- class PRBSPattern[source]
Bases:
IntEnum
PRBS Pattern
- PRBS10 = 8
PRBS-10
- PRBS11 = 2
PRBS-11
- PRBS13 = 10
PRBS-13
- PRBS15 = 3
PRBS-15
- PRBS20 = 9
PRBS-20
- PRBS23 = 4
PRBS-23
- PRBS31 = 5
PRBS-31
- PRBS49 = 7
PRBS-49
- PRBS58 = 6
PRBS-58
- PRBS7 = 0
PRBS-7
- PRBS9 = 1
PRBS-9
- class PRBSPolynomial[source]
Bases:
IntEnum
PRBS Polynomial
- PRBS10 = 8
PRBS-10
- PRBS11 = 2
PRBS-11
- PRBS13 = 10
PRBS-13
- PRBS15 = 3
PRBS-15
- PRBS20 = 9
PRBS-20
- PRBS23 = 4
PRBS-23
- PRBS31 = 5
PRBS-31
- PRBS49 = 7
PRBS-49
- PRBS58 = 6
PRBS-58
- PRBS7 = 0
PRBS-7
- PRBS9 = 1
PRBS-9
- SQUARE_WAVE = 25
Square Wave
- SSPRQ = 24
SSPRQ
- class PRBSStatisticsMode[source]
Bases:
IntEnum
PRBS Statistics Mode
- ACCUMULATIVE = 0
Accumulative
- PERSECOND = 1
Per Second
- class PacketDetailSelection[source]
Bases:
IntEnum
- ALL = 0
All
- FILTER = 2
Based on filter
- TPLD = 1
Based on Test Payload ID
- class PacketType[source]
Bases:
IntEnum
Type of Packet to Keep in Capture Buffer
- ALL = 0
All Packets
- FCSERR = 1
With FCS Errors
- FILTER = 4
Filtered Packets
- NOTPLD = 2
Without Test Payload
- PLDERR = 5
With Payload Errors
- TPLD = 3
With Test Payload
- class PauseMode[source]
Bases:
IntEnum
Pause Mode
- ASYM_PAUSE = 2
Asymmetric Pause
- NO_PAUSE = 0
No Pause
- SYM_PAUSE = 1
Symmetric Pause
- class PayloadGenerationMethod[source]
Bases:
IntEnum
Payload generation method.
- FIXED = 0
Payload has a fixed value.
- INCREMENT = 1
Payload consist of incrementing bytes.
- LONGRANDOM = 3
Payload consists of pseudo random bytes with a repeat cycle of 4 GB.
- RANDOM = 2
Payload consists of pseudo random bytes with a repeat cycle of 1 MB.
- class PayloadMode[source]
Bases:
IntEnum
Payload Mode
- CDF = 2
Custom Data Field
- EXTPL = 1
Extend Payload
- NORMAL = 0
Normal
- class PayloadType[source]
Bases:
IntEnum
Packet payload type
- DEC16 = 6
Added in version 1.1.
Decrementing with 0xFFFF (16-bit mode)
- DEC8 = 4
Changed in version 1.1.
Decrementing with 0xFF (8-bit mode)
- INC16 = 5
Added in version 1.1.
Incrementing with 0xFFFF (16-bit mode)
- INC8 = 1
Changed in version 1.1.
Incrementing with 0xFF (8-bit mode)
- PATTERN = 0
Pattern
- PRBS = 2
PRBS
- RANDOM = 3
Random
- class PolicerMode[source]
Bases:
IntEnum
Policer mode
- L1 = 0
Policer performed at Layer 1 level. I.e. including the preamble and min inter-packet gap.
- L2 = 1
Policer performed at Layer 2 level. I.e. excluding the preamble and min inter-packet gap
- class PortSpeedMode[source]
Bases:
IntEnum
Port speed mode
- AUTO = 0
Auto negotiate with peer
- F100G = 6
Forced to 100 Gbit/s
- F100M = 2
Forced to 100 Mbit/s
- F100M1G = 10
Auto negotiate to 100 Mbit/s or 1 Gbit/s
- F100M1G10G = 11
Auto negotiate to 100 Mbit/s or 1 Gbit/s or 10 Gbit/s
- F100M1G2500M = 14
Auto negotiate to 100 Mbit/s or 1 Gbit/s or 2500 Mbit/s
- F100MHDX = 8
Forced to 100 Mbit/s half-duplex
- F10G = 4
Forced to 10 Gbit/s
- F10M = 1
Forced to 10 Mbit/s
- F10M100M = 9
Auto negotiate to 10/100 Mbit/s
- F10MHDX = 7
Forced to 10 Mbit/s half-duplex
- F1600G = 20
Forced to 1600 Gbit/s
- F1G = 3
Forced to 1 Gbit/s
- F200G = 17
Forced to 200 Gbit/s
- F2500M = 12
Forced to 2500 Mbit/s
- F25G = 15
Forced to 25 Gbit/s
- F400G = 18
Forced to 400 Gbit/s
- F40G = 5
Forced to 40 Gbit/s
- F50G = 16
Forced to 50 Gbit/s
- F5G = 13
Forced to 5 Gbit/s
- F800G = 19
Forced to 800 Gbit/s
- UNKNOWN = 255
Speed mode unknown
- class ProtocolOption[source]
Bases:
IntEnum
Protocol header options
- ARP = 3
Address Resolution Protocol
- DHCPV4 = 39
Dynamic Host Configuration Protocol (IPv4)
- ECPRI = 46
Enhanced Common Public Radio Interface
- ETHERNET = 1
Ethernet II
- ETHERNET_8023 = 37
Ethernet 802.3
- ETHERTYPE = 48
EtherType
- FC = 20
Fibre Channel
- FCOE = 19
Fibre Channel over Ethernet
- FCOETAIL = 21
Fibre Channel over Ethernet (tail)
- GENEVE = 40
Generic Network Virtualization Encapsulation
- GRE_CHECK = 28
Generic Routing Encapsulation (w/ checksum)
- GRE_NOCHECK = 27
Generic Routing Encapsulation (w/o checksum)
- GTP = 10
GPRS Tunnelling Protocol
- GTPV1L0 = 30
GTPv1 (no options), GPRS Tunneling Protocol v1
- GTPV1L1 = 31
GTPv1 (w/ options), GPRS Tunneling Protocol v1
- GTPV2L0 = 32
GTPv2 (no options), GPRS Tunneling Protocol v2
- GTPV2L1 = 33
GTPv2 (w/ options), GPRS Tunneling Protocol v2
- ICMP = 11
Internet Control Message Protocol
- IGMPV1 = 34
Internet Group Management Protocol v1
- IGMPV2 = 25
Internet Group Management Protocol v2
- IGMPV3L0 = 22
IGMPv3 Membership Query L=0
- IGMPV3L1 = 23
IGMPv3 Membership Query L=1
- IP = 4
IPv4
- IPV6 = 5
IPv6
- LLC = 8
Logic Link Control
- MACCTRL = 16
MAC Control
- MACCTRLPFC = 45
MAC Control for PFC
- MPLS = 17
Multiprotocol Label Switching
- MPLS_TP_OAM = 26
MPLS-TP, OAM Header
- NVGRE = 38
Generic Routing Encapsulation (Network Virtualization)
- PBBTAG = 18
Provider Backbone Bridge tag
- PWETHCTRL = 35
PW Ethernet Control Word
- ROE = 47
Radio over Ethernet
- RTCP = 13
RTP Control Protocol
- RTP = 12
Real-time Transport Protocol
- SCTP = 15
Stream Control Transmission Protocol
- SNAP = 9
Subnetwork Access Protocol
- STP = 14
Spanning Tree Protocol
- TCP = 7
Transmission Control Protocol (w/o checksum)
- TCPCHECK = 29
Transmission Control Protocol (w/ checksum)
- UDP = 6
User Datagram Protocol (w/o checksum)
- UDPCHECK = 24
User Datagram Protocol (w/ checksum)
- VLAN = 2
VLAN
- VXLAN = 36
Virtual eXtensible LAN
- class RESTControlAction[source]
Bases:
IntEnum
Controls of Valkyrie REST server.
- RESTART = 2
Restart the REST server on the chassis.
- START = 0
Start the REST server on the chassis.
- STOP = 1
Stop the REST server on the chassis.
- class RXHState[source]
Bases:
IntEnum
Recent Change in EEE State on RX
- RXH_NA = 0
Leaving or Going Into
- RXH_X = 1
No Activity
- class ReconciliationSublayerSupport[source]
Bases:
IntEnum
Reconciliation Sublayer Support
- FAULT_SIGNALING = 1
Supported, which means P_FAULTSTATUS and P_FAULTSIGNALLING are supported by the port.
- NO_SUPPORT = 0
Not Supported
- class RemoteFaultStatus[source]
Bases:
IntEnum
Remote Fault Status
- OK = 0
OK
- REMOTE_FAULT = 1
Remote Fault
- class ReservedAction[source]
Bases:
IntEnum
Reservation actions.
- RELEASE = 0
Release the test resource.
- RELINQUISH = 2
Force release other’s ownership of the test resource.
- RESERVE = 1
Reserve the test resource.
- class ReservedStatus[source]
Bases:
IntEnum
Test resource reservation status
- RELEASED = 0
Test resource is released.
- RESERVED_BY_OTHER = 2
Test resource is reserved by another user.
- RESERVED_BY_YOU = 1
Test resource is reserved by you.
- class RxEqExtCap[source]
Bases:
IntEnum
Rx Equalizer Advanced Capability type.
- AGC = 2
Automatic Gain Control
- CDR = 4
Clock and Data Recovery
- CTLE_HIGH = 1
CTLE high frequency.
- CTLE_LOW = 0
CTLE low frequency.
- DFE = 13
Decision Feedback Equalization
- OC = 3
Offset Cancellation
- POST_FFE_1 = 14
Post Feed-Forward Equalizer #1
- POST_FFE_10 = 23
Post Feed-Forward Equalizer #10
- POST_FFE_11 = 24
Post Feed-Forward Equalizer #11
- POST_FFE_12 = 25
Post Feed-Forward Equalizer #12
- POST_FFE_13 = 26
Post Feed-Forward Equalizer #13
- POST_FFE_14 = 27
Post Feed-Forward Equalizer #14
- POST_FFE_15 = 28
Post Feed-Forward Equalizer #15
- POST_FFE_16 = 29
Post Feed-Forward Equalizer #16
- POST_FFE_17 = 30
Post Feed-Forward Equalizer #17
- POST_FFE_18 = 31
Post Feed-Forward Equalizer #18
- POST_FFE_19 = 32
Post Feed-Forward Equalizer #19
- POST_FFE_2 = 15
Post Feed-Forward Equalizer #2
- POST_FFE_20 = 33
Post Feed-Forward Equalizer #20
- POST_FFE_21 = 34
Post Feed-Forward Equalizer #21
- POST_FFE_22 = 35
Post Feed-Forward Equalizer #22
- POST_FFE_23 = 36
Post Feed-Forward Equalizer #23
- POST_FFE_3 = 16
Post Feed-Forward Equalizer #3
- POST_FFE_4 = 17
Post Feed-Forward Equalizer #4
- POST_FFE_5 = 18
Post Feed-Forward Equalizer #5
- POST_FFE_6 = 19
Post Feed-Forward Equalizer #6
- POST_FFE_7 = 20
Post Feed-Forward Equalizer #7
- POST_FFE_8 = 21
Post Feed-Forward Equalizer #8
- POST_FFE_9 = 22
Post Feed-Forward Equalizer #9
- PRE_FFE_1 = 5
Pre Feed-Forward Equalizer #1
- PRE_FFE_2 = 6
Pre Feed-Forward Equalizer #2
- PRE_FFE_3 = 7
Pre Feed-Forward Equalizer #3
- PRE_FFE_4 = 8
Pre Feed-Forward Equalizer #4
- PRE_FFE_5 = 9
Pre Feed-Forward Equalizer #5
- PRE_FFE_6 = 10
Pre Feed-Forward Equalizer #6
- PRE_FFE_7 = 11
Pre Feed-Forward Equalizer #7
- PRE_FFE_8 = 12
Pre Feed-Forward Equalizer #8
- class RxEqExtCapMode[source]
Bases:
IntEnum
Status for Rx Equalizer Advanced Capability.
- AUTO = 0
Auto.
- FREEZE = 2
Freeze.
- MANUAL = 1
Manual.
- class SMAInputFunction[source]
Bases:
IntEnum
SMA input function
- NOT_USED = 0
SMA input not used
- TX10MHZ = 2
TX Clock Ref. 10.0 MHz
- TX2MHZ = 1
TX Clock Ref. 2.048 MHz
- class SMAOutputFunction[source]
Bases:
IntEnum
SMA output function
- DISABLED = 0
Disabled
- P0RXCLK = 8
Port 0 RX Clock (nom. 10.0 MHz)
- P0RXCLK2MHZ = 10
Port 0 RX Clock (nom. 2.048 MHz)
- P0SOF = 2
Port 0 Start-of-Frame Pulse
- P1RXCLK = 9
Port 1 RX Clock (nom. 10.0 MHz)
- P1RXCLK2MHZ = 11
Port 1 RX Clock (nom. 2.048 MHz)
- P1SOF = 3
Port 1 Start-of-Frame Pulse
- PASSTHROUGH = 1
Pass-through
- REF10MHZ = 5
TX Clock (nom. 10.0 MHz)
- REF125MHZ = 6
TX Clock (nom. 125 MHz)
- REF156MHZ = 7
TX Clock (nom. 156.25 MHz)
- REF2MHZ = 4
TX Clock (nom. 2.048 MHz)
- TS_PPS = 12
Timing Source (Pulse-Per-Second)
- class SMAStatus[source]
Bases:
IntEnum
SMA status
- NO_VALID_SIGNAL = 1
No valid signal
- OK = 0
Status OK
- class SerdesStatus[source]
Bases:
IntEnum
Serdes Status
- INITIALIZING = 2
Initializing
- PLOTTING = 3
Plotting
- STARTED = 1
Started
- STOPPED = 0
Stopped
- class ServiceStatus[source]
Bases:
IntEnum
Service status.
- SERVICE_OFF = 0
Service is off.
- SERVICE_ON = 1
Service is on.
- class ShadowWorkingSelection[source]
Bases:
IntEnum
Shadow Working Selection
- SHADOW = 0
Shadow
- WORKING = 1
Working
- class SourceType[source]
Bases:
IntEnum
- RX_IFG = 2
RX IFG
- RX_JITTER = 5
RX Jitter
- RX_LATENCY = 4
RX Latency
- RX_LEN = 3
RX Length
- TX_IFG = 0
TX IFG
- TX_LEN = 1
TX Length
- class StartTrigger[source]
Bases:
IntEnum
Capture start trigger
- FCSERR = 1
From FCS Error
- FILTER = 2
From Filter
- ON = 0
From Traffic On
- PLDERR = 3
From Payload Error
- class StopTrigger[source]
Bases:
IntEnum
Capture stop trigger
- FCSERR = 1
Until Receiving FCS Error
- FILTER = 2
Until Filter Matched
- FULL = 0
Until Capture Buffer Full
- PLDERR = 3
Until Receiving Payload Error
- USERSTOP = 4
Until User Stops
- class StreamOption[source]
Bases:
IntEnum
Stream Options
- INCPLDFROM0 = 0
This flag affects the INC8/DEC8/INC16/DEC16 payload types (refer to the PS_PAYLOAD command): With the flag set, the first payload byte/word after the header will be 0 (INC8/INC16) or -1 (DEC8/DEC16). With the flag unset, the default is used: The first payload byte/word of the payload will be equal to <length of header> (INC8/INC16), or -<length of header> - 1 (DEC8/DEC16).
- class SyncStatus[source]
Bases:
IntEnum
Port sync status
- IN_SYNC = 1
In sync with peer
- NO_SYNC = 0
Not sync
- class SystemUpdateStatus[source]
Bases:
IntEnum
System Update Status
- FAILED_DECRYPT = 12
Decryption Failed
- FAILED_FILENAME = 11
Filename Failed
- FAILED_MOVE = 15
Moving Failed
- FAILED_PREP = 10
Preparation Failed
- FAILED_SCRIPT = 1
Script Failed
- FAILED_UNPACK = 13
Unpacking Failed
- FAILED_VERIFY = 14
Verification Failed
- OK = 0
Update OK
- class TLSVersion[source]
Bases:
IntEnum
TLS protocol version
- SSLV3 = 0
SSL v3
- TLS10 = 1
TLS v1.0
- TLS11 = 2
TLS v1.1
- TLS12 = 3
TLS v1.2
- class TSNConfigProfile[source]
Bases:
IntEnum
TSN PTP Configuration profile
- AUTOMOTIVE = 0
Defaults suitable for automotive testing
- IEEE1588V2 = 1
Defaults suitable for PTP testing
- class TSNHistogramSource[source]
Bases:
IntEnum
Data source for TSN histogram
- DRIFT = 0
Post-servo offset to Grandmaster
- DRIFTPRE = 1
Pre-servo offset to Grandmaster
- NRR = 3
Neighbor Rate Ratio data.
- PDELAY = 2
PDelay data.
- class TSNPortRole[source]
Bases:
IntEnum
TSN port role
- GRANDMASTER = 0
Grandmaster role
- SLAVE = 1
Slave role
- class TSNStatisticsTypes[source]
Bases:
IntEnum
TSN Statistics Types
- ALL = 0
All.
- OFFSET = 2
Offset.
- PACKETCOUNT = 1
Packet count.
- PDELAY = 3
PDelay.
- SYNCRATE = 4
Sync rate.
- class TSNTimeSource[source]
Bases:
IntEnum
TSN time source
- ATOMIC = 16
Atomic
- GPS = 32
GPS
- HAND_SET = 96
Handset
- INTERNAL_OSC = 160
Internal oscillator
- NTP = 80
NTP
- OTHER = 144
Other
- PTP = 64
PTP
- TERRESTRIAL = 48
Terrestrial
- class TXClockSource[source]
Bases:
IntEnum
TX Clock Source
- MODULELOCALCLOCK = 0
Module Local Clock
- P0RXCLK = 2
Port 0 RX Clock
- P1RXCLK = 3
Port 1 RX Clock
- P2RXCLK = 4
Port 2 RX Clock
- P3RXCLK = 5
Port 3 RX Clock
- P4RXCLK = 6
Port 4 RX Clock
- P5RXCLK = 7
Port 5 RX Clock
- P6RXCLK = 8
Port 6 RX Clock
- P7RXCLK = 9
Port 7 RX Clock
- SMAINPUT = 1
SMA Input
- class TXClockStatus[source]
Bases:
IntEnum
TX Clock Status
- NOVALIDTXCLK = 1
No Valid TX Clock
- OK = 0
Clock OK
- class TXHState[source]
Bases:
IntEnum
Recent Change in EEE State on TX
- TXH_NA = 0
Leaving or Going Into
- TXH_X = 1
No Activity
- class TXMode[source]
Bases:
IntEnum
Port TX Mode
- BURST = 3
Burst
- NORMAL = 0
Normal
- SEQUENTIAL = 2
Sequential
- STRICTUNIFORM = 1
Strict Uniform
- class TimeKeeperLicenseError[source]
Bases:
IntEnum
TimeKeeper License Error
- INVALID_CHASSISTYPE = 2
Invalid Chassis Type
- INVALID_SERIALNO = 1
Invalid Serial Number
- NO_LICENSE_ERROR = 0
No License Error
- class TimeKeeperLicenseFileState[source]
Bases:
IntEnum
TimeKeeper License File State
- INV = 1
Invalid
- NA = 0
Not Available
- VALID = 2
Valid
- class TimeKeeperLicenseType[source]
Bases:
IntEnum
TimeKeeper License Type
- CLIENT = 1
TimeKeeper Client
- SERVER = 2
TimeKeeper Server
- UNDEF = 0
Undefined
- class TimeKeeperServiceAction[source]
Bases:
IntEnum
TimeKeeper Service Action
- RESTART = 2
Restart
- START = 1
Start
- STOP = 0
Stop
- class TimeKeeperServiceStatus[source]
Bases:
IntEnum
TimeKeeper Service Status
- NA = 2
Not Available
- STARTED = 1
Service Started
- STOPPED = 0
Service Stopped
- class TimeoutMode[source]
Bases:
IntEnum
Link Training Timeout Mode
- DEFAULT = 0
Default Timeout
- DISABLED = 255
Timeout Disabled
- class Timescale[source]
Bases:
IntEnum
Time scale
- HOURS = 3
Hours
- MINUTES = 2
Minutes
- MSECS = 0
Milliseconds
- SECONDS = 1
Seconds
- class TimingSource[source]
Bases:
IntEnum
Module’s time sync mode.
- CHASSIS = 0
Module syncs to chassis’s clock.
- EXTERNAL = 1
Module syncs to an external clock.
- MODULE = 2
Module syncs to its own clock.
- class TrafficEngine[source]
Bases:
IntEnum
Traffic Engine
- MICRO_TGA = 2
Micro TGA
- TGA = 1
Normal TGA
- class TrafficError[source]
Bases:
IntEnum
Traffic Error
- NOT_PREPARED = 0
Not Prepared
- PREPARED_OK = 2
Prepared OK
- RATE_LENGTH_ERROR = 1
Rate Length Error
- class TrafficOnOff[source]
Bases:
IntEnum
Traffic status
- OFF = 0
Traffic off
- ON = 1
Traffic on
- PREPARING = 2
Traffic preparing
- class TrafficScenario[source]
Bases:
IntEnum
Traffic direction scenario
- BOTH = 2
Payload is transmitted in both directions.
- DOWNLOAD = 0
Server transmits payload to client.
- ECHO = 3
Client transmits payload to server, server echoes the payload back
- UPLOAD = 1
Client transmits payload to server.
- class UpdateState[source]
Bases:
IntEnum
License update state
- NONE = 0
None
- UPDATE_FAIL = 3
Update failed
- UPDATE_SUCCESS = 2
Update successful
- UPDATING = 1
Updating
- class WhoClose[source]
Bases:
IntEnum
How to close TCP connection when all payload has been transmitted.
- CLIENT = 1
Client closes the connection after last byte is receiver/transmitted
- NONE = 0
Keep the connection open after last byte is transmitted
- SERVER = 2
Server closes the connection after last byte is transmitted