mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix example config
This commit is contained in:
parent
720e5e688c
commit
2253d5c008
1 changed files with 13 additions and 12 deletions
|
@ -42,17 +42,6 @@ nodes = {
|
|||
|
||||
builtin = false, # By default, all nodes will have a few builtin hooks attached to them.
|
||||
# When collecting statistics or measurements these are undesired.
|
||||
|
||||
hooks = (
|
||||
{
|
||||
type = "stats",
|
||||
|
||||
warmup = 100, # The first 100 samples are used to estimate bounds for the histograms
|
||||
format = "human", # One of: human, json, matlab
|
||||
bucket = 30, # The number of buckets for the histograms
|
||||
verbose = true # Plot histograms during shutdown
|
||||
}
|
||||
),
|
||||
|
||||
### The following settings are specific to the socket node-type!! ###
|
||||
|
||||
|
@ -67,6 +56,7 @@ nodes = {
|
|||
address = "127.0.0.1:12001" # This node only received messages on this IP:Port pair
|
||||
|
||||
verify_source = true, # Check if source address of incoming packets matches the remote address.
|
||||
|
||||
multicast = { # IGMP multicast is only support for layer = (ip|udp)
|
||||
enabled = true,
|
||||
|
||||
|
@ -74,7 +64,18 @@ nodes = {
|
|||
interface = "1.2.3.4", # The IP address of the interface which should receive multicast packets.
|
||||
ttl = 128, # The time to live for outgoing multicast packets.
|
||||
loop = false, # Whether or not to loopback outgoing multicast packets to the local host.
|
||||
}
|
||||
},
|
||||
|
||||
hooks = (
|
||||
{
|
||||
type = "stats",
|
||||
|
||||
warmup = 100, # The first 100 samples are used to estimate bounds for the histograms
|
||||
format = "human", # One of: human, json, matlab
|
||||
bucket = 30, # The number of buckets for the histograms
|
||||
verbose = true # Plot histograms during shutdown
|
||||
}
|
||||
)
|
||||
},
|
||||
out = {
|
||||
address = "127.0.0.1:12000", # This node sents outgoing messages to this IP:Port pair
|
||||
|
|
Loading…
Add table
Reference in a new issue