Rfc2889SetupAddressLearningRateTestCommand Object


Description:

Set up RFC 2889 address learning rate test.

Can be used with Command Sequencer: No

Parents: Sequencer

Relations:

Side name
(Type)
Relative Description
TestCaseConfig
(BenchmarkingTestCaseConfig)

DcbTestConfig, Rfc2544BackToBackFramesConfig, Rfc2544FrameLossConfig, Rfc2544LatencyConfig, Rfc2544ThroughputConfig, Rfc2544TrafficGroupConfig, Rfc2889AddrCachingCapacityConfig, Rfc2889AddrLearningRateConfig, Rfc2889BroadcastFrameForwardingConfig, Rfc2889BroadcastFrameLatencyConfig, Rfc2889CongestionControlConfig, Rfc2889ErroredFramesFilteringConfig, Rfc2889ForwardingConfig, Rfc2889ForwardPressureConfig, Rfc2889MaxForwardingRateConfig, Rfc3918Config, Rfc5180Config

Benchmarking test case config used to set up test command.

SequencerRootCommand
(BenchmarkingTestCaseRootCommand)

SequencerGroupCommand

Parent command.

Rfc2889SetupAddressLearningRateTestCommand Writable Attributes

Attribute Description
AgingTime

Aging timer value in the DUT/SUT. It removes MAC addresses from the cache when this timer expires. The Aging Time value must be set high enough for the test to complete, based on the values for initial and minimum number of addresses. A warning is sent if the Aging Time value is too low.

Type: u16

Default: 15

Range: 1 - 3600

DstDeviceList

Destination device list.

Type: handle

Default: 0

FrameSize

Frame size.

Type: u16

Default: 64

Range: 47 - 16383

InitialLearningRate

Learning rate (number of learning frames per second) at the start of the test.

Type: u32

Default: 1488

Range: 1 - 4294967295

LatencyType

How latency results are calculated and displayed.

Type: enum

Default: LILO

Possible Values:

Value Description
FIFO

First In First Out mode.

LIFO

Last In First Out mode.

LILO

Last In Last Out mode.

FILO

Firt in, last out mode.

LearningFreqMode

Learning frequency.

Type: enum

Default: LEARN_ONCE

Possible Values:

Value Description
NONE

No learning.

LEARN_ONCE

Learn once per test.

LEARN_EVERY_TRIAL

Learn every trial.

LEARN_EVERY_FRAME_SIZE

Learn every frame size.

LEARN_EVERY_ITERATION

Learn every iteration.

MacAddrCount

Number of MAC addresses to be sent from each transmitting test port.

Type: u32

Default: 1

Range: 1 - 16777216

MaxLearningRate

Highest permissible learning rate for the test. If this rate is reached, the test stops.

Type: u32

Default: 14880

Range: 1 - 4294967295

MinLearningRate

Lowest permissible learning rate for the test. If this rate is reached, the test stops.

Type: u32

Default: 1488

Range: 1 - 4294967295

MonitorPortList

List of ports acting as monitor ports for test.

Type: handle

Default: 0

NumOfTrials

Number of trials.

Type: u16

Default: 1

Range: 1 - 60

Resolution

Greatest number of addresses to be sent to the DUT/SUT.

Type: u32

Default: 2

Range: 1 - 16777216

SrcDeviceList

Source device list.

Type: handle

Default: 0

TrafficVerificationAbortOnFail

Test behavior when traffic verification fails.

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Abort the test and set the sequencer status mode to FAIL if traffic verification is not successful.

FALSE

Do nothing. Test continues without interruption.

TrafficVerificationFreqMode

Specifies when to perform traffic verification during the test.

Type: enum

Default: NONE

Possible Values:

Value Description
NONE

No verification.

VERIFY_EVERY_TRIAL

Verify traffic forwarding at the beginning of every trial.

VERIFY_EVERY_FRAME_SIZE

Verify traffic forwarding after changing the frame size.

VERIFY_EVERY_ITERATION

Verify traffic forwarding at the beginning of every iteration.

TrafficVerificationTxFrameCount

Number of frames to use for traffic verification.

Type: u32

Default: 100

Range: 1 - 32767

TrafficVerificationTxFrameRate

Traffic rate in frames per second to use for traffic verification.

Type: u32

Default: 1000

Range: 1 - 14880952

Rfc2889SetupAddressLearningRateTestCommand Read-Only Attributes

There are no read-only attributes.