Fix bug 576 about ssh keys 06/6806/3
authortierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 31 Oct 2018 08:28:11 +0000 (09:28 +0100)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 31 Oct 2018 08:43:31 +0000 (09:43 +0100)
Change-Id: I69f73e6ce201e6e46804624271b9183ac2bbfc98
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_nbi/html_public/version
osm_nbi/validation.py
tox.ini

index b931c64..7416eba 100644 (file)
@@ -1,2 +1,2 @@
-0.1.22
-2018-10-24
+0.1.23
+2018-10-31
index 292ec97..6999435 100644 (file)
@@ -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 (file)
--- 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