Skip to content

Commit 514de3d

Browse files
committed
Apply same config changes than eclipse-zenoh/zenoh#1825
1 parent 1ab24f2 commit 514de3d

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

rmw_zenoh_cpp/config/DEFAULT_RMW_ZENOH_ROUTER_CONFIG.json5

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,39 @@
257257
// },
258258
// },
259259
// ],
260+
// /// Overwrite QoS options for messages sent and received from/to the network
261+
// /// This allows more fine grained rules (per network card, etc...) but is
262+
// /// less performant than the publication option above.
263+
// network: [
264+
// {
265+
// /// Optional Id, has to be unique.
266+
// id: "lo0_en0_qos_overwrite",
267+
// // Optional list of interfaces, if not specified, will be applied to all interfaces.
268+
// interfaces: [
269+
// "lo0",
270+
// "en0",
271+
// ],
272+
// /// List of message types to apply to.
273+
// messages: [
274+
// "put", // put publications
275+
// "delete" // delete publications
276+
// "query", // get queries
277+
// "reply", // replies to queries
278+
// ],
279+
// /// Optional list of data flows messages will be processed on ("egress" and/or "ingress").
280+
// /// If absent, the rules will be applied to both flows.
281+
// flows: ["egress", "ingress"],
282+
// key_exprs: ["test/demo"],
283+
// overwrite: {
284+
// /// Optional new priority value, if not specified priority of the messages will stay unchanged.
285+
// priority: "real_time",
286+
// /// Optional new congestion control value, if not specified congestion control of the messages will stay unchanged.
287+
// congestion_control: "block",
288+
// /// Optional new express value, if not specified express flag of the messages will stay unchanged.
289+
// express: true
290+
// },
291+
// },
292+
// ],
260293
// },
261294

262295
// /// The declarations aggregation strategy.

rmw_zenoh_cpp/config/DEFAULT_RMW_ZENOH_SESSION_CONFIG.json5

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,39 @@
265265
// },
266266
// },
267267
// ],
268+
// /// Overwrite QoS options for messages sent and received from/to the network
269+
// /// This allows more fine grained rules (per network card, etc...) but is
270+
// /// less performant than the publication option above.
271+
// network: [
272+
// {
273+
// /// Optional Id, has to be unique.
274+
// id: "lo0_en0_qos_overwrite",
275+
// // Optional list of interfaces, if not specified, will be applied to all interfaces.
276+
// interfaces: [
277+
// "lo0",
278+
// "en0",
279+
// ],
280+
// /// List of message types to apply to.
281+
// messages: [
282+
// "put", // put publications
283+
// "delete" // delete publications
284+
// "query", // get queries
285+
// "reply", // replies to queries
286+
// ],
287+
// /// Optional list of data flows messages will be processed on ("egress" and/or "ingress").
288+
// /// If absent, the rules will be applied to both flows.
289+
// flows: ["egress", "ingress"],
290+
// key_exprs: ["test/demo"],
291+
// overwrite: {
292+
// /// Optional new priority value, if not specified priority of the messages will stay unchanged.
293+
// priority: "real_time",
294+
// /// Optional new congestion control value, if not specified congestion control of the messages will stay unchanged.
295+
// congestion_control: "block",
296+
// /// Optional new express value, if not specified express flag of the messages will stay unchanged.
297+
// express: true
298+
// },
299+
// },
300+
// ],
268301
// },
269302

270303
// /// The declarations aggregation strategy.

0 commit comments

Comments
 (0)