From 7ce1db93057aff3f9679f45ac15c9862e8ac6d2a Mon Sep 17 00:00:00 2001 From: tierno Date: Wed, 25 Jul 2018 12:50:52 +0200 Subject: [PATCH 1/1] allow ns_action over a vdu Change-Id: I093bf9a8175e9bbc448735df12c918f23937ff94 Signed-off-by: tierno --- osm_nbi/html_public/version | 4 ++-- osm_nbi/tests/test.py | 8 ++++---- osm_nbi/validation.py | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/osm_nbi/html_public/version b/osm_nbi/html_public/version index 85e4884..3265946 100644 --- a/osm_nbi/html_public/version +++ b/osm_nbi/html_public/version @@ -1,3 +1,3 @@ -0.1.14 -2018-07-10 +0.1.15 +2018-07-25 diff --git a/osm_nbi/tests/test.py b/osm_nbi/tests/test.py index f953642..54aa0a3 100755 --- a/osm_nbi/tests/test.py +++ b/osm_nbi/tests/test.py @@ -704,10 +704,10 @@ class TestDeployIpMac(TestDeploy): { "id": "VM1", "interface": [ - { - "name": "iface11", - "floating-ip-required": True, - }, + # { + # "name": "iface11", + # "floating-ip-required": True, + # }, { "name": "iface13", "mac-address": "52:33:44:55:66:13" diff --git a/osm_nbi/validation.py b/osm_nbi/validation.py index 29c069b..7cf9d1c 100644 --- a/osm_nbi/validation.py +++ b/osm_nbi/validation.py @@ -227,6 +227,7 @@ ns_action = { # TODO for the moment it is only contemplated the vnfd primitive "properties": { "member_vnf_index": name_schema, "vnf_member_index": name_schema, # TODO for backward compatibility. To remove in future + "vdu_id": name_schema, "primitive": name_schema, "primitive_params": {"type": "object"}, }, -- 2.17.1