2019-03-26 14:02:12 +01:00
|
|
|
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
2022-03-24 14:10:10 +01:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2023-08-31 11:25:01 +02:00
|
|
|
|
2019-03-22 13:49:07 +01:00
|
|
|
nodes = {
|
|
|
|
zeromq_node = {
|
2019-03-26 14:02:12 +01:00
|
|
|
type = "zeromq"
|
2019-03-22 13:49:07 +01:00
|
|
|
|
2019-03-26 14:02:12 +01:00
|
|
|
pattern = "pubsub" # The ZeroMQ pattern. One of pubsub, radiodish
|
|
|
|
ipv6 = false # Enable IPv6 support
|
2019-03-22 13:49:07 +01:00
|
|
|
|
|
|
|
curve = { # Z85 encoded Curve25519 keys
|
2019-03-26 14:02:12 +01:00
|
|
|
enabled = false,
|
|
|
|
public_key = "Veg+Q.V-c&1k>yVh663gQ^7fL($y47gybE-nZP1L"
|
2019-03-22 13:49:07 +01:00
|
|
|
secret_key = "HPY.+mFuB[jGs@(zZr6$IZ1H1dZ7Ji*j>oi@O?Pc"
|
|
|
|
}
|
|
|
|
|
|
|
|
in = {
|
|
|
|
subscribe = "tcp://*:1234" # The subscribe endpoint.
|
|
|
|
# See http://api.zeromq.org/2-1:zmq-bind for details.
|
2019-03-26 14:02:12 +01:00
|
|
|
filter = "ab184" # A filter which is prefix matched for each received msg
|
2019-03-22 13:49:07 +01:00
|
|
|
}
|
|
|
|
out = {
|
|
|
|
publish = [ # The publish endpoints.
|
|
|
|
"tcp://localhost:1235", # See http://api.zeromq.org/2-1:zmq-connect for details.
|
|
|
|
"tcp://localhost:12444"
|
2019-03-26 14:02:12 +01:00
|
|
|
]
|
2019-03-22 13:49:07 +01:00
|
|
|
|
2022-03-24 14:10:10 +01:00
|
|
|
filter = "ab184" # A prefix which is pre-pended to each message.
|
2019-03-22 13:49:07 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|