]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Validate protocol when creating VIP.
authorRyan O'Hara <rohara@redhat.com>
Tue, 12 Mar 2013 18:01:23 +0000 (13:01 -0500)
committerRyan O'Hara <rohara@redhat.com>
Mon, 18 Mar 2013 18:07:29 +0000 (13:07 -0500)
commit9a15b11794dbf945f0e9b9705ae510d3b378287d
tree5088d19819f3c80850b338598e411496028d22bf
parent6e38c964df73b63d378aac5e734826f9e42f63eb
Validate protocol when creating VIP.

Fixes: bug #1123114
When creating a VIP, check that the protocol matches the protocol
for the associated pool. If not, raise an exception.

Change-Id: Iba318eda935ccc89dbe8244e00f36ebdfcce65e0
quantum/db/loadbalancer/loadbalancer_db.py
quantum/extensions/loadbalancer.py
quantum/tests/unit/db/loadbalancer/test_db_loadbalancer.py