1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/etc/examples/nodes/zeromq.conf
Steffen Vogel abed592b9d Harmonize formatting and style of example configuration files
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-04-10 09:38:57 +02:00

42 lines
1.2 KiB
Text

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