'Remove a device from the ring.
.. note::
This will not rebalance the ring immediately as you may want to
make multiple changes for a single rebalance.
:param dev_id: device id'

def remove_dev(self, dev_id):

    dev = self.devs[dev_id]
    dev['weight'] = 0
    self._remove_devs.append(dev)
    self.devs_changed = True
    self.version += 1
