From: Felipe Vicens Date: Sun, 24 May 2020 16:57:33 +0000 (+0200) Subject: Fix bug #1077 slice instantiation with ssh_keys option X-Git-Tag: release-v8.0-start~13 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F28%2F9028%2F1;p=osm%2FNBI.git Fix bug #1077 slice instantiation with ssh_keys option Change-Id: Ied5223046f00b630442043f3e6ecd34f6867c24f Signed-off-by: Felipe Vicens --- diff --git a/osm_nbi/validation.py b/osm_nbi/validation.py index 6a483f3..505201c 100644 --- a/osm_nbi/validation.py +++ b/osm_nbi/validation.py @@ -958,7 +958,7 @@ nsi_instantiate = { "nstId": string_schema, "vimAccountId": id_schema, "timeout_nsi_deploy": integer1_schema, - "ssh_keys": {"type": "string"}, + "ssh_keys": {"type": "array", "items": {"type": "string"}}, "nsi_id": id_schema, "additionalParamsForNsi": object_schema, "netslice-subnet": {