mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
updated configuration file to new format
git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@31 8ec27952-4edc-4aab-86aa-e87bb2611832
This commit is contained in:
parent
49d13ccae4
commit
92674141f1
1 changed files with 34 additions and 16 deletions
|
@ -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
|
||||
# }
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue