PED_RANDOM

code: 1622

# set
<module-index>/<port-index> PED_RANDOM [<flow_index>, <impairment_type_index>] <probability>

# get
<module-index>/<port-index> PED_RANDOM [<flow_index>, <impairment_type_index>] ?

Description

Configuration of Random Rate distribution. Packets are impaired randomly based on a per packet probability. This way the impaired fraction of packets will be equal to the configured probability over time. Random probability in ppm (i.e. 1 means 0.0001%)

Actions

set, get

Parameters

  1. probability: integer, specifies the random probability in ppm. Default value is 0.

Example

# set
input:  0/1 PED_RANDOM [0, 0] 1
output: <OK>

# get
input:  0/1 PED_RANDOM [0, 0] ?
output: 0/1 PED_RANDOM [0, 0] 1