• Christos Stavrakakis's avatar
    cyclades: Fix bugs relative to pool allocation · 88676431
    Christos Stavrakakis authored
    Fix bug when trying to allocate a specified IPv4 address. Only one of
    the IP pools will contain this address, so you must bypass InvalidValue
    exceptions until searching all pools.
    
    Also PoolManager raised 'EmptyPool' exception when trying to allocate from an
    empty pool. However, if someone tried to allocate a specific value,
    'ValueNotAvailable' should be returned.
    88676431
util.py 18.7 KB