]> 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)
committerGerrit Code Review <review@openstack.org>
Wed, 2 Apr 2014 07:26:54 +0000 (07:26 +0000)
commit9df867c672bfb3f80511086c889b744113c56604
treeb997c68e9161515d4933e7d48e085a6ab5fd94bc
parentefb2db91a7513858849699fe318232c6a240a7ea
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
neutron/services/firewall/fwaas_plugin.py
neutron/tests/unit/services/firewall/test_fwaas_plugin.py