PS_RATEFRACTION

code: 169

# set
<module-index>/<port-index> PS_RATEFRACTION [<stream_index>] <stream_rate_ppm>

# get
<module-index>/<port-index> PS_RATEFRACTION [<stream_index>] ?

Description

The rate of the traffic transmitted for a stream expressed in millionths of the effective rate for the port. The bandwidth consumption includes the inter-frame gap and is independent of the length of the packets generated for the stream. The sum of the bandwidth consumption for all the enabled streams must not exceed the effective rate for the port. Setting this command also instructs the Manager to attempt to keep the rate-percentage unchanged in case it has to cap stream rates. Get value is only valid if the rate was last set using this command.

Actions

set, get

Parameters

  1. stream_rate_ppm: integer, stream rate expressed as a ppm value between 0 and 1,000,000.

Example

# set
input:  0/1 PS_RATEFRACTION [0] 1000000
output: <OK>

# get
input:  0/1 PS_RATEFRACTION [0] ?
output: 0/1 PS_RATEFRACTION [0] 1000000