1    #TODO: allow workers to pull this from cache
2
3RABBITMQ_IP = "127.0.0.1"
4RABBITMQ_LOG_LOCATION = ""
5CB_CLUSTER_TAG = "default"
6
7# Add location of cluster's .ini(from where this script is run) for installation
8CLUSTER_INI = ""
9CLUSTER_RAM_QUOTA = ""
10
11# Add cluster setup json path, templates in triple quoted strings
12SETUP_JSON = "tests/simple_setup.js"
13SETUP_TEMPLATES = [r"""--name "default" --kvpair '"email":"$str10@couchbase.com" ' \
14'"city":"$str5"' '"list":["$int1","$str1","$fl o1"]' '"map":{"sample" : "$str3", "complex" : "$fl o1", "val" : "$int2"}' \
15'"num":"$int"' '"fl o":"$fl o"' '"st":"$str"' '"li":"$lis"' '"di":"$dic"' '"b":"$boo"' --size 128 256 512"""]
16
17# Add main system test json path and doc templates in triple quoted strings
18TEST_JSON = "tests/simple.js"
19TEST_TEMPLATES = [r"""--name "default" --kvpair '"email":"$str10@couchbase.com" ' \
20'"city":"$str5"' '"list":["$int1","$str1","$fl o1"]' '"map":{"sample" : "$str3", "complex" : "$fl o1", "val" : "$int2"}' \
21'"num":"$int"' '"fl o":"$fl o"' '"st":"$str"' '"li":"$lis"' '"di":"$dic"' '"b":"$boo"' --size 128 256 512"""]
22
23OBJECT_CACHE_IP = "127.0.0.1"
24OBJECT_CACHE_PORT = "11911"
25
26# Add CBMonitor IP, absolute dir path and log location
27SERIESLY_IP = ''
28SERIESLY_LOCATION = "/opt/gocode/bin"
29CBMONITOR_HOME_DIR = "/root/cbmonitor"
30SERIESLY_DB_LOCATION = "/root/db"
31
32# Must-fill params
33COUCHBASE_IP = '127.0.0.1'
34COUCHBASE_PORT = '8091'
35COUCHBASE_USER = "Administrator"
36COUCHBASE_PWD = "password"
37COUCHBASE_OS = "linux" # linux|windows|unix
38COUCHBASE_SSH_USER = "root"
39COUCHBASE_SSH_PASSWORD = "couchbase"
40
41SSH_USER = "root"
42SSH_PASSWORD = "couchbase"
43WORKERS = ['127.0.0.1']
44# valid configs ["kv","query","admin"] or ["all"]
45WORKER_CONFIGS = ["all"]
46WORKER_PYSYSTESTS_PATH = "/root/systest-worker/testrunner/pysystests"
47
48# CHANGE THIS! to match all clusters will be managed by this worker
49# ex. CLUSTER_IPS = ["127.0.0.1:9000","127.0.0.1:9001","127.0.0.1:9002","127.0.0.1:9003"]
50CLUSTER_IPS = ["127.0.0.1:8091"]
51
52# xdcr config
53
54"""
55" pointer information to remote sites
56" remote1 = name for remote site
57" RABBITMQ_IP = broker managing remote site (can be same as local broker if using different vhosts)
58"               this should equal RABBITMQ_IP of remote site
59" CB_CLUSTER_TAG = represents vhost watched by workers remote site.
60"                  this should equal CB_CLUSTER_TAG of remote site
61" COUCHBASE_IP/PORT = IP/PORT of a couchbase node in remote site
62"
63" ex.
64" REMOTE_SITES = {"remote1" : {"RABBITMQ_IP" : "10.0.0.5",
65"                             "CB_CLUSTER_TAG" : "default",
66"                             "COUCHBASE_IP" : "10.0.0.10",
67"                             "COUCHBASE_PORT" : "9000"}}
68"""
69
70LOGDIR = "logs"  # relative to current dir
71
72
73#Backup Config
74ENABLE_BACKUPS = False
75BACKUP_DIR = "/tmp/backup"
76BACKUP_NODE_IP = "127.0.0.1"
77BACKUP_NODE_SSH_USER = "root"
78