diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2016-11-25 04:08:19 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2016-11-25 04:08:19 +0800 |
commit | cceecd6920ae01d99dafb46d225f69e4546f278b (patch) | |
tree | 2cc1f2a0f3504b453685b6a18e1dd460c6e55dda /deploy/compass_conf/setting | |
parent | 7c6a13e3457ce64d4b840e3816215f2a758ed0bc (diff) |
add compass-core conf/ into compass4nfv
JIRA: COMPASS-507
1.create deploy/compass_conf/ directory to keep local
compass-core conf/ files. build.sh will add it into
compass.iso
2.adjust conf files to support congress
Change-Id: I91dde6f62f2385d1289a5cf9a39eafce945a1bc7
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/compass_conf/setting')
-rwxr-xr-x | deploy/compass_conf/setting | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/deploy/compass_conf/setting b/deploy/compass_conf/setting new file mode 100755 index 00000000..a1e9bff2 --- /dev/null +++ b/deploy/compass_conf/setting @@ -0,0 +1,31 @@ +CONFIG_DIR = '/etc/compass' +DATABASE_TYPE = 'mysql' +DATABASE_USER = 'root' +DATABASE_PASSWORD = 'root' +DATABASE_SERVER = '127.0.0.1:3306' +DATABASE_NAME = 'compass' +SQLALCHEMY_DATABASE_URI = '%s://%s:%s@%s/%s' % (DATABASE_TYPE, DATABASE_USER, DATABASE_PASSWORD, DATABASE_SERVER, DATABASE_NAME) +SQLALCHEMY_DATABASE_POOL_TYPE = 'instant' +COBBLER_INSTALLATION_LOGDIR = '/var/log/cobbler/anamon' +CHEF_INSTALLATION_LOGDIR = '/var/log/chef' +DEFAULT_LOGLEVEL = 'info' +DEFAULT_LOGDIR = '/var/log/compass' +DEFAULT_LOGINTERVAL = 6 +DEFAULT_LOGINTERVAL_UNIT = 'h' +DEFAULT_LOGFORMAT = '%(asctime)s - %(filename)s - %(lineno)d - %(levelname)s - %(message)s' +WEB_LOGFILE = 'compass_web.log' +CELERY_LOGFILE = 'celery.log' +CELERYCONFIG_DIR = '/etc/compass' +CELERYCONFIG_FILE = 'celeryconfig' +PROGRESS_UPDATE_INTERVAL=30 +POLLSWITCH_INTERVAL=60 +SWITCHES = [ +] +TMPL_DIR = '/etc/compass/templates' +COMPASS_SUPPORTED_PROXY = 'http://$ipaddr:3128' +COMPASS_SUPPORTED_DEFAULT_NOPROXY = ['127.0.0.1','$ipaddr','$hostname'] +COMPASS_SUPPORTED_NTP_SERVER = '$ipaddr' +COMPASS_SUPPORTED_DNS_SERVERS = ['$ipaddr'] +COMPASS_SUPPORTED_DOMAINS = ['$domains'] +COMPASS_SUPPORTED_DEFAULT_GATEWAY = '$gateway' +COMPASS_SUPPORTED_LOCAL_REPO = 'http://$ipaddr' |