This is an upstream attempt for a relatively simple ZoL patch that adds JSON 
output to channel programs (see https://github.com/zfsonlinux/zfs/pull/7281).

By piggybacking JSON output on top of channel programs we ensure that JSON 
output support is targeted to scripting use cases and is easily maintainable 
since it really only touches one function (`zfs_do_channel_program()`).

You can view, comment on, or merge this pull request online at:

  https://github.com/openzfs/openzfs/pull/619

-- Commit Summary --

  * 9466 add JSON output support to channel programs

-- File Changes --

    M usr/src/cmd/zfs/zfs_main.c (22)
    M usr/src/man/man1m/zfs-program.1m (7)
    M usr/src/man/man1m/zfs.1m (9)
    M usr/src/test/zfs-tests/runfiles/delphix.run (3)
    M usr/src/test/zfs-tests/runfiles/omnios.run (3)
    M usr/src/test/zfs-tests/runfiles/openindiana.run (3)
    A usr/src/test/zfs-tests/tests/functional/cli_root/zfs_program/Makefile (21)
    A usr/src/test/zfs-tests/tests/functional/cli_root/zfs_program/cleanup.ksh 
(30)
    A usr/src/test/zfs-tests/tests/functional/cli_root/zfs_program/setup.ksh 
(32)
    A 
usr/src/test/zfs-tests/tests/functional/cli_root/zfs_program/zfs_program_json.ksh
 (132)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/619.patch
https://github.com/openzfs/openzfs/pull/619.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/619

------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/discussions/T0465226805877059-M9596fb890eee7b4b63bea24b
Delivery options: https://openzfs.topicbox.com/groups

Reply via email to