code: def set_ghost_status(self, ghost_status):
          
  
          yield from self._hypervisor.send('vm set_ghost_status "{name}" {ghost_status}'.format(name=self._name,
                                                                                                ghost_status=ghost_status))
  
          log.info('Router "{name}" [{id}]: ghost status set to {ghost_status}'.format(name=self._name,
                                                                                       id=self._id,
                                                                                       ghost_status=ghost_status))
          self._ghost_status = ghost_status
docs: Sets ghost RAM status
  
          :param ghost_status: state flag indicating status
          0 => Do not use IOS ghosting
          1 => This is a ghost instance
          2 => Use an existing ghost instance