Bug 1400047

Summary: [RFE] heketi-cli should also provide a flag to print response as YAML
Product: Red Hat Gluster Storage Reporter: Prasanth <pprakash>
Component: heketiAssignee: Michael Adam <madam>
Status: CLOSED CANTFIX QA Contact: Prasanth <pprakash>
Severity: low Docs Contact:
Priority: low    
Version: cns-3.4CC: hchiramm, mliyazud, pprakash, rcyriac, rhs-bugs, storage-qa-internal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-18 11:43:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.