Add network id to exception when ipblocks are full
Change-Id: Ic55dfd57e53484cd8f5074cb103e8cfffddf40fc
This commit is contained in:
parent
aeb6791ab3
commit
6ec8d7068e
@ -1052,7 +1052,8 @@ class Network(ModelBase):
|
||||
|
||||
if not any(ips):
|
||||
raise exception.NoMoreAddressesError(
|
||||
_("ip blocks in this network are full"))
|
||||
_("ip blocks in network %(network-id) are full")
|
||||
% {'network-id': self.id})
|
||||
|
||||
return filter(None, ips)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user