Revision f8675683 snf-cyclades-app/synnefo/api/floating_ips.py
b/snf-cyclades-app/synnefo/api/floating_ips.py | ||
---|---|---|
143 | 143 |
deleted=False, |
144 | 144 |
floating_ip_pool=True) |
145 | 145 |
|
146 |
except IndexError:
|
|
146 |
except Network.DoesNotExist:
|
|
147 | 147 |
raise faults.ItemNotFound("Pool '%s' does not exist." % pool) |
148 | 148 |
if address is None: |
149 | 149 |
# User did not specified an IP address. Choose a random one |
Also available in: Unified diff