From d809a1c6b4dfe9800b11bdd39188c4c8c524cc41 Mon Sep 17 00:00:00 2001 From: OlivierHecart Date: Thu, 19 Dec 2024 16:38:16 +0100 Subject: [PATCH] add gossip_target to DEFAULT_CONFIG.json5 --- DEFAULT_CONFIG.json5 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/DEFAULT_CONFIG.json5 b/DEFAULT_CONFIG.json5 index a2731b9525..603653f2bb 100644 --- a/DEFAULT_CONFIG.json5 +++ b/DEFAULT_CONFIG.json5 @@ -151,6 +151,11 @@ /// It mostly makes sense when using "linkstate" routing mode where all nodes in the subsystem don't have /// direct connectivity with each other. multihop: false, + /// Which type of Zenoh instances to send gossip messages to. + /// Accepts a single value (e.g. target: ["router", "peer"]) which applies whatever the configured "mode" is, + /// or different values for router, peer or client mode (e.g. target: { router: ["router", "peer"], peer: ["router"] }). + /// Each value is a list of: "peer", "router" and/or "client". + target: { router: ["router", "peer"], peer: ["router", "peer"]}, /// Which type of Zenoh instances to automatically establish sessions with upon discovery on gossip. /// Accepts a single value (e.g. autoconnect: ["router", "peer"]) which applies whatever the configured "mode" is, /// or different values for router, peer or client mode (e.g. autoconnect: { router: [], peer: ["router", "peer"] }).