Skip to content
Snippets Groups Projects
Commit 75cbcc26 authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2:
Browse files

node: update config

parent f96be13c
No related branches found
No related tags found
No related merge requests found
Pipeline #195230 failed
......@@ -24,171 +24,243 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*********************************************************************************/
stats = 5;
hugepages = 1000;
logging = {
level = "info"
}
nodes = {
sig = {
type = "signal",
type = "signal"
signal = "mixed",
values = 5,
signal = "mixed"
values = 5
rate = 20
},
}
ws_sig = {
type = "websocket",
type = "websocket"
}
dpsim1 = {
type = "mqtt"
format = "json",
format = "villas.binary"
username = "villas",
password = "s3c0sim4!",
host = "broker",
port = 1883,
username = "villas"
password = "s3c0sim4!"
host = "broker"
publish = "villas-dpsim1",
subscribe = "dpsim1-villas",
},
out = {
publish = "villas-dpsim1"
}
in = {
subscribe = "dpsim1-villas"
}
}
dpsim2 = {
type = "mqtt"
format = "json",
format = "json"
username = "villas",
password = "s3c0sim4!",
host = "broker",
port = 1883,
username = "villas"
password = "s3c0sim4!"
host = "broker"
publish = "villas-dpsim2",
subscribe = "dpsim2-villas",
},
out = {
publish = "villas-dpsim2"
}
in = {
subscribe = "dpsim2-villas"
}
}
opal = {
type = "mqtt"
format = "villas.binary",
format = "villas.binary"
username = "villas",
password = "s3c0sim4!",
host = "broker",
port = 1883,
username = "villas"
password = "s3c0sim4!"
host = "broker"
publish = "villas-opal",
subscribe = "opal-villas",
},
out = {
publish = "villas-opal"
}
in = {
subscribe = "opal-villas"
}
}
lo = {
type = "mqtt"
format = "villas.human",
format = "villas.human"
username = "villas",
password = "s3c0sim4!",
host = "broker",
port = 1883,
username = "villas"
password = "s3c0sim4!"
host = "broker"
publish = "lo",
subscribe = "lo",
},
out = {
publish = "lo"
}
in = {
subscribe = "lo"
}
}
ws_dpsim1 = {
type = "websocket"
hooks = (
{ type = "stats" }
)
},
in = {
hooks = (
{ type = "stats" }
)
}
}
ws_dpsim2 = {
type = "websocket"
hooks = (
{ type = "stats" }
)
},
in = {
hooks = (
{ type = "stats" }
)
}
}
ws_opal = {
type = "websocket"
hooks = (
{ type = "stats" }
)
},
in = {
hooks = (
{ type = "stats" }
)
}
}
ws_lo = {
type = "websocket"
hooks = (
{ type = "stats" }
)
},
in = {
hooks = (
{ type = "stats" }
)
}
}
ws_playback = {
type = "websocket"
},
}
playback = {
type = "file"
uri = "/data/m2_sim_results_merged.csv"
eof = "rewind"
},
in = {
eof = "rewind"
}
}
ws_rtds = {
type = "websocket"
},
}
rtds = {
type = "socket"
layer = "udp"
format = "gtnet"
local = "*:12000"
remote = "137.226.133.156:12000"
},
in = {
address = "*:12000"
}
out = {
address = "134.130.169.99:12000"
}
}
ws_elsa = {
type = "websocket"
},
in = {
hooks = (
{ type = "stats" }
)
}
}
elsa = {
type = "socket"
layer = "udp"
format = "gtnet"
local = "*:12001"
remote = "137.226.133.240:12001"
}
in = {
address = "*:12001"
}
out = {
address = "137.226.133.240:12002"
}
}
sogno_estimator = {
type = "mqtt"
format = "json"
username = "villas"
password = "s3c0sim4!"
host = "broker"
in = {
subscribe = "sogno-estimator"
hooks = (
{ type = "stats" }
)
}
}
ws_sogno_estimator = {
type = "websocket"
in = {
hooks = (
{ type = "stats" }
)
}
}
};
############ List of paths ############
paths = (
{
in = "playback",
in = "playback"
out = "ws_playback"
},
{
in = "sig",
in = "sig"
out = "ws_sig"
},
{
in = "ws_lo",
in = "ws_lo"
out = "lo"
},
{
in = "lo",
in = "lo"
out = "ws_lo"
},
{
in = "dpsim1",
out = "ws_dpsim1",
reverse = true,
in = "dpsim1"
out = "ws_dpsim1"
reverse = true
hooks = ( { type = "print" } )
},
{
in = "dpsim2",
out = "ws_dpsim2",
in = "dpsim2"
out = "ws_dpsim2"
reverse = true
},
{
in = "opal",
out = "ws_opal",
in = "opal"
out = "ws_opal"
reverse = true
},
{
in = "rtds",
out = "ws_rtds",
reverse = true
in = "rtds"
out = "ws_rtds"
},
{
in = "elsa",
out = "ws_elsa",
reverse = true
out = "rtds"
in = "ws_rtds"
},
{
in = "elsa"
out = "ws_elsa"
},
{
out = "elsa"
in = "ws_elsa"
},
{
in = "sogno_estimator"
out = "ws_sogno_estimator"
}
);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment