Bug 1400047 - [RFE] heketi-cli should also provide a flag to print response as YAML
Summary: [RFE] heketi-cli should also provide a flag to print response as YAML
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: heketi
Version: cns-3.4
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Michael Adam
QA Contact: Prasanth
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-30 11:07 UTC by Prasanth
Modified: 2018-01-18 11:43 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-18 11:43:30 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Prasanth 2016-11-30 11:07:16 UTC
Description of problem:

Currently, heketi-cli provides an option "--json" to print the responses in JSON format. Similarly, heketi-cli should also provide a flag to print response as YAM. IMO, YAML is visually easier to look at and so it's better for human-maintained files, specially a topology file with multiple nodes and devices. 

Once we have this --yaml flag in heketi-cli, users will also get an option to write their topology files in YAML format and load it for creating the cluster.

Comment 2 Humble Chirammal 2016-12-05 12:24:55 UTC
There was a plan to remove the 'json' support from the cli. More or less, the heketi-cli is kind of getting less importance from CNS product POV. So this may not be a good candidate for CNS 3.4 release at least.

Comment 3 Humble Chirammal 2018-01-18 11:43:30 UTC
This is no longer in plan and I am closing this request for now.


Note You need to log in before you can comment on or make changes to this bug.