TrafficOptions Object


Description:

Global options related to traffic generation.

Children: RedundancyDestMacMaskConfig, RedundancyMsduCustomMaskConfigGroup, RedundancyMsduIpv4MaskConfigGroup, RedundancyMsduIpv6MaskConfigGroup, RedundancySrcMacMaskConfig, RedundancyVlanMaskConfig

Automatically created from: Project

TrafficOptions Writable Attributes

Attribute Description
Common Writable Attributes Active, Name
DeleteInactiveStreamsFromMemory

How to manage inactive stream block memory usage on test modules. NOTE: This option will affect the availability of stream statistics.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Inactive stream blocks that have previously been active and have been applied to test module memory will be deleted during apply, if the inactive stream blocks have not been applied to test modules yet, then they will not be sent to test modules.

FALSE

Inactive stream blocks that have previously been active and have been applied to test module memory will NOT be deleted during apply, if the inactive stream blocks have not been applied to test modules yet, then they will still be sent to test modules and consume test module memory.

EnableGlobalAnalyzerPreload

Indicate if all streamblocks' analyzer preload flag will be set to true.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Set all streamblocks' analyzer preload flag to be true.

FALSE

Enable analyzer preload on streamblocks selected by user.

EnableTxQueueFullRetryMode

Determines if transmit is retried when the queue is full on Virtual ports.

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

The traffic generator will wait (retry sending) when the transmit queue is full. The GeneratorPortResults TxQueueFullRetryCount will be incremented for every frame where transmit was retried because the queue was full. This may cause traffic to be generated at lower rates than configured.

FALSE

The traffic generator will drop frames when the transmit queue is full. The GeneratorPortResults TxQueueFullDropCount will be incremented for every frame that is dropped and frame loss will occur on the receiving port.

ExcludeEthernetFcs

Exclude the last 4 bytes of the packet from pcap file when generating stream block.

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Exclude the last 4 bytes of the packet from pcap file when generating stream block.

FALSE

Include the last 4 bytes of the packet from pcap file when generating stream block.

RedundancyEnableMsduMask

Enable Redundancy MSDU mask

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Redundancy MSDU mask is enabled.

FALSE

Redundancy MSDU mask is disabled.

RedundancyFilterMode

Redundancy filter mode

Type: enum

Default: SRCMAC_VLAN

Possible Values:

Value Description
SRCMAC_VLAN

Source MAC + VLAN

DSTMAC_VLAN

Destination MAC + VLAN

IPOCTUPLE

IP Octuple

MASK_AND_MATCH

Mask and match

RedundancyMaskLayer3Type

Redundancy Layer3 type for mask and match filter mode

Type: enum

Default: IPV4

Possible Values:

Value Description
IPV4

Layer3 is IPv4

IPV6

Layer3 is IPv6

CUSTOM

Layer3 is Custom

SmoothenRandomLength

Indicate if smoothen random length distribution per port is generated.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Smoothen random length distribution is enabled, which requires length to be uniformly distributed across the minimum and maximum length integer values.

FALSE

Smoothen random length distribution is not enabled.

TrafficStartInterval

Delay in units of 64 microseconds between start of port transmissions.

Type: u16

Default: 0

TrafficStartIntervalUnit

The traffic start interval unit.

Type: enum

Default: UNITOF64US

Possible Values:

Value Description
UNITOF64US

Unit

UNITOF500NS

Unit

TrafficStartMode

Controls how the ports start sending traffic.

Type: enum

Default: ASYNCHRONOUS

Possible Values:

Value Description
SYNCHRONOUS

Start traffic on all ports at the same time after a short delay. The delay is needed to synchronize the ports.

ASYNCHRONOUS

Start all traffic on all ports immediately. The ports might not start at the same time.

TrafficStreamIDStartIndex

The first StreamID start index to use.

Type: u16

Default: 1

Range: 1 - 65535

TSharkPath

Default TShark executable location.

Type: string

Default: "" (empty string)

UniqueRandomLengthSeedPerPort

Indicate if unique random seeds are created on all ports.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

All random seeds are unique. User cannot change it to a nonunique value.

FALSE

Random seeds are not unique.

TrafficOptions Read-Only Attributes

Read-Only Attribute Description
GlobalAnalyzerPreloadEditable

Is global analyzer preload editable

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Global analyzer preload is editable.

FALSE

Global analyzer preload is read only.

TrafficElapsedTime

The lenght of time that has elapsed since traffic began transmitting.

Type: double

Default: 0