From 9eac7dc60688c476f1741da058c8f663dccaedd5 Mon Sep 17 00:00:00 2001 From: Felipe Vicens Date: Sun, 24 May 2020 18:57:33 +0200 Subject: [PATCH] Fix bug #1077 slice instantiation with ssh_keys option Change-Id: Ied5223046f00b630442043f3e6ecd34f6867c24f Signed-off-by: Felipe Vicens --- osm_nbi/validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": { -- 2.25.1