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: v7.1.0rc3 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=8c9e2d7d1b1c3ec7de8321e1a2649afeeda3d77a;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": {