set_link_quality
Inject packet loss, delay, jitter, or bandwidth limits on a link to simulate network issues. Applies both directions; pass zero to clear.
Instructions
Inject impairment on a link: packet loss (percent), one-way delay (ms), jitter (ms), and/or bandwidth limit (kbit/s). Pass only the dimensions you want to set. Applied to both directions of the link. Only affects running nodes. Clear an impairment by passing 0 for that dimension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loss | No | ||
| delay | No | ||
| jitter | No | ||
| bandwidth | No | ||
| network_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |