1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
VILLASnode/doc/openapi/components/schemas/config/netem.yaml

53 lines
1 KiB
YAML
Raw Normal View History

2021-11-18 12:10:36 +01:00
---
type: object
properties:
enabled:
type: boolean
default: true
delay:
type: number
default: 0
description: |
Delay packets in microseconds.
jitter:
type: number
default: 0
title: Jitter
description: |
Apply a jitter to the packet delay (in microseconds).
distribution:
type: string
title: Delay distribution
description: |
One of the delay distributions supported by the `tc` command (see [tc-netem(8)](https://man7.org/linux/man-pages/man8/tc-netem.8.html)).
enum:
- uniform
- normal
- pareto
- paretonormal
loss:
type: number
default: 0
title: Packet Loss Percentage
description: |
Percentage of packets which will be dropped.
duplicate:
type: number
default: 0
title: Packet Duplication Percentage
description: |
Percentage of packets which will be duplicated.
corrupt:
type: number
default: 0
title: Packet Corruption Percentage
description: |
Percentage of packets which will be corrupted.