mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
59 lines
762 B
Text
59 lines
762 B
Text
|
logging = {
|
||
|
level = "info"
|
||
|
}
|
||
|
|
||
|
http = {
|
||
|
enabled = false
|
||
|
}
|
||
|
|
||
|
nodes = {
|
||
|
opal = {
|
||
|
type = "socket"
|
||
|
|
||
|
in = {
|
||
|
address = "*:13000"
|
||
|
|
||
|
hooks = (
|
||
|
{ type = "stats" }
|
||
|
),
|
||
|
signals = (
|
||
|
{ type = "float", name = "f0" },
|
||
|
{ type = "float", name = "f1" },
|
||
|
{ type = "float", name = "f2" },
|
||
|
{ type = "float", name = "f3" },
|
||
|
{ type = "float", name = "cnt" }
|
||
|
)
|
||
|
}
|
||
|
out = {
|
||
|
address = "134.130.169.81:13000"
|
||
|
|
||
|
netem = {
|
||
|
enabled = true,
|
||
|
|
||
|
delay = 10000, // 10 ms
|
||
|
jitter = 5000, // 5 ms
|
||
|
distribution = "normal",
|
||
|
loss = 10
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
paths = (
|
||
|
{
|
||
|
in = "opal",
|
||
|
out = "opal",
|
||
|
|
||
|
hooks = (
|
||
|
{
|
||
|
type = "average",
|
||
|
offset = 0,
|
||
|
signals = ["f0", "f1", "f2", "f3"]
|
||
|
}
|
||
|
# {
|
||
|
# type = "print"
|
||
|
# }
|
||
|
)
|
||
|
}
|
||
|
)
|