]> www.infradead.org Git - users/sagi/libnvme.git/commit
Parse dhchap_host_key on controller level
authorHannes Reinecke <hare@suse.de>
Thu, 25 Aug 2022 08:27:02 +0000 (10:27 +0200)
committerHannes Reinecke <hare@suse.de>
Thu, 25 Aug 2022 09:33:09 +0000 (11:33 +0200)
commit6614a55722f501ceabe7f1892479b8b8c7239acb
treea755cebee74a426a438c711daca1bd664e4a021f
parent055639d5ace8c88248d82a72460e49f18bf0a723
Parse dhchap_host_key on controller level

The json config schema declares an 'dhchap_key' element representing
the dhchap host key on the controller level, but the implementation
was missing. Add the missing parsing elements and ensure to pick the
correct one (either host or controller setting) when creating the
nvme connect string.

Signed-off-by: Hannes Reinecke <hare@suse.de>
libnvme/nvme.i
src/libnvme.map
src/nvme/fabrics.c
src/nvme/json.c
src/nvme/private.h
src/nvme/tree.c
src/nvme/tree.h