From: tierno Date: Wed, 25 Jul 2018 10:50:52 +0000 (+0200) Subject: allow ns_action over a vdu X-Git-Tag: BUILD_v4.0.1_2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=03e3f352f3a8c06b6f6106a170e7b6dde8eaac14;p=osm%2FNBI.git allow ns_action over a vdu Change-Id: I093bf9a8175e9bbc448735df12c918f23937ff94 Signed-off-by: tierno --- 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"}, },