code: def cli(env, identifier, wait):
      
  
      vsi = SoftLayer.VSManager(env.client)
      vs_id = helpers.resolve_id(vsi.resolve_ids, identifier, 'VS')
      ready = vsi.wait_for_ready(vs_id, wait)
      if ready:
          env.fout("READY")
      else:
          raise exceptions.CLIAbort("Instance %s not ready" % vs_id)
docs: Check if a virtual server is ready.