StreamBlockSetTrafficPatternCommand Object


Description:

Configure a particular set of end points and additional traffic attributes of stream block(s), overwriting any existing traffic pattern.

Can be used with Command Sequencer: No

Parents: Sequencer, StcSystem

StreamBlockSetTrafficPatternCommand Writable Attributes

Attribute Description
Common Writable Attributes ProgressCancelled
DstEndpointList

List of end points to be bound as traffic destinations to the stream blocks.

Type: handle

Default: 0

EnableBidirectionalTraffic

Enable/disable traffic to be transmitted from destination end points to source end points (always false for port-level stream blocks).

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Traffic will also be transmitted from destination end points to source end points.

FALSE

Traffic will be transmitted only from source end points to destination end points.

EqualRxPortDistribution

Prevent or allow arranging receive port sequences in equally distributed fashion, as specified in RFC 2889, section 5.1.3, for stream blocks.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Use RFC 2889 sequencing to prevent over stressing of DUT ports.

FALSE

Do not use RFC 2889 sequencing, and allow over stressing of DUT ports.

SrcEndpointList

List of end points to be bound as traffic sources to the stream blocks.

Type: handle

Default: 0

StreamBlockList

List of stream blocks on which the traffic pattern will be applied.

Type: handle

Default: 0

TrafficPattern

Type of traffic pattern to be applied to the stream blocks.

Type: enum

Default: BACKBONE

Possible Values:

Value Description
PAIR

Each source end point transmits traffic to only one destination end point.

MESH

Each source end point transmits traffic to all destination end points.

BACKBONE

Each source end point transmits traffic to all other source end points.

StreamBlockSetTrafficPatternCommand Read-Only Attributes

Read-Only Attribute Description
Common Read-Only Attributes ElapsedTime, EndTime, ProgressCurrentStep, ProgressCurrentStepName, ProgressCurrentValue, ProgressDisplayCounter, ProgressMaxValue, ProgressStepsCount, StartTime, State, Status