]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix FWaaS plugin to allow one firewall per tenant
authorSumit Naiksatam <sumitnaiksatam@gmail.com>
Fri, 20 Sep 2013 23:40:52 +0000 (16:40 -0700)
committerSumit Naiksatam <sumitnaiksatam@gmail.com>
Mon, 23 Sep 2013 18:08:19 +0000 (11:08 -0700)
commit78aa12567d226fe73df483d75e0d1980e6d3625e
treed9e22fd2b721d9b37aa3f1c0361f8be7e2dc2e6e
parent76112fe5fb1479ba38b6b0e08d5c6a69f7b405c4
Fix FWaaS plugin to allow one firewall per tenant

The reference implementation of the FWaaS iptables
agent/driver supports only one firewall per tenant
in Havana release. However, the FWaaS plugin will
let you create more than one firewall. This is
being fixed in this patch to not allow creating
the second firewall if a firewall already exists
for the tenant.

Change-Id: I8f1cad9791723ba919b5774a63982c204686ddfe
Closes-Bug: #1228442
neutron/services/firewall/fwaas_plugin.py
neutron/tests/unit/services/firewall/test_fwaas_plugin.py