Reply with a meaningful exception when ports are over the quota limit
Currently, neutron client api returns a negative number
for max_net_count, when the number of port is over the quota limit,
instead of raising a meaningful exception.
Raising an PortLimitExceeded exception, when the above issue occur.
Reviewed: https:/ /review. openstack. org/140888 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=00bfc54403c 9d9184699632763 38f2c0f1f3bb63
Committed: https:/
Submitter: Jenkins
Branch: master
commit 00bfc54403c9d91 8469963276338f2 c0f1f3bb63
Author: Vladik Romanovsky <email address hidden>
Date: Wed Dec 10 17:29:37 2014 -0500
Reply with a meaningful exception when ports are over the quota limit
Currently, neutron client api returns a negative number
for max_net_count, when the number of port is over the quota limit,
instead of raising a meaningful exception.
Raising an PortLimitExceeded exception, when the above issue occur.
Closes-Bug: #1401171 856ecc6b8c40e7e fab4a625796
Change-Id: I5c9c7276f1d90e