1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/etc/examples/nodes/netem.conf

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
1 KiB
Text
Raw Permalink Normal View History

# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
2019-03-25 21:17:34 +01:00
nodes = {
udp_node = {
type = "socket",
format = "gtnet",
in = {
address = "127.0.0.1:12001"
},
out = {
address = "127.0.0.1:12000",
# Network emulation settings
# Those settings can be specified for each node individually!
netem = {
enabled = true,
# Additional latency in microseconds
delay = 100000,
# Jitter in uS
jitter = 30000,
# Distribution of delay: uniform, normal, pareto, paretonormal
distribution = "normal",
# Packet loss in percent
loss = 10
# Duplication in percent
duplicate = 10,
# Corruption in percent
corrupt = 10
}
}
}
2019-03-25 21:17:34 +01:00
}