PED_CUST

code: 1631

# set
<module-index>/<port-index> PED_CUST [<flow_index>, <impairment_type_index>] <cust_id>

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

Description

Associate a custom distribution to a flow and impairment type.

Note

Before associating a custom distribution, the below validation checks are applied.

In case of impairment_type_index != DELAY, (1) Custom values should be less than or equal to max allowed (4194288). (2) Custom distribution bust contain 512 values.

In case of impairment_type_index = DELAY, (1) Custom values should be less than or equal to the maximum latency. (2) Custom values should be greater than or equal to minimum latency. (3) Custom distribution should contain 1024 values.

Actions

set, get

Parameters

  1. cust_id: integer, custom distribution identifier

Example

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

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