2019-03-22 13:49:07 +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'
|
|
|
|
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)
|
2019-03-22 13:49:07 +01:00
|
|
|
|
|
|
|
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.
|
2019-03-22 13:49:07 +01:00
|
|
|
},
|
|
|
|
out = {
|
|
|
|
address = "127.0.0.1:12000", # This node sents outgoing messages to this IP:Port pair
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|