File 0022-json-schema-add-dhchap_key-details-to-host-section.patch of Package libnvme.26472

From: Martin George <marting@netapp.com>
Date: Wed, 7 Sep 2022 14:24:05 +0530
Subject: json-schema: add dhchap_key details to host section
Git-commit: a001e59b7751fcb2076231642e2e4d077afb4fad
References: bsc#1201501

One can set the dhchap_key in the host section as well of
the config JSON file. So update the JSON schema to reflect
the same.

Signed-off-by: Martin George <marting@netapp.com>
Acked-by: Daniel Wagner <dwagner@suse.de>
---
 doc/config-schema.json | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/config-schema.json b/doc/config-schema.json
index a7bbdf17c1eb..ddb0e0838a98 100644
--- a/doc/config-schema.json
+++ b/doc/config-schema.json
@@ -29,6 +29,10 @@
 		    "description": "NVMe host symbolic name",
 		    "type": "string"
 		},
+		"dhchap_key": {
+		    "description": "Host DH-HMAC-CHAP key",
+		    "type": "string"
+		},
 		"required": [ "hostnqn" ],
 		"subsystems": {
 		    "description": "Array of NVMe subsystem properties",
-- 
2.37.3

openSUSE Build Service is sponsored by