]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
json-schema: add dhchap_key details to host section
authorMartin George <marting@netapp.com>
Wed, 7 Sep 2022 08:54:05 +0000 (14:24 +0530)
committerMartin George <marting@netapp.com>
Wed, 7 Sep 2022 08:54:05 +0000 (14:24 +0530)
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>
doc/config-schema.json

index a7bbdf17c1eb7f955861a2c215de7aea3025ca9e..ddb0e0838a988cc3a45e654e906df8ee9a3bc750 100644 (file)
                    "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",