diff --git a/etc/node/demo.conf b/etc/node/demo.conf index 03f66377995b8490ac890204c1d75ed0501456d2..e0b307731a330671a5b31126f66e00e2773aa630 100644 --- a/etc/node/demo.conf +++ b/etc/node/demo.conf @@ -24,7 +24,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. *********************************************************************************/ -stats = 10; +stats = 5; hugepages = 1000; @@ -39,7 +39,7 @@ nodes = { ws_sig = { type = "websocket", } - reserver = { + dpsim1 = { type = "mqtt" format = "protobuf", @@ -48,8 +48,32 @@ nodes = { host = "137.226.248.103", port = 1883, - publish = "reserve-dpsim-in", - subscribe = "reserve-dpsim-out", + publish = "villas-dpsim1", + subscribe = "dpsim1-villas", + }, + dpsim2 = { + type = "mqtt" + format = "protobuf", + + username = "guest", + password = "guest", + host = "137.226.248.103", + port = 1883, + + publish = "villas-dpsim2", + subscribe = "dpsim2-villas", + }, + opal = { + type = "mqtt" + format = "protobuf", + + username = "guest", + password = "guest", + host = "137.226.248.103", + port = 1883, + + publish = "villas-opal", + subscribe = "opal-villas", }, lo = { type = "mqtt" @@ -63,7 +87,21 @@ nodes = { publish = "lo", subscribe = "lo", }, - ws_reserver = { + ws_dpsim1 = { + type = "websocket" + + hooks = ( + { type = "stats" } + ) + }, + ws_dpsim2 = { + type = "websocket" + + hooks = ( + { type = "stats" } + ) + }, + ws_opal = { type = "websocket" hooks = ( @@ -95,8 +133,18 @@ paths = ( out = "ws_lo" }, { - in = "reserver", - out = "ws_reserver", + in = "dpsim1", + out = "ws_dpsim1", + reverse = true + }, + { + in = "dpsim2", + out = "ws_dpsim2", + reverse = true + }, + { + in = "opal", + out = "ws_opal", reverse = true } );