]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Validate loadbalancing method when updating a pool
authorEugene Nikanorov <enikanorov@mirantis.com>
Wed, 19 Nov 2014 10:05:05 +0000 (14:05 +0400)
committerEugene Nikanorov <enikanorov@mirantis.com>
Wed, 19 Nov 2014 10:05:05 +0000 (14:05 +0400)
commitb7429460d0950cf58c3ebbf158659c17bdcfd10d
tree04100df21c5a7dcc194c1226975e6d4b30ae99ad
parent0965f81eb45abf1947ba9a7ac7e0fbcd6cbb2abc
Validate loadbalancing method when updating a pool

Validate the input for the lb_method and avoid DBIntegrityError.

Change-Id: Iea3d464abdeb1ed377db2453581124742f9fb0ac
Closes-Bug: #1390078
neutron/extensions/loadbalancer.py
neutron/tests/unit/db/loadbalancer/test_db_loadbalancer.py