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/udp.conf

29 lines
1.1 KiB
Text
Raw Permalink Normal View History

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'
vectorize = 30, # Receive and sent 30 samples per message (combining).
samplelen = 10 # The maximum number of samples this node can receive
builtin = false, # By default, all nodes will have a few builtin hooks attached to them.
# When collecting statistics or measurements these are undesired.
### The following settings are specific to the socket node-type!! ###
layer = "udp", # Layer can be one of:
2019-03-25 21:17:34 +01:00
# - udp Send / receive L4 UDP packets
# - ip Send / receive L3 IP packets
# - eth Send / receive L2 Ethernet frames (IEEE802.3)
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
2019-03-25 21:17:34 +01:00
verify_source = true # Check if source address of incoming packets matches the remote address.
},
out = {
address = "127.0.0.1:12000", # This node sents outgoing messages to this IP:Port pair
}
}
}