Skip to content

Commit

Permalink
adding zenohd configuration for zenoh-flow-plugin, update ports
Browse files Browse the repository at this point in the history
Signed-off-by: gabrik <gabriele.baldoni@gmail.com>
  • Loading branch information
gabrik committed Jan 6, 2023
1 parent eef137b commit 4a47555
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zenoh-flow-daemon/etc/zenoh-zf-router.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

{
"listen":{
"endpoints":["tcp/0.0.0.0:7887"]
"endpoints":["tcp/0.0.0.0:7447"]
},
"plugins_search_dirs":["/usr/lib/"],
"plugins":{
Expand Down
1 change: 1 addition & 0 deletions zenoh-flow-plugin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,6 @@ assets = [
["target/release/libzplugin_zenoh_flow.so", "/usr/lib/libzplugin_zenoh_flow.so", "644"],
# assets
["../zenoh-flow-daemon/etc/extensions.d/placeholder", "/etc/zenoh-flow/extensions.d/placeholder", "644"],
["etc/zenoh-zf-plugin.json", "/etc/zenoh-flow/zenoh-zf-plugin.json", "644"],
["../zenoh-flow-daemon/var/*", "/var/zenoh-flow", "644"],
]
39 changes: 39 additions & 0 deletions zenoh-flow-plugin/etc/zenoh-zf-plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <zenoh@zettascale.tech>
//


{
"listen":{
"endpoints":["tcp/0.0.0.0:7447"]
},
"plugins_search_dirs":["/usr/lib/"],
"plugins":{
"storage_manager":{
"required":true,
"storages":{
"zfrpc":{
"key_expr":"zf/runtime/**",
"volume": "memory"
},
"zf":{
"key_expr":"zenoh-flow/**",
"volume": "memory"
}
}
},
"zenoh_flow":{
"required":true,
"path":"/etc/zenoh-flow",
"pid_file": "/var/zenoh-flow/runtime.pid",
"extensions": "/etc/zenoh-flow/extensions.d",
"worker_pool_size":4
}
}
}
2 changes: 1 addition & 1 deletion zfctl/.config/zfctl-zenoh.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{
"connect":{
// Connects to the local runtime
"endpoints":["tcp/127.0.0.1:7887"]
"endpoints":["tcp/127.0.0.1:7447"]
},
"mode":"client",
}

0 comments on commit 4a47555

Please sign in to comment.