A virtual machine may be in a stopped state and your application program may require to start it. The VM can be powered by invoking the start_server() function by passing it the ID of the VM or an object of the Server class.
The following code invokes start_server() by passing the ID of the VM:
def start_server(conn):
server_id="7cdaa375-f1b5-40ab-81bd-7e3d052f370d"
conn.compute.start_server(server_id)