JSON format of bdev_name_id_pair is different between construct_target_node() and get_target_nodes(). construct_target_nodes() uses the following format: "lun_ids": [ 1 ], "bdev_names": [ "Malloc0" ] get_target_nodes() uses the following format: "luns": [ { "lun_id": 0, "bdev_name": "lvs_1/lbd_1" }, ] The second format is better than the first format. Hence unify to the second format. Change-Id: If097e41ada0f2fe3754691cee0a0774db97c4ebb Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/399993 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
__init__.py | ||
app.py | ||
bdev.py | ||
client.py | ||
iscsi.py | ||
log.py | ||
lvol.py | ||
nbd.py | ||
net.py | ||
nvmf.py | ||
pmem.py | ||
vhost.py |