Per datastore volume support

Implements blueprint: per-datastore-volume-support

Introduces volume support on a datastore basis using
config values in datastore config groups.

DocImpact: New config values device_path and volume_support
for each datastore have been added, instead of the DEFAULT
conf section.

Change-Id: I871cbed1f825d719b189f71a3ff2c748fb8abdc0
This commit is contained in:
Iccha Sethi
2014-07-11 10:59:11 -05:00
parent 5f98abb9df
commit 2d12d7a2d0
16 changed files with 158 additions and 57 deletions

View File

@@ -188,14 +188,27 @@ pydev_debug = disabled
# Format (single port or port range): A, B-C
# where C greater than B
tcp_ports = 3306
volume_support = True
device_path = /dev/vdb
[redis]
# Format (single port or port range): A, B-C
# where C greater than B
tcp_ports = 6379
# redis uses local storage
volume_support = False
# default device_path = None
[cassandra]
tcp_ports = 7000, 7001, 9042, 9160
volume_support = True
device_path = /dev/vdb
[couchbase]
tcp_ports = 8091, 8092, 4369, 11209-11211, 21100-21199
volume_support = True
device_path = /dev/vdb
[mongodb]
volume_support = True
device_path = /dev/vdb

View File

@@ -193,12 +193,25 @@ root_on_create = False
# Format (single port or port range): A, B-C
# where C greater than B
tcp_ports = 3306
volume_support = True
device_path = /dev/vdb
[redis]
tcp_ports = 6379
#redis uses local storage
volume_support = False
# default device_path = None
[cassandra]
tcp_ports = 7000, 7001, 9042, 9160
volume_support = True
device_path = /dev/vdb
[couchbase]
tcp_ports = 8091, 8092, 4369, 11209-11211, 21100-21199
volume_support = True
device_path = /dev/vdb
[mongodb]
volume_support = True
device_path = /dev/vdb

View File

@@ -137,6 +137,27 @@ control_exchange = trove
paste_config_file=api-paste.ini.test
[mysql]
volume_support = True
device_path = /dev/vdb
[redis]
# redis uses local storage
volume_support = False
# default device_path = None
[cassandra]
volume_support = True
device_path = /dev/vdb
[couchbase]
volume_support = True
device_path = /dev/vdb
[mongodb]
volume_support = True
device_path = /dev/vdb
[composite:trove]
use = call:trove.common.wsgi:versioned_urlmap
/: versions