summaryrefslogtreecommitdiff
path: root/oslo_db/options.py
diff options
context:
space:
mode:
authoroorgeron <octave.orgeron@oracle.com>2017-01-27 15:00:56 -0700
committeroorgeron <octave.orgeron@oracle.com>2017-06-26 10:33:01 -0600
commitc5db636d4e4b20346061caf86729bc9299c62754 (patch)
tree2930d16769a48a0190e0247983d6e850805ffb30 /oslo_db/options.py
parentd5f1f288a456d89fb9f91e0fe41b962c358ded1a (diff)
downloadoslo-db-c5db636d4e4b20346061caf86729bc9299c62754.tar.gz
Enable MySQL Storage Engine selection
Enables new functionality for selecting InnoDB or MySQL Cluster as a DB storage backend in OpenStack services. Closes-Bug: 1564110 Change-Id: I9f1fd2a87fdf75332de2339d3ff4f08ce9220dcf
Diffstat (limited to 'oslo_db/options.py')
-rw-r--r--oslo_db/options.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/oslo_db/options.py b/oslo_db/options.py
index 1ce2381..824661f 100644
--- a/oslo_db/options.py
+++ b/oslo_db/options.py
@@ -44,6 +44,10 @@ database_opts = [
'server-set SQL mode. To use whatever SQL mode '
'is set by the server configuration, '
'set this to no value. Example: mysql_sql_mode='),
+ cfg.BoolOpt('mysql_enable_ndb',
+ default=False,
+ help='If True, transparently enables support for handling '
+ 'MySQL Cluster (NDB).'),
cfg.IntOpt('idle_timeout',
default=3600,
deprecated_opts=[cfg.DeprecatedOpt('sql_idle_timeout',