'Prepare the application for vm runtimes and return state.'

def PrepareVmRuntimeAction(self):

    if (not self.options.app_id):
        self.parser.error('Expected    an    --application    argument')
    rpcserver = self._GetRpcServer()
    response = rpcserver.Send('/api/vms/prepare', app_id=self.options.app_id)
    print >>self.out_fh, response
