1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

updated example config

This commit is contained in:
Steffen Vogel 2017-05-28 19:43:35 +02:00
parent ace03b657e
commit 9835ff8554

View file

@ -57,24 +57,14 @@ nodes = {
endian = "network", # Endianess of header and data:
# big | network Use big endianess. Also know as network byte order (default)
# little Use little endianess.
verify_source = true, # Check if source address of incoming packets matches the remote address.
local = "127.0.0.1:12001", # This node only received messages on this IP:Port pair
remote = "127.0.0.1:12000" # This node sents outgoing messages to this IP:Port pair
vectorize = 30 # Receive and sent 30 samples per message (combining).
},
ethernet_node = {
type = "socket", # See above.
### The following settings are specific to the socket node-type!! ###
layer = "eth",
local = "*:12002", # It's possible to use an '*' for both the port and address
# in UDP / TCP and IP modes.
# This will choose a random port.
# And listen on all available interfaces.
remote = "12:34:56:78:90:12003", # Currently IPv6 is not supported!
remote = "127.0.0.1:12000", # This node sents outgoing messages to this IP:Port pair
vectorize = 30, # Receive and sent 30 samples per message (combining).
netem = { # Network emulation settings
# Those settings can be specified for each node invidually!
delay = 100000, # Additional latency in microseconds
@ -85,6 +75,15 @@ nodes = {
corrupt = 10 # Corruption in percent
}
},
ethernet_node = {
type = "socket", # See above.
### The following settings are specific to the socket node-type!! ###
layer = "eth",
local = "12:34:56:78:90:AB%eth0:12002",
remote = "12:34:56:78:90:AB%eth0:12002"
},
opal_node = { # The server can be started as an Asynchronous process
type = "opal", # from within an OPAL-RT model.