'Sets a new rebalance operation and starts communication with servers.'

def SetRebalancing(self, reb):

    self.rebalance = reb
    self.rebalance_pool = []
    try:
        for serv in self.servers:
            pool = urllib3.connectionpool.HTTPConnectionPool(serv.Address(), port=serv.Port())
            self.rebalance_pool.append(pool)
    except urllib3.exceptions.MaxRetryError:
        self.CancelRebalancing()
        return False
    return True
