From: mirabal Date: Fri, 10 Feb 2017 11:09:20 +0000 (+0100) Subject: Avoid ssh connections to network controller in test mode X-Git-Tag: v2.0.0~56 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F1094%2F1;p=osm%2Fopenvim.git Avoid ssh connections to network controller in test mode Signed-off-by: mirabal --- diff --git a/httpserver.py b/httpserver.py index 777bd22..ca47b6d 100644 --- a/httpserver.py +++ b/httpserver.py @@ -684,7 +684,8 @@ def get_dhcp_controller(): develop_bridge_iface=bridge_ifaces) config_dic['host_threads']['openvim_controller'] = dhcp_host - dhcp_host.ssh_connect() + if not host_test_mode: + dhcp_host.ssh_connect() return dhcp_host