p_ue_commands module

This module contains the L23 port classes (UE) that deal with basic information about, and configuration of L23 test ports. The L23 port command names all have the form P_UE_<xxx> and require a module index id and a port index id. In general, port commands cannot be changed while traffic is on. Additionally, every stream must be disabled before changing parameters that affect the bandwidth of the port.

Port Commands - Ultra Ethernet

Port Commands - Ultra Ethernet

class P_UE_CTLOS_CLEAR[source]

Bases: object

Clear UE CtlOS counters in the specified direction(s).

class SetDataAttr[source]

Bases: RequestBodyStruct

direction

UE CtlOS clear direction.

clear_all()

Clear all UE CtlOS counters (RX and TX).

clear_none()

Not clear UE CtlOS counters

clear_rx()

Clear RX UE CtlOS counters

clear_tx()

Clear TX UE CtlOS counters

set(direction)[source]

Set the UE CtlOS clear direction.

Parameters:

direction (UecCtlosClearDirection) – the UE CtlOS clear direction

class P_UE_CTLOS_RX_ERRORS[source]

Bases: object

Get the CtlOS Rx error counters of the port.

class GetDataAttr[source]

Bases: ResponseBodyStruct

ctlos_msg_type_errors

long integer, the number of CtlOS message type errors.

ctlos_padding_errors

long integer, the number of CtlOS padding errors.

llr_ack_nack_interval_high

long integer, the number of LLR_ACK/NACK received with an interval that is too high.

llr_ack_nack_interval_low

long integer, the number of LLR_ACK/NACK received with an interval that is too low.

llr_ctlos_padding_error

long integer, the number of LLR CtlOS padding errors.

llr_init_echo_invalid_init_data

long integer, the number of LLR_INIT_ECHO with invalid INIT data.

llr_init_echo_invalid_init_seq

long integer, the number of LLR_INIT_ECHO with an invalid INIT sequence number.

llr_init_interval_low

long integer, the number of LLR_INIT received with an interval that is too low.

get()[source]

Get the CtlOS Rx error counters of the port.

Returns:

the CtlOS Rx error counters of the port

Return type:

P_UE_CTLOS_RX_ERRORS.GetDataAttr

class P_UE_CTLOS_RX_INTERVAL[source]

Bases: object

Get the CtlOS Rx interval statistics of the port. For each CtlOS message type, the minimum, maximum, and average intervals are reported.

class GetDataAttr[source]

Bases: ResponseBodyStruct

ctlos_avg

long integer, the average CtlOS Rx interval.

ctlos_max

long integer, the maximum CtlOS Rx interval.

ctlos_min

long integer, the minimum CtlOS Rx interval.

llr_ack_avg

long integer, the average LLR_ACK Rx interval.

llr_ack_max

long integer, the maximum LLR_ACK Rx interval.

llr_ack_min

long integer, the minimum LLR_ACK Rx interval.

llr_init_avg

long integer, the average LLR_INIT Rx interval.

llr_init_echo_avg

long integer, the average LLR_INIT_ECHO Rx interval.

llr_init_echo_max

long integer, the maximum LLR_INIT_ECHO Rx interval.

llr_init_echo_min

long integer, the minimum LLR_INIT_ECHO Rx interval.

llr_init_max

long integer, the maximum LLR_INIT Rx interval.

llr_init_min

long integer, the minimum LLR_INIT Rx interval.

llr_nack_avg

long integer, the average LLR_NACK Rx interval.

llr_nack_max

long integer, the maximum LLR_NACK Rx interval.

llr_nack_min

long integer, the minimum LLR_NACK Rx interval.

get()[source]

Get the CtlOS Rx interval statistics of the port.

Returns:

the CtlOS Rx interval statistics of the port

Return type:

P_UE_CTLOS_RX_INTERVAL.GetDataAttr

class P_UE_CTLOS_RX_STATS[source]

Bases: object

CtlOS Rx statistics, including counters of all UE CtlOS message type values.

class GetDataAttr[source]

Bases: ResponseBodyStruct

llr_ack_cnt

The number of LLR_ACK CtlOS received.

llr_init_cnt

The number of LLR_INIT CtlOS received.

llr_init_data

The init_data (16 bits) of the most recently received LLR_INIT CtlOS.

llr_init_echo_cnt

The number of LLR_INIT_ECHO CtlOS received.

llr_init_echo_data

The init_data (16 bits) of the most recently received LLR_INIT_ECHO CtlOS.

llr_init_echo_mismatch

The number of Rx LLR_INIT_ECHO CtlOS with a sequence number or data that does not match the most recently transmitted LLR_INIT CtlOS.

llr_init_echo_seq

The init_seq (20 bits) of the most recently received LLR_INIT_ECHO CtlOS.

llr_init_seq

The init_seq (20 bits) of the most recently received LLR_INIT CtlOS.

llr_nack_cnt

The number of LLR_NACK CtlOS received.

get()[source]

Get UE CtlOS Rx statistics.

Returns:

the UE CtlOS Rx statistics

Return type:

P_UE_CTLOS_RX_STATS.GetDataAttr

class P_UE_CTLOS_SPACING[source]

Bases: object

Configures the CtlOS spacing parameters of the port.

class GetDataAttr[source]

Bases: ResponseBodyStruct

min_spacing

integer, the minimum CtlOS spacing.

reserved1

integer, reserved.

reserved2

integer, reserved.

target_spacing

integer, the target CtlOS spacing.

class SetDataAttr[source]

Bases: RequestBodyStruct

min_spacing

integer, the minimum CtlOS spacing.

reserved1

integer, reserved.

reserved2

integer, reserved.

target_spacing

integer, the target CtlOS spacing.

get()[source]

Get the CtlOS spacing parameters of the port.

Returns:

the CtlOS spacing parameters of the port

Return type:

P_UE_CTLOS_SPACING.GetDataAttr

set(target_spacing, min_spacing, reserved1, reserved2)[source]

Set the CtlOS spacing parameters of the port.

Parameters:
  • target_spacing (int) – the target CtlOS spacing

  • min_spacing (int) – the minimum CtlOS spacing

  • reserved1 (int) – reserved

  • reserved2 (int) – reserved

class P_UE_CTLOS_TX_INTERVAL[source]

Bases: object

Get the CtlOS Tx interval statistics of the port. For each CtlOS message type, the minimum, maximum, and average intervals are reported.

class GetDataAttr[source]

Bases: ResponseBodyStruct

ctlos_avg

long integer, the average CtlOS Tx interval.

ctlos_max

long integer, the maximum CtlOS Tx interval.

ctlos_min

long integer, the minimum CtlOS Tx interval.

llr_ack_avg

long integer, the average LLR_ACK Tx interval.

llr_ack_max

long integer, the maximum LLR_ACK Tx interval.

llr_ack_min

long integer, the minimum LLR_ACK Tx interval.

llr_init_avg

long integer, the average LLR_INIT Tx interval.

llr_init_echo_avg

long integer, the average LLR_INIT_ECHO Tx interval.

llr_init_echo_max

long integer, the maximum LLR_INIT_ECHO Tx interval.

llr_init_echo_min

long integer, the minimum LLR_INIT_ECHO Tx interval.

llr_init_max

long integer, the maximum LLR_INIT Tx interval.

llr_init_min

long integer, the minimum LLR_INIT Tx interval.

llr_nack_avg

long integer, the average LLR_NACK Tx interval.

llr_nack_max

long integer, the maximum LLR_NACK Tx interval.

llr_nack_min

long integer, the minimum LLR_NACK Tx interval.

get()[source]

Get the CtlOS Tx interval statistics of the port.

Returns:

the CtlOS Tx interval statistics of the port

Return type:

P_UE_CTLOS_TX_INTERVAL.GetDataAttr

class P_UE_CTLOS_TX_STATS[source]

Bases: object

CtlOS Tx statistics, including counters of all UE CtlOS message type values.

class GetDataAttr[source]

Bases: ResponseBodyStruct

llr_ack_cnt

The number of LLR_ACK CtlOS transmitted.

llr_init_cnt

The number of LLR_INIT CtlOS transmitted.

llr_init_data

The LLR_INIT data. 2 bytes in hex format.

llr_init_echo_cnt

The number of LLR_INIT_ECHO CtlOS transmitted.

llr_init_echo_data

The LLR_INIT_ECHO data. 2 bytes in hex format.

llr_init_echo_seq

The LLR_INIT_ECHO sequence number. 3 bytes in hex format.

llr_init_seq

The LLR_INIT sequence number. 3 bytes in hex format.

llr_nack_cnt

The number of LLR_NACK CtlOS transmitted.

get()[source]

Get UE CtlOS Tx statistics.

Returns:

the UE CtlOS Tx statistics

Return type:

P_UE_CTLOS_TX_STATS.GetDataAttr

class P_UE_LINKNEG_OPTIONS[source]

Bases: object

This command selects which LLDP agent to use for UE Link Negotiation Options, and configures the desired LLR-W (local) setting. After the set operation, the UE Link Negotiation Options TLV will be added to the LLDPDU (if it is not already present in the LLDPDU) or replace the existing one (if Options TLV was previously added in LLDP configurataion).

The UE Link Negotiation Options TLV is used to discover and configure advanced UE link capabilities. Currently, the Options TLV is used to advertise the following UEC Link features:

  • Link Layer Retry (LLR): Provides link level re-transmissions for packets with errors.

Note

In Link Negotiation for LLR, the R/W access of the four flags are:

  • LLR-W (local): RW

  • LLR-W (remote): RO

  • LLR-E (local): RO

  • LLR-E (remote): RO

When Link Negotiation is enabled on a LLDP agent, the only configurable parameter is LLR-W (local). To read LLR-W (remote), use P_UE_LINKNEG_OPTIONS_STATUS. To read LLR-E (local) and LLR-E (remote), use P_UE_LLR_MODE

To disable Link Negotation for UE Link Options, send the command with no parameters. This will remove the Options TLV from the LLDPDU and disable Link Negotiation for UE Link Options.

class GetDataAttr[source]

Bases: ResponseBodyStruct

lldp_agent_index

integer, The LLDP agent index to use for advertising the advanced UE link capabilities. An LLDP agent must be created and configured separately using the LLDP commands before it can be used with this command.

Values: 0 to 7.

llr_wanted_local

coded integer, Indicates whether the local port wants LLR.

class SetDataAttr[source]

Bases: RequestBodyStruct

lldp_agent_index

integer, The LLDP agent index to use for advertising the advanced UE link capabilities. An LLDP agent must be created and configured separately using the LLDP commands before it can be used with this command.

Values: 0 to 7.

llr_wanted_local

coded integer, Indicates whether the local port wants LLR.

get()[source]

Get the description of the port.

Returns:

the description of the port

Return type:

P_UE_LINKNEG_OPTIONS.GetDataAttr

set(lldp_agent_index, llr_wanted_local)[source]

Set the UE Link Negotiation Options.

Parameters:
  • lldp_agent_index (int) – The LLDP agent index to use for advertising the advanced UE link capabilities. Values: 0 to 7.

  • llr_wanted_local (UecLinkOptionLlr) – Indicates whether the local port wants LLR.

class P_UE_LINKNEG_OPTIONS_STATUS[source]

Bases: object

Read LLR-W (local) and LLR-W (remote) of the port, which indicates whether the local and remote ports want to use LLR. This command is for read-only purposes and does not change any configuration or behavior of the LLR.

class GetDataAttr[source]

Bases: ResponseBodyStruct

llr_wanted_local

coded integer, Indicates whether the local port wants LLR.

llr_wanted_remote

coded integer, Indicates whether the remote port wants LLR.

get()[source]

Get the current UE link negotiation options status.

Returns:

the current UE link negotiation options status

Return type:

P_UE_LINKNEG_OPTIONS_STATUS.GetDataAttr

class P_UE_LLR_ACKNACK[source]

Bases: object

Configures the LLR ACK/NACK spacing parameters of the port.

class GetDataAttr[source]

Bases: ResponseBodyStruct

max_spacing

integer, the maximum ACK/NACK spacing.

min_spacing

integer, the minimum ACK/NACK spacing.

target_spacing

integer, the target ACK/NACK spacing.

class SetDataAttr[source]

Bases: RequestBodyStruct

max_spacing

integer, the maximum ACK/NACK spacing.

min_spacing

integer, the minimum ACK/NACK spacing.

target_spacing

integer, the target ACK/NACK spacing.

get()[source]

Get the LLR ACK/NACK spacing parameters of the port.

Returns:

the LLR ACK/NACK spacing parameters of the port

Return type:

P_UE_LLR_ACKNACK.GetDataAttr

set(target_spacing, min_spacing, max_spacing)[source]

Set the LLR ACK/NACK spacing parameters of the port.

Parameters:
  • target_spacing (int) – the target ACK/NACK spacing

  • min_spacing (int) – the minimum ACK/NACK spacing

  • max_spacing (int) – the maximum ACK/NACK spacing

class P_UE_LLR_BEHAVIOR[source]

Bases: object

Configures the LLR behavior of the port for the INIT and FLUSH states.

class GetDataAttr[source]

Bases: ResponseBodyStruct

llr_flush_behavior

coded byte, the LLR behavior for LLR-eligible frames when the TX state machine is in the FLUSH state.

llr_init_behavior

coded byte, the LLR behavior for LLR-eligible frames when the TX state machine is in the INIT state.

re_init_on_discard

coded byte, whether to re-initialize the LLR on discard.

class SetDataAttr[source]

Bases: RequestBodyStruct

llr_flush_behavior

coded byte, the LLR behavior for LLR-eligible frames when the TX state machine is in the FLUSH state.

llr_init_behavior

coded byte, the LLR behavior for LLR-eligible frames when the TX state machine is in the INIT state.

re_init_on_discard

coded byte, whether to re-initialize the LLR on discard.

get()[source]

Get the LLR behavior of the port.

Returns:

the LLR behavior of the port

Return type:

P_UE_LLR_BEHAVIOR.GetDataAttr

set(llr_init_behavior, llr_flush_behavior, re_init_on_discard)[source]

Set the LLR behavior of the port.

Parameters:
  • llr_init_behavior (UecLlrBehavior) – the LLR behavior for LLR-eligible frames when the TX state machine is in the INIT state

  • llr_flush_behavior (UecLlrBehavior) – the LLR behavior for LLR-eligible frames when the TX state machine is in the FLUSH state

  • re_init_on_discard (YesNo) – whether to re-initialize the LLR on discard

class P_UE_LLR_INIT[source]

Bases: object

Configures the LLR INIT parameters of the port.

class GetDataAttr[source]

Bases: ResponseBodyStruct

init_data

2 bytes in hex format, the 16-bit LLR_INIT data.

init_seq

3 bytes in hex format, the 24-bit LLR_INIT sequence number.

min_spacing_multiplier

integer, the minimum spacing multiplier.

class SetDataAttr[source]

Bases: RequestBodyStruct

init_data

2 bytes in hex format, the 16-bit LLR_INIT data.

init_seq

3 bytes in hex format, the 24-bit LLR_INIT sequence number.

min_spacing_multiplier

integer, the minimum spacing multiplier.

get()[source]

Get the LLR INIT parameters of the port.

Returns:

the LLR INIT parameters of the port

Return type:

P_UE_LLR_INIT.GetDataAttr

set(init_seq, init_data, min_spacing_multiplier)[source]

Set the LLR INIT parameters of the port.

Parameters:
  • init_seq (Hex) – the 24-bit LLR_INIT sequence number (3 bytes)

  • init_data (Hex) – the 16-bit LLR_INIT data (2 bytes)

  • min_spacing_multiplier (int) – the minimum spacing multiplier

class P_UE_LLR_INIT_ECHO[source]

Bases: object

Configures the LLR INIT_ECHO parameters of the port.

class GetDataAttr[source]

Bases: ResponseBodyStruct

init_data

2 bytes in hex format, the 16-bit INIT_ECHO data when manual mode is used.

init_data_mode

coded byte, the source mode of the INIT_ECHO data.

init_seq

3 bytes in hex format, the 24-bit INIT_ECHO sequence number when manual mode is used.

init_seq_mode

coded byte, the source mode of the INIT_ECHO sequence number.

class SetDataAttr[source]

Bases: RequestBodyStruct

init_data

2 bytes in hex format, the 16-bit INIT_ECHO data when manual mode is used.

init_data_mode

coded byte, the source mode of the INIT_ECHO data.

init_seq

3 bytes in hex format, the 24-bit INIT_ECHO sequence number when manual mode is used.

init_seq_mode

coded byte, the source mode of the INIT_ECHO sequence number.

get()[source]

Get the LLR INIT_ECHO parameters of the port.

Returns:

the LLR INIT_ECHO parameters of the port

Return type:

P_UE_LLR_INIT_ECHO.GetDataAttr

set(init_seq_mode, init_seq, init_data_mode, init_data)[source]

Set the LLR INIT_ECHO parameters of the port.

Parameters:
  • init_seq_mode (UecLlrInitEchoMode) – the source mode of the INIT_ECHO sequence number

  • init_seq (Hex) – the 24-bit INIT_ECHO sequence number when manual mode is used (3 bytes)

  • init_data_mode (UecLlrInitEchoMode) – the source mode of the INIT_ECHO data

  • init_data (Hex) – the 16-bit INIT_ECHO data when manual mode is used (2 bytes)

class P_UE_LLR_INIT_ECHO_CHK[source]

Bases: object

Configures the validation of the LLR INIT_ECHO sequence number and data of the port.

class GetDataAttr[source]

Bases: ResponseBodyStruct

validate_init_data

coded byte, whether to validate the INIT_ECHO data.

validate_init_seq

coded byte, whether to validate the INIT_ECHO sequence number.

class SetDataAttr[source]

Bases: RequestBodyStruct

validate_init_data

coded byte, whether to validate the INIT_ECHO data.

validate_init_seq

coded byte, whether to validate the INIT_ECHO sequence number.

get()[source]

Get the LLR INIT_ECHO validation configuration of the port.

Returns:

the LLR INIT_ECHO validation configuration of the port

Return type:

P_UE_LLR_INIT_ECHO_CHK.GetDataAttr

set(validate_init_seq, validate_init_data)[source]

Set the LLR INIT_ECHO validation configuration of the port.

Parameters:
  • validate_init_seq (UecLlrEchoCheck) – whether to validate the INIT_ECHO sequence number

  • validate_init_data (UecLlrEchoCheck) – whether to validate the INIT_ECHO data

validate_both()

Validate both the init_seq and init_data of the INIT_ECHO.

validate_init_data()

Only validate the init_data of the INIT_ECHO.

validate_init_seq()

Only validate the init_seq of the INIT_ECHO.

validate_none()

Do not validate the init_seq nor the init_data of the INIT_ECHO.

class P_UE_LLR_INJECT_ERR[source]

Bases: object

LLR TX error injection of the port.

class SetDataAttr[source]

Bases: RequestBodyStruct

burst_interval

integer, the interval between bursts.

burst_size

integer, the number of errors in a burst.

error_type

coded byte, the type of error to inject.

pattern

coded byte, the pattern of error injection.

inject_fcs_bad(burst_size, burst_interval)

Inject a single FCS bad error.

inject_fcs_poison(burst_size, burst_interval)

Inject a single FCS poison error.

inject_llr_ack_drop(burst_size, burst_interval)

Inject a single LLR ACK drop error.

inject_llr_nack_drop(burst_size, burst_interval)

Inject a single LLR NACK drop error.

inject_seq_drop(burst_size, burst_interval)

Inject a single sequence drop error.

inject_seq_duplicate(burst_size, burst_interval)

Inject a single sequence duplicate error.

set(error_type, pattern, burst_size, burst_interval)[source]

Set the LLR TX error injection configuration of the port.

Parameters:
  • error_type (UecLlrTxErrType) – the type of error to inject

  • pattern (UecLlrTxErrPattern) – the pattern of error injection

  • burst_size (int) – the number of errors in a burst

  • burst_interval (int) – the interval between bursts

class P_UE_LLR_MODE[source]

Bases: object

Configures the mode of operation of the LLR. Only when both local and remote ports have LLR ON, the LLR will be active. If either port has LLR disabled, the LLR will be inactive.

class GetDataAttr[source]

Bases: ResponseBodyStruct

llr_mode_local

coded integer, LLR mode of the local port.

llr_mode_remote

coded integer, LLR mode of the remote port.

class SetDataAttr[source]

Bases: RequestBodyStruct

llr_mode_local

coded integer, LLR mode of the local port.

llr_mode_remote

coded integer, LLR mode of the remote port.

get()[source]

Get the LLR mode of the local port.

Returns:

the LLR mode of the local port

Return type:

P_UE_LLR_MODE.GetDataAttr

set(llr_mode_local, llr_mode_remote)[source]

Set the LLR mode of the local port.

Parameters:
  • llr_mode_local (OnOff) – the LLR mode of the local port

  • llr_mode_remote (OnOff) – the LLR mode of the remote port

set_off(*, llr_mode_local=OnOff.OFF, llr_mode_remote=OnOff.OFF)

Set LLR local to OFF, LLR remote to OFF.

set_on(*, llr_mode_local=OnOff.ON, llr_mode_remote=OnOff.ON)

Set LLR local to ON, LLR remote to ON.

class P_UE_LLR_POISONFCS[source]

Bases: object

Configures the poisoned FCS pattern used by the LLR TX error injection of the port.

class GetDataAttr[source]

Bases: ResponseBodyStruct

pattern

4 bytes in hex format, the 32-bit poison FCS pattern.

class SetDataAttr[source]

Bases: RequestBodyStruct

pattern

4 bytes in hex format, the 32-bit poison FCS pattern.

get()[source]

Get the poison FCS pattern of the port.

Returns:

the poison FCS pattern of the port

Return type:

P_UE_LLR_TXERR_POISONFCS.GetDataAttr

set(pattern)[source]

Set the poison FCS pattern of the port.

Parameters:

pattern (Hex) – the 32-bit poison FCS pattern (4 bytes)

set_55555555()

Set the poisoned FCS pattern of the port to 0x55555555.

set_aaaaaaaa()

Set the poisoned FCS pattern of the port to 0xAAAAAAAA.

class P_UE_LLR_REPLAY[source]

Bases: object

Configures the LLR replay parameters of the port.

class GetDataAttr[source]

Bases: ResponseBodyStruct

data_age_timer_max

long integer, the maximum value of the data age timer.

outstanding_data_max

integer, the maximum amount of outstanding data.

outstanding_seq_max

integer, the maximum number of outstanding sequence numbers.

pcs_lost_status_timer_max

long integer, the maximum value of the PCS lost status timer.

replay_ct_max

integer, the maximum replay count.

replay_timer_max

integer, the maximum value of the replay timer.

class SetDataAttr[source]

Bases: RequestBodyStruct

data_age_timer_max

long integer, the maximum value of the data age timer.

outstanding_data_max

integer, the maximum amount of outstanding data.

outstanding_seq_max

integer, the maximum number of outstanding sequence numbers.

pcs_lost_status_timer_max

long integer, the maximum value of the PCS lost status timer.

replay_ct_max

integer, the maximum replay count.

replay_timer_max

integer, the maximum value of the replay timer.

get()[source]

Get the LLR replay parameters of the port.

Returns:

the LLR replay parameters of the port

Return type:

P_UE_LLR_REPLAY.GetDataAttr

set(outstanding_seq_max, outstanding_data_max, replay_timer_max, replay_ct_max, pcs_lost_status_timer_max, data_age_timer_max)[source]

Set the LLR replay parameters of the port.

Parameters:
  • outstanding_seq_max (int) – the maximum number of outstanding sequence numbers

  • outstanding_data_max (int) – the maximum amount of outstanding data

  • replay_timer_max (int) – the maximum value of the replay timer

  • replay_ct_max (int) – the maximum replay count

  • pcs_lost_status_timer_max (int) – the maximum value of the PCS lost status timer

  • data_age_timer_max (int) – the maximum value of the data age timer

class P_UE_LLR_RXFSM_STATE[source]

Bases: object

Return the current state of the LLR Rx FSM that the port is in, along with the current values of the relevant timers and counters for that state. The possible states are: OFF, SEND_ACKS, SEND_NACK, and NACK_SENT. The specific timers and counters returned depend on the current state of the FSM.

class GetDataAttr[source]

Bases: ResponseBodyStruct

ns_in_nack_sent

long integer, the number of nanoseconds the FSM has been in the NACK_SENT state since the last time it was cleared.

ns_in_off

long integer, the number of nanoseconds the FSM has been in the OFF state since the last time it was cleared.

ns_in_send_acks

long integer, the number of nanoseconds the FSM has been in the SEND_ACKS state since the last time it was cleared.

ns_in_send_nack

long integer, the number of nanoseconds the FSM has been in the SEND_NACK state since the last time it was cleared.

rxfsm_state

coded byte, the current state of the LLR Rx FSM that the port is in.

get()[source]

Get the state of the LLR RX finite state machine of the port.

Returns:

the state of the LLR RX finite state machine of the port

Return type:

P_UE_LLR_RXFSM_STATE.GetDataAttr

class P_UE_LLR_RX_STATS[source]

Bases: object

Get the LLR Rx link-layer traffic statistics of the port.

class GetDataAttr[source]

Bases: ResponseBodyStruct

rx_llr_eligible_bad_fcs

The number of LLR-eligible frames received with a bad FCS.

rx_llr_eligible_bad_fcs_exp_seq

The number of LLR-eligible frames received with a bad FCS that had the expected sequence number.

rx_llr_eligible_duplicate_seq

The number of LLR-eligible frames received that had a duplicate sequence number (irrespective of FCS status).

rx_llr_eligible_good_fcs

The number of LLR-eligible frames received with a good FCS.

rx_llr_eligible_good_fcs_exp_seq

The number of LLR-eligible frames received with a good FCS that had the expected sequence number.

rx_llr_eligible_missing_seq

The number of LLR-eligible frames received that had a sequence number that indicated a missing LLR-eligible frame in the sequence (irrespective of FCS status).

rx_llr_eligible_poisoned_fcs

The number of LLR-eligible frames received with a poisoned FCS.

rx_llr_eligible_poisoned_fcs_exp_seq

The number of LLR-eligible frames received with a poisoned FCS that had the expected sequence number.

rx_llr_eligible_total

The total number of LLR-eligible frames received.

rx_llr_eligible_total_exp_seq

The total number of LLR-eligible frames received with the expected sequence number (irrespective of FCS status).

rx_llr_ineligible_bad_fcs

The number of LLR-ineligible frames received with a bad FCS.

rx_llr_ineligible_good_fcs

The number of LLR-ineligible frames received with a good FCS.

rx_llr_ineligible_total

The total number of LLR-ineligible frames received.

rx_replay_operations

The number of replay operations detected.

get()[source]

Get the LLR Rx link-layer traffic statistics of the port.

Returns:

the LLR Rx link-layer traffic statistics

Return type:

P_UE_LLR_RX_STATS.GetDataAttr

class P_UE_LLR_STATUS[source]

Bases: object

Get the active status of the LLR of the port.

class GetDataAttr[source]

Bases: ResponseBodyStruct

status

coded byte, whether the LLR is active.

get()[source]

Get the active status of the LLR of the port.

Returns:

the active status of the LLR of the port

Return type:

P_UE_LLR_STATUS.GetDataAttr

class P_UE_LLR_TXFSM_STATE[source]

Bases: object

Return the current state of the LLR Tx FSM that the port is in, along with the current values of the relevant timers and counters for that state. The possible states are: LLR_OFF, INIT, ADVANCE, REPLAY, and FLUSH. The specific timers and counters returned depend on the current state of the FSM.

class GetDataAttr[source]

Bases: ResponseBodyStruct

ns_in_advance

long integer, the number of nanoseconds the FSM has been in the ADVANCE state since the last time it was cleared.

ns_in_flush

long integer, the number of nanoseconds the FSM has been in the FLUSH state since the last time it was cleared.

ns_in_init

long integer, the number of nanoseconds the FSM has been in the INIT state since the last time it was cleared.

ns_in_llr_off

long integer, the number of nanoseconds the FSM has been in the LLR_OFF state since the last time it was cleared.

ns_in_replay

long integer, the number of nanoseconds the FSM has been in the REPLAY state since the last time it was cleared.

txfsm_state

coded byte, the current state of the LLR Tx FSM that the port is in.

get()[source]

Get the state of the LLR TX finite state machine of the port.

Returns:

the state of the LLR TX finite state machine of the port

Return type:

P_UE_LLR_TXFSM_STATE.GetDataAttr

class P_UE_LLR_TX_STATS[source]

Bases: object

Get the LLR Tx link-layer traffic statistics of the port.

class GetDataAttr[source]

Bases: ResponseBodyStruct

tx_llr_eligible_bad_fcs

The number of LLR-eligible frames transmitted with a bad FCS.

tx_llr_eligible_bad_fcs_good_seq

The number of LLR-eligible frames transmitted with a bad FCS and a good sequence number.

tx_llr_eligible_discard

The number of LLR-eligible frames discarded by the LLR TX when the TX state machine is in the INIT state and the llr_init_behavior is set to DISCARD, or when the TX state machine is in the FLUSH state and the llr_flush_behavior is set to DISCARD.

tx_llr_eligible_duplicate_seq

The number of LLR-eligible frames that with duplicate sequence number (irrespective of the FCS).

tx_llr_eligible_good_fcs

The number of LLR-eligible frames transmitted with a good FCS.

tx_llr_eligible_good_fcs_good_seq

The number of LLR-eligible frames transmitted with a good FCS and a good sequence number.

tx_llr_eligible_missing_seq

The number of LLR-eligible frames that with missing sequence number (irrespective of the FCS).

tx_llr_eligible_poisoned_fcs

The number of LLR-eligible frames transmitted with a poisoned FCS.

tx_llr_eligible_poisoned_fcs_good_seq

The number of LLR-eligible frames transmitted with a poisoned FCS and a good sequence number.

tx_llr_eligible_total

The total number of LLR-eligible frames transmitted.

tx_llr_ineligible_bad_fcs

The number of LLR-ineligible frames transmitted with a bad FCS.

tx_llr_ineligible_good_fcs

The number of LLR-ineligible frames transmitted with a good FCS.

tx_llr_ineligible_total

The total number of LLR-ineligible frames transmitted.

tx_replay_operations

The number of times the LLR TX state machine has exited the REPLAY state (replay operations).

tx_replayed

The number of frames transmitted by the LLR TX that were replayed from the LLR replay buffer.

get()[source]

Get the LLR Tx link-layer traffic statistics of the port.

Returns:

the LLR Tx link-layer traffic statistics

Return type:

P_UE_LLR_TX_STATS.GetDataAttr