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_1^0 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=commitdiff_plain;h=7ce1db93057aff3f9679f45ac15c9862e8ac6d2a 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"}, },