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.

31 lines
1.1 KiB
Text
Raw Permalink Normal View History

2019-03-25 21:17:34 +01:00
# 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 = { # The dictionary is indexed by the name of the node.
type = "socket", # For a list of available node-types run: 'villas-node -h'
### The following settings are specific to the socket node-type!! ###
2021-09-21 15:22:09 +02:00
format = "gtnet", # For a list of available node-types run: 'villas-node -h'
2019-03-25 21:17:34 +01:00
in = {
address = "127.0.0.1:12001" # This node only received messages on this IP:Port pair
},
out = {
2022-03-24 14:10:10 +01:00
address = "127.0.0.1:12000", # This node sends outgoing messages to this IP:Port pair
2019-03-25 21:17:34 +01:00
netem = { # Network emulation settings
enabled = true,
2022-03-24 14:10:10 +01:00
# Those settings can be specified for each node individually!
2019-03-25 21:17:34 +01:00
delay = 100000, # Additional latency in microseconds
jitter = 30000, # Jitter in uS
distribution = "normal", # Distribution of delay: uniform, normal, pareto, paretonormal
loss = 10 # Packet loss in percent
duplicate = 10, # Duplication in percent
corrupt = 10 # Corruption in percent
}
}
}
}