OpenAutomation Knowledge Base

PS_INDICES sid sid …

Explanation

The full list of which streams are defined for a port. These are the sub-index values that are used for the parameters defining the traffic patterns transmitted for the port. Setting the value of this parameter creates a new empty stream for each value that is not already in use, and deletes each stream that is not mentioned in the list. The same can be accomplished one-stream-at-a-time using the PS_CREATE and PS_DELETE commands.

Parameters

sid: integer, the sub-index of a stream definition for the port.

Summary

set and get, value types: I*

Example, set or get:

0/1 PS_INDICES 1 7 9


PS_CREATE [sid]

Explanation

Creates an empty stream definition with the specified sub-index value.

Parameters

sid: integer, the sub-index value of the stream definition to create.

Summary

set only, stream index.

Example, set:

0/1 PS_CREATE [5]


PS_DELETE [sid]

Explanation

Deletes the stream definition with the specified sub-index value.

Parameters

sid: integer, the sub-index value of the stream definition to delete.

Summary

set only, stream index.

Example, set:

0/1 PS_DELETE [5]

PS_ENABLE [sid] state

Explanation

This property determines if a stream contributes outgoing packets for a port. The value can be toggled between ON and SUPPRESS while traffic is enabled at the port level. Streams in the OFF state cannot be set to any other value while traffic is enabled.

The sum of the rates of all enabled or suppressed streams must not exceed the effective port rate.

sid:

integer, the sub-index value of the stream definition.

state:

coded integer, specifies the state of the stream:

  • OFF (0) (stream will not be used when port traffic is started)
  • ON (1) (stream will be started when port traffic is started)
  • SUPPRESS (2) (stream will not be started when port traffic is started but can be started afterwards)

Summary

set and get, stream index, value type: B

Parameters

onoff: coded byte, whether the test port LED is blinking: [ OFF | ON ]

Example, set or get:

0/1 PS_ENABLE [5] ON


PS_COMMENT [sid] comment

Explanation

The description of a stream.

sid:

integer, the sub-index value of the stream definition. comment: string, containing the description of the stream.

Summary

set and get, stream index, value type: S

Example, set or get:

0/1 PS_COMMENT [5] ”Stream for …”


PS_TPLDID [sid] tpldid

Explanation

The identifier of the test payloads inserted into packets transmitted for a stream. A value of -1 disables test payloads for the stream.

Test payloads are inserted at the end of each packet, and contains time-stamp and sequence-number information. This allows the receiving port to provide error-checking and latency measurements, in addition to the basic counts and rate measurements provided for all traffic.

The test payload identifier furthermore allows the receiving port to distinguish multiple different streams, which may originate from multiple different chassis. Since test payloads are an inter-port and inter-chassis mechanism, the test payload identifier assignments should be planned globally across all the chassis and ports of the testbed.

sid:

integer, the sub-index value of the stream definition.

tpldid:

integer, the test payload identifier value.

-1 (disable test payloads)

Summary

set and get, stream index, value type: I

Example, set or get:

0/1 PS_TPLDID [5] 17


PS_CONFIG [sid]?

Explanation

Multi-parameter query, obtaining all the parameters for a specific stream.

sid:

integer, the sub-index value of the stream definition.

Summary

get only, stream index.

Example, set:

0/1 PS_ENABLE [5] ON

0/1 PS_PACKETLIMIT [5] 25

0/1 PS_PAYLOAD [5] PATTERN 0xAABB00FFEE


PS_FULLCONFIG ?

Explanation

Multi-parameter query, obtaining all parameters for all streams defined on a port.

sid:

get only.

Summary

Example, get:

0/1 PS_INDICES 0 1 5 0/1 PS_ENABLE [0] ON 0/1 PS_PACKETLIMIT [0] 25 . . 0/1 PS_PAYLOAD [0] PATTERN 0xAABB00FFEE 0/1 PS_ENABLE [1] OFF . . 0/1 PS_ENABLE [5] ON . .