TrafficTestParams Object


Description:

Traffic Test Params.

TrafficTestParams Writable Attributes

Attribute Description
Common Writable Attributes Active, Name
BurstCount

Number of bursts to be transmitted by the entry.

Type: u32

Default: 1000

Range: 1 - 16777215

BurstSize

Burst size applied to all streams (priority-based scheduling mode).

Type: u16

Default: 1

DurationInSeconds

Generator on time in seconds.

Type: double

Default: 10

Range: 0.000064 - 4398046.0

FixedLoad

Use fixed load value.

Type: double

Default: 1

Range: 0 - 18446744073709551615.0

InsertFcsError

Enable or disable to insert FCS Error

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable to insert FCS Error

FALSE

Disable to insert FCS Error

InterFrameGap

Gap (bytes) between frames in the same burst, when the burst size is greater than 1 (only when in priority-based scheduling mode).

Type: double

Default: 12

Range: 0 - 18446744073709551615.0

LoadUnit

Load unit applied to stream block.

Type: enum

Default: FRAMES_PER_SECOND

Possible Values:

Value Description
PERCENT_LINE_RATE

Load as percentage of line rate.

FRAMES_PER_SECOND

Load as the gap in bytes between adjacent bursts.

INTER_BURST_GAP

Load as the gap between adjacent bursts.

MEGABITS_PER_SECOND

Load as the number of megabits per second.

KILOBITS_PER_SECOND

Load as the number of kilobits per second.

BITS_PER_SECOND

Load as the number of bits per second.

StartDelay

Delay (in bytes) for starting the first frame of stream block when in priority-based scheduling mode.

Type: u32

Default: 0

TrafficDurationMode

Length of transmission in terms of continuous, bursts, or seconds.

Type: enum

Default: CONTINUOUS

Possible Values:

Value Description
CONTINUOUS

Generate traffic continuously until stopped manually.

FIXED_BURSTS

Generate traffic for the specified number of bursts.

FIXED_SECONDS

Generate traffic for the specified number of seconds.

TrafficTestParams Read-Only Attributes

There are no read-only attributes.