Adjust fwaas unit tests to work with quotas enabled
To allow unit tests that create multiple firewalls succeeding even after
bug#1399280 (FWaaS doesn't register it's quota resources) is fixed we
create the firewalls in separate tenants.
The default per-tenant quota for firewalls is "1". Additionally the
plugin currently has a hardcoded limit of one firewall per tenant so
there is no point in increasing the default quota.
Reviewed: https:/ /review. openstack. org/141064 /git.openstack. org/cgit/ openstack/ neutron- fwaas/commit/ ?id=b823b339d50 89dd3db329b7f89 a431d7a3dc94d2
Committed: https:/
Submitter: Jenkins
Branch: master
commit b823b339d5089dd 3db329b7f89a431 d7a3dc94d2
Author: Ralf Haferkamp <email address hidden>
Date: Thu Dec 11 10:33:00 2014 +0100
Adjust fwaas unit tests to work with quotas enabled
To allow unit tests that create multiple firewalls succeeding even after
bug#1399280 (FWaaS doesn't register it's quota resources) is fixed we
create the firewalls in separate tenants.
The default per-tenant quota for firewalls is "1". Additionally the
plugin currently has a hardcoded limit of one firewall per tenant so
there is no point in increasing the default quota.
Change-Id: I7933d3bc6cf246 5fe28604ea3dba9 d38cf2e0a05
Related-Bug: #1399280