mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
27 lines
983 B
Text
27 lines
983 B
Text
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!! ###
|
|
|
|
format = "gtnet.fake", # For a list of available node-types run: 'villas-node -h'
|
|
|
|
in = {
|
|
address = "127.0.0.1:12001" # This node only received messages on this IP:Port pair
|
|
},
|
|
out = {
|
|
address = "127.0.0.1:12000", # This node sents outgoing messages to this IP:Port pair
|
|
|
|
netem = { # Network emulation settings
|
|
enabled = true,
|
|
# Those settings can be specified for each node invidually!
|
|
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
|
|
}
|
|
}
|
|
}
|
|
}
|