summaryrefslogtreecommitdiffstats
path: root/nova/flags.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/flags.py')
-rw-r--r--nova/flags.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/nova/flags.py b/nova/flags.py
index d669e23f9..fb73182cf 100644
--- a/nova/flags.py
+++ b/nova/flags.py
@@ -220,6 +220,9 @@ global_opts = [
cfg.BoolOpt('rabbit_durable_queues',
default=False,
help='use durable queues in RabbitMQ'),
+ cfg.BoolOpt('api_rate_limit',
+ default=True,
+ help='whether to rate limit the api'),
cfg.ListOpt('enabled_apis',
default=['ec2', 'osapi_compute', 'osapi_volume', 'metadata'],
help='a list of APIs to enable by default'),