1
0
mirror of https://github.com/gluster/gluster-block.git synced 2026-02-05 12:45:33 +01:00
Files
Prasanna Kumar Kalever 5d48aba7b6 create: support 'auth enable' option
This patch add support to enable auth while create.

The schematics of authentication setting for/while create, looks like

$ gluster-block create block-test/sample-block ha 1 auth enable \
                       192.168.0.105 1GiB --json-pretty
{
  "IQN":"iqn.2016-12.org.gluster-block:dc6cca79-f9b7-44f5-acaf-ac81c9cc7c2e",
  "USERNAME":"dc6cca79-f9b7-44f5-acaf-ac81c9cc7c2e",
  "PASSWORD":"ae48635a-6902-454c-949a-f2ad0e056086",
  "PORTAL(S)":[
    "192.168.0.105:3260"
  ],
  "RESULT":"SUCCESS"
}

Change-Id: Ib8f5ddd904cb879e0ee05f6a7c3c381c6615a0e4
Fixes: #5
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
2017-05-02 10:08:30 +00:00
..
2017-05-02 10:08:30 +00:00