From fc5089ce2dee313929810482f9a4b01747f1df44 Mon Sep 17 00:00:00 2001 From: tierno Date: Wed, 31 Oct 2018 09:28:11 +0100 Subject: [PATCH] Fix bug 576 about ssh keys Change-Id: I69f73e6ce201e6e46804624271b9183ac2bbfc98 Signed-off-by: tierno --- osm_nbi/html_public/version | 4 ++-- osm_nbi/validation.py | 2 +- tox.ini | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/osm_nbi/html_public/version b/osm_nbi/html_public/version index b931c64..7416eba 100644 --- a/osm_nbi/html_public/version +++ b/osm_nbi/html_public/version @@ -1,2 +1,2 @@ -0.1.22 -2018-10-24 +0.1.23 +2018-10-31 diff --git a/osm_nbi/validation.py b/osm_nbi/validation.py index 292ec97..6999435 100644 --- a/osm_nbi/validation.py +++ b/osm_nbi/validation.py @@ -194,7 +194,7 @@ ns_instantiate = { "nsDescription": {"oneOf": [description_schema, {"type": "null"}]}, "nsdId": id_schema, "vimAccountId": id_schema, - "ssh_keys": {"type": "string"}, + "ssh_keys": {"type": "array", "items": {"type": "string"}}, "nsr_id": id_schema, "vnf": { "type": "array", diff --git a/tox.ini b/tox.ini index 707a451..3a6de1a 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,7 @@ commands=nosetests basepython = python3 deps = flake8 commands = flake8 osm_nbi/ setup.py --max-line-length 120 \ - --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp,vnfd_catalog.py,nsd_catalog.py --ignore W291,W293,E226,E402,W504 + --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp,osm_im --ignore W291,W293,E226,E402,W504 [testenv:build] basepython = python3 -- 2.25.1