Fix bug #1077 slice instantiation with ssh_keys option 64/8964/1 v7.1.0rc2 v7.1.0rc3
authorFelipe Vicens <felipe.vicens@atos.net>
Sun, 24 May 2020 16:57:33 +0000 (18:57 +0200)
committerFelipe Vicens <felipe.vicens@atos.net>
Sun, 24 May 2020 16:57:33 +0000 (18:57 +0200)
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": {