From 71b5a0fcb93bd4373d9fcc2d87647d9dfa935648 Mon Sep 17 00:00:00 2001 From: mirabal Date: Fri, 10 Feb 2017 12:09:20 +0100 Subject: [PATCH] Avoid ssh connections to network controller in test mode Signed-off-by: mirabal --- httpserver.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.25.1