PS_RATEPPS
code: 170
# set
<module-index>/<port-index> PS_RATEPPS [<stream_index>] <stream_rate_pps>
# get
<module-index>/<port-index> PS_RATEPPS [<stream_index>] ?
Description
The rate of the traffic transmitted for a stream expressed in packets per second. The bandwidth consumption is heavily dependent on the length of the packets generated for the stream, and also on the inter-frame gap for the port. 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 packets-per-second unchanged in case it has to cap stream rates. Get value is only valid if the rate was the last set using this command.
Actions
set, get
Parameters
stream_rate_pps
: integer, stream rate expressed in packets per second
Example
# set
input: 0/1 PS_RATEPPS [0] 1000
output: <OK>
# get
input: 0/1 PS_RATEPPS [0] ?
output: 0/1 PS_RATEPPS [0] 1000