diff options
author | Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com> | 2017-10-18 12:22:11 +0200 |
---|---|---|
committer | Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com> | 2017-10-18 12:22:11 +0200 |
commit | 308dc9989bce115b615fa13ff1dc44080e3a731e (patch) | |
tree | 3f412614241e06bc8c487dc0c019cd825b7aebd8 /sdnvpn/lib | |
parent | 778d4874047341c2b6af5c91c7553cc15e1cdaaf (diff) |
Gather logs only if fuel or apex installer
Change-Id: I11988ad86a916d1d7251aacf951c6362fda961ba
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
Diffstat (limited to 'sdnvpn/lib')
-rw-r--r-- | sdnvpn/lib/utils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sdnvpn/lib/utils.py b/sdnvpn/lib/utils.py index ad0714e..d968010 100644 --- a/sdnvpn/lib/utils.py +++ b/sdnvpn/lib/utils.py @@ -213,7 +213,9 @@ def get_installerHandler(): installer_ip = get_installer_ip() if installer_type not in ["fuel", "apex"]: - raise ValueError("%s is not supported" % installer_type) + logger.warn("installer type %s is neither fuel nor apex." + "returning None for installer handler" % installer_type) + return None else: if installer_type in ["apex"]: developHandler = DeploymentFactory.get_handler( |