diff --git a/etc/s2ss.conf b/etc/s2ss.conf index fec088d5a..7ad68fabf 100644 --- a/etc/s2ss.conf +++ b/etc/s2ss.conf @@ -1,26 +1,44 @@ # Example configuration file for the s2ss server -# The name of this node -name = "acs"; +name = "s2ss"; # The name of this node -# The debugging level (0 - 10) -debug = 10; +# TODO: this has to be implmented +# debug = 10; # The debugging level (0 - 10) +# affinity = 0xC0; # Mask of cores the server should run on +# nice = -20; # Scheduler priority for the server +# protocol = 0; # Protocol version for UDP message format -nodes = ( - { - id = 123; - name = "acs"; - type = "opal"; - addr = "137.123.234.233"; - port = 7582; +nodes = { + acs = { + id = 1, # Device ID + type = "opal", # server, workstation, opal, rtds or dsp + local = "127.0.0.1:10201", # Local ip:port + remote = "127.0.0.1:10200" + }, + sintef = { + id = 2, + type = "rtds", + local = "127.0.0.1:10202", + remote = "127.0.0.1:10203" } -); +}; paths = ( { - from = "acs"; - to = "trond"; - reverse = true; # also setup a reverse path - log = true; # log messages + enabled = true, # Enable this path + reverse = false, # Setup a path in the reverse direction too + in = "acs", # Name of the node we listen to (see above) + out = "acs", # Name of the node we send to + + # TODO: Some 'netem' settings might arrive here in the future... + # netem = { + # delay = (10, 10, # Time, jitter in milliseconds + # 10, # Correlation in percentage + # "normal") # Distribution: uniform, normal, pareto or paretonormal + # loss = (10, 25), # Loss in percentage + # duplicate = (10, 25), # Duplication in percentage + # corrupt = (10, 25), # Corruption in percentage + # reorder = (10, 25) # Reorder in percentage + # } } );