PED_SCHEDULE

code: 1611

# set
<module-index>/<port-index> PED_SCHEDULE [<flow_index>, <impairment_type_index>] <duration> <period>

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

Description

Configure the impairment scheduler function. The configuration of the scheduler depends on the type of distribution to schedule:

  1. Burst distributions: “Fixed Burst” and “Accumulate and Burst”.

(2) Non-Burst distributions: All others. For burst distributions, the scheduler can be configured for “One-shot” operation or “Repeat Operation”. When running in “Repeat Operation” the “Repeat Period” must be configured. For non-burst distributions, the scheduler can be configured operate in either “Continuous” or “Repeat Period” modes. When running in “Repeat Period” configuration of “Duration” and “Repeat Period” is required.

Actions

set, get

Parameters

  1. duration: integer, specifies the “on” period. Units = multiples of 10 ms (range 1 to 65535), default is 1

  2. period: integer, specifies the “total” period. Units = multiples of 10 ms (range 0 to 65535), default is 0

Example

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

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