Skip to content

Commit

Permalink
add gossip_target to DEFAULT_CONFIG.json5
Browse files Browse the repository at this point in the history
OlivierHecart committed Dec 19, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent 8f2a079 commit d809a1c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions DEFAULT_CONFIG.json5
Original file line number Diff line number Diff line change
@@ -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"] }).

0 comments on commit d809a1c

Please sign in to comment.