From bb36650f87dd4b30e9ebbbb4409444b4482338b5 Mon Sep 17 00:00:00 2001 From: Chris Yeoh Date: Fri, 17 May 2013 16:53:37 +0930 Subject: Adds ability to black/whitelist v3 API extensions Adds a config option which will blacklist specific v3 API extensions from being loaded even if they are detected. Adds a config option which if the list is not empty will stop any v3 API extension from being loaded unless it is in the whitelist. No filtering occurs if the whitelist is empty Creates a config option group osapi_v3 to hold the two new options and osapi_v3_enabled renamed to just enabled within the new group Partially implements blueprint v3-api-extension-framework Change-Id: Iec7fdb073b933791b0110dae485538c9080f2670 --- nova/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/test.py') diff --git a/nova/test.py b/nova/test.py index ac056ad1c..0d49f6d92 100644 --- a/nova/test.py +++ b/nova/test.py @@ -227,7 +227,7 @@ class TestCase(testtools.TestCase): self.useFixture(fixtures.EnvironmentVariable('http_proxy')) self.policy = self.useFixture(policy_fixture.PolicyFixture()) CONF.set_override('fatal_exception_format_errors', True) - CONF.set_override('osapi_v3_enabled', True) + CONF.set_override('enabled', True, 'osapi_v3') def _clear_attrs(self): # Delete attributes that don't start with _ so they don't pin -- cgit