summaryrefslogtreecommitdiff
path: root/trove/common/template.py
diff options
context:
space:
mode:
authorPetr Malik <pmalik@tesora.com>2015-04-15 10:52:42 -0400
committerPetr Malik <pmalik@tesora.com>2016-02-12 16:01:31 -0500
commit2ff19458c9db12aa29a76fb21450cd1865fcc3ae (patch)
tree5682260cd9f5f3d0cb90c45f9ad032df15bcb000 /trove/common/template.py
parent01ff9529415ae46a5a8b2d3fa9981cb80e99cd5c (diff)
downloadtrove-2ff19458c9db12aa29a76fb21450cd1865fcc3ae.tar.gz
Implement Cassandra Configuration Groups
Implement configuration groups for Cassandra 2.1. The configuration template was taken from a default installation of Cassandra. A few changes have been made (and documented in the template) to disable snapshot-related features. Trove currently does not provide any support for guestagent-local snapshots. They may be used internally and/or removed by backup implementations. The operator would be also required to have remote access to the filesystem - a feature currently not supported by Trove. Changes have also been made to default authenticator/authorizer which are necessary to enable user functions. An effort has been made to make most settings configurable. Exceptions include the above mentioned and RPC/filesystem -related properties - options that may, when misconfigured, easily render the instance inaccessible by Trove. Notes on Cassandra configuration file: Cassandra uses a YAML configuration file. Changes made to this file are applied after node restart. Implements: blueprint cassandra-configuration-groups Change-Id: I9b421f8cb22fbd30b4263469bd96ceeee553fc68
Diffstat (limited to 'trove/common/template.py')
-rw-r--r--trove/common/template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/trove/common/template.py b/trove/common/template.py
index 25dc1fd8..6083f60b 100644
--- a/trove/common/template.py
+++ b/trove/common/template.py
@@ -29,12 +29,12 @@ LOG = logging.getLogger(__name__)
ENV = utils.ENV
-# TODO(cp16net) Maybe this should be moved to a config dict
SERVICE_PARSERS = {
'mongodb': configurations.MongoDBConfParser,
'mysql': configurations.MySQLConfParser,
'percona': configurations.MySQLConfParser,
'postgresql': configurations.PostgresqlConfParser,
+ 'cassandra': configurations.CassandraConfParser,
'redis': configurations.RedisConfParser,
}