PED_GAMMA#

code: 1630

# set
<module-index>/<port-index> PED_GAMMA [<flow_index>, <impairment_type_index>] <shape> <scale>

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

Description#

Configuration of Gamma distribution.

Note

Mean and Standard deviation are calculated from Shape and Scale parameters and validation is performed using those. standard deviation = [SQRT(shape * scale * scale)]mean = [shape * scale].

In case of impairment_type_index != DELAY, (1) mean plus 4 times standard deviation should be less than or equal to max allowed(4194288). (2)shape and scale should be greater than or equal to 0.

In case of impairment_type_index = DELAY, mean plus 4 times standard deviation should be less than or equal to the maximum latency.

Actions#

set, get

Parameters#

  1. shape: long integer, specifies the shape. Units: none. Default value: 0.

  2. scale: long integer, specifies the Gamma function scale parameter.

Example#

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

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