summaryrefslogtreecommitdiffstats
path: root/etc/nova/nova.conf.sample
diff options
context:
space:
mode:
authorChris Yeoh <cyeoh@au1.ibm.com>2013-05-17 16:53:37 +0930
committerChris Yeoh <cyeoh@au1.ibm.com>2013-06-03 14:27:41 +0930
commitbb36650f87dd4b30e9ebbbb4409444b4482338b5 (patch)
tree3775ebb20bac3b3c50d61eb8a952a56a01de2640 /etc/nova/nova.conf.sample
parent5ec5dbbf3034c7e092f7513272ed7faf835de550 (diff)
downloadnova-bb36650f87dd4b30e9ebbbb4409444b4482338b5.tar.gz
nova-bb36650f87dd4b30e9ebbbb4409444b4482338b5.tar.xz
nova-bb36650f87dd4b30e9ebbbb4409444b4482338b5.zip
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
Diffstat (limited to 'etc/nova/nova.conf.sample')
-rw-r--r--etc/nova/nova.conf.sample29
1 files changed, 21 insertions, 8 deletions
diff --git a/etc/nova/nova.conf.sample b/etc/nova/nova.conf.sample
index 569c2d391..29778a556 100644
--- a/etc/nova/nova.conf.sample
+++ b/etc/nova/nova.conf.sample
@@ -413,14 +413,6 @@
#
-# Options defined in nova.api.openstack
-#
-
-# Whether the V3 API is enabled or not
-#osapi_v3_enabled=False
-
-
-#
# Options defined in nova.api.openstack.common
#
@@ -2880,4 +2872,25 @@
#keymap=en-us
+[osapi_v3]
+
+#
+# Options defined in nova.api.openstack
+#
+
+# Whether the V3 API is enabled or not
+#enabled=False
+
+# If the list is not empty then a v3 API extension
+# will only be loaded if it exists in this list.
+# Specify the extension aliases here
+#extensions_whitelist=
+
+# A list of v3 API extensions to never load.
+# Specify the extension aliases here.
+# Note that if an extension is in both the blacklist and
+# and whitelist then it will not be loaded
+#extensions_blacklist=
+
+
# Total option count: 584