mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-16 00:00:02 +01:00
23 lines
880 B
Text
23 lines
880 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!! ###
|
|
|
|
in = {
|
|
address = "127.0.0.1:12001" # This node only received messages on this IP:Port pair
|
|
|
|
multicast = { # IGMP multicast is only support for layer = (ip|udp)
|
|
enabled = true,
|
|
|
|
group = "224.1.2.3", # The multicast group. Must be within 224.0.0.0/4
|
|
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.
|
|
}
|
|
},
|
|
out = {
|
|
address = "127.0.0.1:12000", # This node sents outgoing messages to this IP:Port pair
|
|
}
|
|
}
|
|
}
|