code: def restart(state, host, ctid, force=False):
      '''
      Restart OpenVZ containers.
  
      + ctid: CTID of the container to restart
      + force: whether to force container start
      '''
  
      yield stop(state, host, ctid)
      yield start(state, host, ctid, force=forcef restart(state, host, ctid, force=False):
      '''
      Restart OpenVZ containers.
  
      + ctid: CTID of the container to restart
      + force: whether to force container start
      '''
  
      yield stop(state, host, ctid)
      yield start(state, host, ctid, force=force)
docs: Restart OpenVZ containers.
  
      + ctid: CTID of the container to restart
      + force: whether to force container start