Bug 1353357

Summary: Enhancement: Add multipathd JSON API
Product: Red Hat Enterprise Linux 7 Reporter: Ben Marzinski <bmarzins>
Component: device-mapper-multipathAssignee: Ben Marzinski <bmarzins>
Status: CLOSED ERRATA QA Contact: Zhang Yi <yizhan>
Severity: unspecified Docs Contact: Steven J. Levine <slevine>
Priority: unspecified    
Version: 7.3CC: agk, bmarzins, fge, heinzm, lilin, msnitzer, prajnoha, tgill, yizhan
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: device-mapper-multipath-0.4.9-94.el7 Doc Type: Enhancement
Doc Text:
The "multipathd" command can now display the multipath data with JSON formatting With this release, multipathd now includes the "show maps json" command to display the multipath data with JSON formatting. This makes it easier for other programs to parse the "multipathd show maps" output.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 08:20:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Ben Marzinski 2016-07-06 22:18:41 UTC
Upstream multipath-tools includes a "show maps json" command that allows it 
to return multipath map data in JSON format.  This makes it easier for applications to parse information from multipathd.

http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=commit;h=8fb53a78f19069556edc5e1f1f30f9f58e4f43e8

This command should be backported to the RHEL-7.3 release.

Comment 4 Ben Marzinski 2016-07-15 23:24:50 UTC
Patches applied.

Comment 12 errata-xmlrpc 2016-11-04 08:20:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2536.html