-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathenv.template
46 lines (38 loc) · 1.27 KB
/
env.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# -*- conf -*-
# SDX Controller settings.
SDX_HOST=localhost
SDX_PORT=8080
SDX_NAME=sdx-controller-test
# Message queue settings for SDX Controller.
MQ_HOST=aw-sdx-monitor.renci.org
MQ_PORT=5672
MQ_USER=guest
MQ_PASS=guest
SUB_QUEUE=oxp_update
# MongoDB settings for SDX Controller.
MONGO_INITDB_ROOT_USERNAME=guest
MONGO_INITDB_ROOT_PASSWORD=guest
# To run tests locally (with tox), localhost is convenient as
# MONGO_HOST; for Docker Compose, we hard-code the container name in
# the compose file.
MONGO_HOST=localhost
MONGO_PORT=27017
MONGO_USER=guest
MONGO_PASS=guest
# # Alternative to specifying the above variables for accessing
# # MongoDB, you can unset MONGO_HOST etc and use MONGODB_CONNSTRING
# # instead. This appears to be useful when using a MongoDB replica
# # set. See https://github.com/atlanticwave-sdx/sdx-lc/issues/153.
# MONGODB_CONNSTRING=mongodb://guest:guest@localhost:27017/
DB_NAME=sdx-controllder-test-db
DB_CONFIG_TABLE_NAME=sdx-controller-test-table
# Elastic Search for BAPM Server.
ES_HOST=localhost
ES_PORT=9200
# Message queue settings for BAPM Server.
BAPM_MQ_HOST=amqp://guest:guest@aw-sdx-monitor.renci.org:5672/%2F
BAPM_EXCHANGE=measurement
BAPM_QUEUE=sdx_q_measurement
BAPM_ROUTING_KEY=measurement.bapm
# Save log to file
LOG_FILE=sdx-controller.log