PreEmptionTrafficParams Object


Description:

PreEmptionTrafficParams.

Automatically created from: PacketPreEmptionTestParameterConfig

PreEmptionTrafficParams 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

Cfi

CFI bit of VLAN

Type: u8

Default: 0

Range: 0 - 1

Crc

NOTE: This attribute is deprecated. It will be removed in subsequent releases, so it is recommended that you do not use it.

Number of CRC error frames generated.

Type: u32

Default: 0xFFFFFFFF

DurationInSeconds

Generator on time in seconds.

Type: double

Default: 10

Range: 0.000064 - 4398046.0

EnableVlan

Enable or disable VLAN

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable VLAN

FALSE

Disable VLAN

EtherType

Used to indicate which protocol is encapsulated in the payload of the frame.

Type: u16

Default: 0x0800

FixedLoad

Use fixed load value.

Type: double

Default: 1

Range: 0 - 18446744073709551615.0

FrameSize

Frame length for all frames.

Type: u16

Default: 128

Range: 30 - 16383

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.

Payload

Fill pattern type to be used for the payload.

Type: u16

Default: 0xAAAA

Preamble

Ethernet preamble byte length used for layer1 counter calculation.

Type: u8

Default: 0xE6

Priority

Priority bits of VLAN

Type: u8

Default: 000

Range: 0 - 7

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.

VlanId

ID of VLAN

Type: u16

Default: 100

Range: 0 - 4095

VlanType

Vlan Type

Type: u16

Default: 0x8100

PreEmptionTrafficParams Read-Only Attributes

There are no read-only attributes.