mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
29 lines
815 B
Text
29 lines
815 B
Text
nodes = {
|
|
zeromq_node = {
|
|
type = "zeromq",
|
|
|
|
pattern = "pubsub", # The ZeroMQ pattern. One of pubsub, radiodish
|
|
ipv6 = false, # Enable IPv6 support
|
|
|
|
curve = { # Z85 encoded Curve25519 keys
|
|
enabled = true,
|
|
public_key = "Veg+Q.V-c&1k>yVh663gQ^7fL($y47gybE-nZP1L",
|
|
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.
|
|
filter = "ab184", # A filter which is prefix matched for each received msg
|
|
}
|
|
|
|
out = {
|
|
publish = [ # The publish endpoints.
|
|
"tcp://localhost:1235", # See http://api.zeromq.org/2-1:zmq-connect for details.
|
|
"tcp://localhost:12444"
|
|
],
|
|
|
|
filter = "ab184", # A prefix which is prepended to each send message.
|
|
}
|
|
}
|
|
}
|