summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-09-15 21:51:49 +0000
committerGerrit Code Review <review@openstack.org>2014-09-15 21:51:49 +0000
commitd2d648f46d55424b92e83c326a0ae617b9b2f889 (patch)
treede8416727f13d0a4caeec42f0ea0e7fccbbac33c
parent30de48f6d2ce16cc6dc2a3954a468ef30fe9a8a0 (diff)
parent648358509b6e4c101102d7a8b34ed02fb4a695b7 (diff)
downloadtrove-d2d648f46d55424b92e83c326a0ae617b9b2f889.tar.gz
Merge "Fix NoSuchOptError on Couchbase create"
-rw-r--r--trove/common/cfg.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/trove/common/cfg.py b/trove/common/cfg.py
index 3e6f23e7..b5c0bac3 100644
--- a/trove/common/cfg.py
+++ b/trove/common/cfg.py
@@ -404,6 +404,13 @@ redis_opts = [
'if trove_security_groups_support is True).'),
cfg.StrOpt('backup_strategy', default=None,
help='Default strategy to perform backups.'),
+ cfg.DictOpt('backup_incremental_strategy',
+ default={},
+ help='Incremental Backup Runner based on the default'
+ ' strategy. For strategies that do not implement an'
+ ' incremental, the runner will use the default full backup.',
+ deprecated_name='backup_incremental_strategy',
+ deprecated_group='DEFAULT'),
cfg.StrOpt('replication_strategy', default=None,
help='Default strategy for replication.'),
cfg.StrOpt('mount_point', default='/var/lib/redis',
@@ -430,6 +437,13 @@ cassandra_opts = [
'if trove_security_groups_support is True).'),
cfg.StrOpt('backup_strategy', default=None,
help='Default strategy to perform backups.'),
+ cfg.DictOpt('backup_incremental_strategy',
+ default={},
+ help='Incremental Backup Runner based on the default'
+ ' strategy. For strategies that do not implement an'
+ ' incremental, the runner will use the default full backup.',
+ deprecated_name='backup_incremental_strategy',
+ deprecated_group='DEFAULT'),
cfg.StrOpt('replication_strategy', default=None,
help='Default strategy for replication.'),
cfg.StrOpt('mount_point', default='/var/lib/cassandra',
@@ -458,6 +472,13 @@ couchbase_opts = [
'if trove_security_groups_support is True).'),
cfg.StrOpt('backup_strategy', default='CbBackup',
help='Default strategy to perform backups.'),
+ cfg.DictOpt('backup_incremental_strategy',
+ default={},
+ help='Incremental Backup Runner based on the default'
+ ' strategy. For strategies that do not implement an'
+ ' incremental, the runner will use the default full backup.',
+ deprecated_name='backup_incremental_strategy',
+ deprecated_group='DEFAULT'),
cfg.StrOpt('replication_strategy', default=None,
help='Default strategy for replication.'),
cfg.StrOpt('mount_point', default='/var/lib/couchbase',
@@ -493,6 +514,13 @@ mongodb_opts = [
'if trove_security_groups_support is True).'),
cfg.StrOpt('backup_strategy', default=None,
help='Default strategy to perform backups.'),
+ cfg.DictOpt('backup_incremental_strategy',
+ default={},
+ help='Incremental Backup Runner based on the default'
+ ' strategy. For strategies that do not implement an'
+ ' incremental, the runner will use the default full backup.',
+ deprecated_name='backup_incremental_strategy',
+ deprecated_group='DEFAULT'),
cfg.StrOpt('replication_strategy', default=None,
help='Default strategy for replication.'),
cfg.StrOpt('mount_point', default='/var/lib/mongodb',
@@ -540,6 +568,11 @@ postgresql_opts = [
'if trove_security_groups_support is True).'),
cfg.StrOpt('backup_strategy', default='PgDump',
help='Default strategy to perform backups.'),
+ cfg.DictOpt('backup_incremental_strategy',
+ default={},
+ help='Incremental Backup Runner based on the default'
+ ' strategy. For strategies that do not implement an'
+ ' incremental, the runner will use the default full backup.'),
cfg.StrOpt('mount_point', default='/var/lib/postgresql',
help="Filesystem path for mounting "
"volumes if volume support is enabled."),