From acf8547cfbe943e9057ebfb4aae10549d8f4c810 Mon Sep 17 00:00:00 2001 From: Julien Enoch Date: Fri, 6 Dec 2024 14:52:47 +0100 Subject: [PATCH] README: update zenohd instructions to load REST plugin --- README.md | 4 ++-- v1/README.md | 4 ++-- v2/README.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e774588..7cb84bc 100644 --- a/README.md +++ b/README.md @@ -128,8 +128,8 @@ You can setup storages either at zenoh router startup via a configuration file, ### **Setup at runtime via `curl` commands on the admin space** - - Run the zenoh router, with write permissions to its admin space: - `zenohd --adminspace-permissions rw` + - Run the zenoh router, with write permissions to its admin space and with the REST plugin: + `zenohd --adminspace-permissions=rw --rest-http-port=8000` - Add the "influxdb" volume (the "zenoh_backend_fs" library will be loaded), connected to InfluxDB service on http://localhost:8086: `curl -X PUT -H 'content-type:application/json' -d '{url:"http://localhost:8086"}' http://localhost:8000/@/router/local/config/plugins/storage_manager/volumes/influxdb` - Add the "demo" storage using the "influxdb" volume: diff --git a/v1/README.md b/v1/README.md index 521b2e4..bf05a29 100644 --- a/v1/README.md +++ b/v1/README.md @@ -125,8 +125,8 @@ You can setup storages either at zenoh router startup via a configuration file, ### **Setup at runtime via `curl` commands on the admin space** - - Run the zenoh router, with write permissions to its admin space: - `zenohd --adminspace-permissions rw` + - Run the zenoh router, with write permissions to its admin space and with the REST plugin: + `zenohd --adminspace-permissions=rw --rest-http-port=8000` - Add the "influxdb" volume (the "zenoh_backend_fs" library will be loaded), connected to InfluxDB service on http://localhost:8086: `curl -X PUT -H 'content-type:application/json' -d '{url:"http://localhost:8086"}' http://localhost:8000/@/router/local/config/plugins/storage_manager/volumes/influxdb` - Add the "demo" storage using the "influxdb" volume: diff --git a/v2/README.md b/v2/README.md index 3548f0c..e73c3ec 100644 --- a/v2/README.md +++ b/v2/README.md @@ -113,8 +113,8 @@ You can setup storages either at zenoh router startup via a configuration file, ### **Setup at runtime via `curl` commands on the admin space** - - Run the zenoh router, with write permissions to its admin space: - `zenohd --adminspace-permissions rw` + - Run the zenoh router, with write permissions to its admin space and with the REST plugin: + `zenohd --adminspace-permissions=rw --rest-http-port=8000` - Add the "influxdb2" volume (the "zenoh_backend_fs" library will be loaded), connected to InfluxDB service on http://localhost:8086: `curl -X PUT -H 'content-type:application/json' -d '{url:"http://localhost:8086/api/v2"}' http://localhost:8000/@/router/local/config/plugins/storage_manager/volumes/influxdb2` - Add the "demo" storage using the "influxdb2" volume: