From: zhongjun Date: Tue, 26 Sep 2017 08:18:05 +0000 (+0800) Subject: Fix delete_virtual_network function call X-Git-Tag: opnfv-6.0.0~65^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F47%2F43147%2F1;p=daisy.git Fix delete_virtual_network function call create_daisy_server_network method in VirtualEnvironment class calls self.delete_virtual_network, but it doesn't exist, actually it should be delete_virtual_network function in module libvirt_utils.py. Change-Id: I381e916097744827a22d311b275611df38d8e1be Signed-off-by: zhongjun --- diff --git a/deploy/environment.py b/deploy/environment.py index 14240549..24c1b4f7 100644 --- a/deploy/environment.py +++ b/deploy/environment.py @@ -197,7 +197,7 @@ class VirtualEnvironment(DaisyEnvironmentBase): def create_daisy_server_network(self): net_name = create_virtual_network(VMDEPLOY_DAISY_SERVER_NET) if net_name != self.pxe_bridge: - self.delete_virtual_network(VMDEPLOY_DAISY_SERVER_NET) + delete_virtual_network(VMDEPLOY_DAISY_SERVER_NET) err_exit('Network name %s is wrong, pxe bridge is %s' % (net_name, self.pxe_bridge)) self._daisy_server_net = net_name