From e7c35ebebd990277d29bfa54eff31c0cccaed78d Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Wed, 4 Dec 2019 12:24:32 +0000 Subject: [PATCH] Fix bug 946 - removed unnecessary check for additionalParams Change-Id: I3afdd68a17f78fcbea8f6527d2781c36988ec1a4 Signed-off-by: garciadeblas --- osmclient/sol005/ns.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/osmclient/sol005/ns.py b/osmclient/sol005/ns.py index 1165b3d..e9858f4 100644 --- a/osmclient/sol005/ns.py +++ b/osmclient/sol005/ns.py @@ -198,9 +198,6 @@ class Ns(object): if not additional_param_vnf.get("member-vnf-index"): raise ValueError("Error at --config 'additionalParamsForVnf' items must contain " "'member-vnf-index'") - if not additional_param_vnf.get("additionalParams"): - raise ValueError("Error at --config 'additionalParamsForVnf' items must contain " - "'additionalParams'") if "wim_account" in ns_config: wim_account = ns_config.pop("wim_account") if wim_account is not None: -- 2.25.1