neutron/neutron/tests/unit/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 Enable most unit tests for py34 job 2015-09-04 08:30:22 +00:00
__init__.py IPAM reference driver 2015-05-19 09:44:11 -07:00
fake_driver.py Remove unnecessary executable permission 2015-08-01 05:16:32 +00:00
test_requests.py Change the exception type from ValueError to IpamValueInvalid 2016-03-24 12:51:48 +01:00
test_subnet_alloc.py Add the missing arg of RetryRequest exception in _lock_subnetpool 2015-11-27 13:11:00 +00:00
test_utils.py Fix issues with allocation pool generation for ::/64 cidr 2015-07-08 10:36:55 +01:00