Fix bug 946 - removed unnecessary check for additionalParams 15/8315/1 v7.0.0 v7.0.0rc1 v7.0.1rc1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 4 Dec 2019 12:24:32 +0000 (12:24 +0000)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 4 Dec 2019 12:24:42 +0000 (12:24 +0000)
Change-Id: I3afdd68a17f78fcbea8f6527d2781c36988ec1a4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osmclient/sol005/ns.py

index 1165b3d..e9858f4 100644 (file)
@@ -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: