aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/conf/compass.conf
blob: 8a3bb3a36e933ae40dadeefdd6b2835c359b515c (plain)
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
export COMPASS_VIRT_CPUS=4
export COMPASS_VIRT_MEM=4096
export COMPASS_SERVER=$INSTALL_IP
export COMPASS_DECK_PORT="5050"
export COMPASS_SERVER_URL="http://$INSTALL_IP:$COMPASS_DECK_PORT/api"
export HTTP_SERVER_URL="http://$INSTALL_IP:$COMPASS_DECK_PORT/api"
export COMPASS_USER_EMAIL="admin@huawei.com"
export COMPASS_USER_PASSWORD="admin"
export COMPASS_DNS1=${COMPASS_DNS1:-'8.8.8.8'}
export COMPASS_DNS2=${COMPASS_DNS2:-}
export COMPASS_EXTERNAL_IP=${COMPASS_EXTERNAL_IP:-}
export COMPASS_EXTERNAL_MASK=${COMPASS_EXTERNAL_MASK:-}
export COMPASS_EXTERNAL_GW=${COMPASS_EXTERNAL_GW:-}
export LANGUAGE="EN"
export TIMEZONE="America/Los_Angeles"
export NTP_SERVER="$COMPASS_SERVER"
export NAMESERVERS=${USER_NAMESERVER:-"$COMPASS_SERVER"}
export COMPASS_REPO_PORT="5151"
export OFFLINE_DEPLOY=${OFFLINE_DEPLOY:-'Disable'}

# Set docker registry for architectures other than x86_64
COMPASS_DOCKER_REPO=${COMPASS_DOCKER_REPO:-compass4nfv}

export COMPASS_DECK="$COMPASS_DOCKER_REPO/compass-deck"
# export COMPASS_TASKS="$COMPASS_DOCKER_REPO/compass-tasks-osa:euphrates"
export COMPASS_TASKS="yifei0van0xue/compass-tasks-osa"

if [[ "x"$KUBERNETES_VERSION != "x" ]]; then
  export COMPASS_TASKS="$COMPASS_DOCKER_REPO/compass-tasks-k8s"
fi

# export COMPASS_COBBLER="$COMPASS_DOCKER_REPO/compass-cobbler"
export COMPASS_DB="$COMPASS_DOCKER_REPO/compass-db"
export COMPASS_MQ="$COMPASS_DOCKER_REPO/compass-mq"
export COMPASS_REPO="$COMPASS_DOCKER_REPO/compass-repo-osa-ubuntu:euphrates"
export COMPASS_COBBLER="yifei0van0xue/compass-cobbler"