Spdk/scripts/rpc
Shuhei Matsumoto 3b4e5493d9 iscsi/rpc: Adjust PG:IG map format between dump() and construct()
For the following JSON-RPC:
1) get_target_nodes
2) construct_target_node
3) add_pg_ig_maps
4) delete_pg_ig_maps
JSON format is not unified yet.

1) uses the following:
    "pg_ig_maps": [
      {
        "ig_tag": 1,
        "pg_tag": 1
      }

2), 3), and 4) use the following:
    "ig_tags": [
      1
    ],
    "pg_tags": [
      1
    ],

the first format is better than the second format. Hence unify to
the first format.

Change-Id: I6cc19115001b9c9ba9db5c87db1def7c0b3bd80c
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/400203
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2018-02-21 15:07:48 -05:00
..
__init__.py rpc.py: import print_dict for get_rpc_methods 2018-01-26 12:13:15 -05:00
app.py pep8: re-enable E302 (2 blank lines between functions) 2018-02-15 11:10:41 -05:00
bdev.py pep8: re-enable E302 (2 blank lines between functions) 2018-02-15 11:10:41 -05:00
client.py Added support for IPv6 address to send JSON request using rpc.py 2018-02-21 12:54:26 -05:00
iscsi.py iscsi/rpc: Adjust PG:IG map format between dump() and construct() 2018-02-21 15:07:48 -05:00
log.py rpc.py: make 'verbose' a client parameter 2018-02-06 08:54:38 -05:00
lvol.py bdev: Added functions allowing logical volume rename. 2018-02-16 16:21:20 -05:00
nbd.py rpc: Break rpc client into individual python files 2018-01-25 10:24:46 -05:00
net.py rpc.py: make 'verbose' a client parameter 2018-02-06 08:54:38 -05:00
nvmf.py nvmf: allow configuration of ns NGUID and EUI64 2018-02-20 12:01:47 -05:00
pmem.py rpc: Break rpc client into individual python files 2018-01-25 10:24:46 -05:00
vhost.py pep8: re-enable E302 (2 blank lines between functions) 2018-02-15 11:10:41 -05:00