Fix bug #1077 slice instantiation with ssh_keys option 28/9028/1
authorFelipe Vicens <felipe.vicens@atos.net>
Sun, 24 May 2020 16:57:33 +0000 (18:57 +0200)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 3 Jun 2020 09:48:13 +0000 (09:48 +0000)
Change-Id: Ied5223046f00b630442043f3e6ecd34f6867c24f
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
osm_nbi/validation.py

index 6a483f3..505201c 100644 (file)
@@ -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": {