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

[RFE] Gluster CLI compatibility #208

Open
aravindavk opened this issue Jul 25, 2022 · 1 comment
Open

[RFE] Gluster CLI compatibility #208

aravindavk opened this issue Jul 25, 2022 · 1 comment

Comments

@aravindavk
Copy link
Member

aravindavk commented Jul 25, 2022

Provide compatibility to Gluster commands. Output/XML compatibility is not in this scope.

Examples:

$ kadalu gluster-cmd --pool=PROD gluster peer probe node1.example.com
Executing below Kadalu command.

  kadalu node add DEV/node1.example.com

Is this correct? (Y/N):
$
$ kadalu gluster-cmd --pool=PROD gluster volume create vol1 \
    replica 3 \
    node1.example.com:/exports/vol1/storage1 \
    node2.example.com:/exports/vol1/storage2 \
    node3.example.com:/exports/vol1/storage3
Executing below Kadalu command.

  kadalu volume create PROD/vol1 \
    --no-start \
    replica 3  \
    node1.example.com:/exports/vol1/storage1 \
    node2.example.com:/exports/vol1/storage2 \
    node3.example.com:/exports/vol1/storage3

Is this correct? (Y/N):

Don't execute the commands directly unless --mode=script is given.

@sac
Copy link
Contributor

sac commented Jul 25, 2022

A small nit. (Y/n) capitalize the default action. When a user enters return without typing anything, the default action is taken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants