]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Return 409 for second firewall creation
authorAkihiro Motoki <motoki@da.jp.nec.com>
Wed, 2 Apr 2014 02:34:01 +0000 (11:34 +0900)
committerMark McClain <mmcclain@yahoo-inc.com>
Fri, 4 Apr 2014 22:57:35 +0000 (18:57 -0400)
commit2436e3e543e572ac51e1d688089cb424da47e19d
tree7c791c5b1e015245e4eb9275001c98af9c97772f
parent8fd51240983f4c2ff2a73d907ccb1c597bd5d835
Return 409 for second firewall creation

Second firewall creation returns 500, but it is an expected behavior
of firewall reference implementation and an internal server error
should not be returned.

Change-Id: I9f537b238007d35172e2504591d9d3568ba3a41a
Closes-Bug: #1301105
(cherry picked from commit 9df867c672bfb3f80511086c889b744113c56604)
neutron/services/firewall/fwaas_plugin.py
neutron/tests/unit/services/firewall/test_fwaas_plugin.py