neutron/neutron/ipam
Yalei Wang 8de5b03ecd Change the exception type from ValueError to IpamValueInvalid
The current ValueError in _validate_with_subnet will return an unfriendly
"Internal Server Error" to user who wrong configured the subnet and pool. This
patch introduces a new exception IpamValueInvalid and it will be mapped to an
meaningful webob exception.

Closes-Bug: #1531401

Conflicts:
	neutron/ipam/exceptions.py
	neutron/ipam/requests.py

Change-Id: Ib50a4b3cd1881a0c364d354728fc43040c3ed520
(cherry picked from commit 8da632a22d)
2016-03-24 12:51:48 +01:00
..
drivers Add IPv6 Prefix Delegation compatibility to ipam_pluggable_backend 2015-08-25 17:01:22 +01:00
__init__.py Make IPAM more pythonic 2015-07-09 17:33:17 +00:00
driver.py Add Pluggable IPAM Backend Part 2 2015-07-24 10:31:39 +03:00
exceptions.py Change the exception type from ValueError to IpamValueInvalid 2016-03-24 12:51:48 +01:00
requests.py Change the exception type from ValueError to IpamValueInvalid 2016-03-24 12:51:48 +01:00
subnet_alloc.py Add the missing arg of RetryRequest exception in _lock_subnetpool 2015-11-27 13:11:00 +00:00
utils.py Fix for adding gateway with IP outside subnet 2016-02-22 16:32:26 +05:30