Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split cbas_path values for improved readability #2526

Open
wants to merge 1 commit into
base: release/7.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions modules/rest-api/pages/rest-node-index-path.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ This parameter can only be used when initializing a node that is not part of a p

| `cbas_path`
| The path for analytics storage.
This parameter can be repeated several times, separated by ampersands,
to setup multiple storage paths (I/O devices) in analytics.
This parameter can be repeated several times, to setup
multiple storage paths (I/O devices) in analytics.
|===

== Syntax
Expand All @@ -38,7 +38,10 @@ Curl request syntax:
curl -X POST -u [admin]:[password]
-d path=[data storage path]
-d index_path=[index storage path]
-d cbas_path=[analytics storage paths]
-d cbas_path=[analytics storage path 1]
[-d cbas_path=[analytics storage path 2],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure the comma here is wrong

Suggested change
[-d cbas_path=[analytics storage path 2],
[-d cbas_path=[analytics storage path 2]

...
-d cbas_path=[analytics storage path n]]
http://[localhost]:8091/nodes/self/controller/settings
----

Expand All @@ -59,7 +62,9 @@ Curl request example
----
curl -X POST -u Administrator:password \
-d 'index_path=/var/tmp/test_indexpath' \
-d 'cbas_path=/mnt/d1&cbas_path=/mnt/d2&cbas_path=/mnt/d3' \
-d 'cbas_path=/mnt/d1' \
-d 'cbas_path=/mnt/d2' \
-d 'cbas_path=/mnt/d3' \
http://127.0.0.1:8091/nodes/self/controller/settings
----

Expand Down