From c9d88b0b588cce50412097a2f509b9a539d7f587 Mon Sep 17 00:00:00 2001 From: David Weinholz Date: Thu, 20 Sep 2018 14:40:03 +0200 Subject: [PATCH] feat(status): returns port_closed hen port is closed --- gen-py/VirtualMachineService/VirtualMachineHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen-py/VirtualMachineService/VirtualMachineHandler.py b/gen-py/VirtualMachineService/VirtualMachineHandler.py index bbacf0ed..36772cce 100644 --- a/gen-py/VirtualMachineService/VirtualMachineHandler.py +++ b/gen-py/VirtualMachineService/VirtualMachineHandler.py @@ -367,7 +367,7 @@ def check_server_status(self, openstack_id, diskspace, volume_id): return self.get_server(openstack_id) else: server = self.get_server(openstack_id) - server.status = 'BUILD' + server.status = 'PORT_CLOSED' return server else: server = self.get_server(openstack_id)