All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] add option to output JSON for multipathd command
@ 2016-05-04 20:23 Todd Gill
  2016-05-04 20:23 ` [PATCH 1/1] add display of map information in JSON format Todd Gill
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Todd Gill @ 2016-05-04 20:23 UTC (permalink / raw)
  To: dm-devel; +Cc: Todd Gill

Hi,

I had earlier sent an email to dm-devel proposing we add a feature
in multipathd to output multipath map topology in JSON format. This
patch contains to the code for that feature.

Having an option for the  CLI to output in JSON would allow higher
level applications to more easily monitor/manage multipath.

I thought it was best to take advantage of some of the existing
snprintf_xxx functions rather than adding a library dependency
to multipathd.

Will add code for groups next if this is accepted.

Thanks,
Todd

Todd Gill (1):
  add display of map information in JSON format

 libmultipath/print.c      | 122 ++++++++++++++++++++++++++++++++++++++++++++++
 libmultipath/print.h      |  50 +++++++++++++++++++
 multipathd/cli.c          |   3 ++
 multipathd/cli.h          |   2 +
 multipathd/cli_handlers.c |  93 +++++++++++++++++++++++++++++++++++
 multipathd/cli_handlers.h |   2 +
 multipathd/main.c         |   2 +
 7 files changed, 274 insertions(+)

-- 
2.5.5

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-05-06 13:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-04 20:23 [PATCH 0/1] add option to output JSON for multipathd command Todd Gill
2016-05-04 20:23 ` [PATCH 1/1] add display of map information in JSON format Todd Gill
2016-05-05 13:16   ` Gris Ge
2016-05-04 23:22 ` [PATCH 0/1] add option to output JSON for multipathd command Alasdair G Kergon
2016-05-05  1:45   ` Todd Gill
2016-05-05  1:17 ` Bart Van Assche
2016-05-06 13:52   ` Todd Gill

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.