/
common.env.sample
190 lines (161 loc) · 5.42 KB
/
common.env.sample
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# common.env.sample can be used to create common.env file.
# Use common.env file to change default settings.
# If exists it is executed by bash with source command during execution of other scripts.
# Save this sample file as common.env,
# uncomment required variables and set proper values.
# Values with lists in this file are comma-separated.
# ---
# Set this to simplify configuration of single node mode
# Default: IP of the NIC used as default gateway
#HOST_IP=10.0.2.15
# ---
# Set this to auto configure other variables only
# Default: $HOST_IP
#_CONTRAIL_REGISTRY_IP=10.0.2.15
# ---
# Contrail version to pull/tag containers, to get packages
# Default: 4.1.0.0-8
#CONTRAIL_VERSION=4.1.0.0-8
# ---
# Address of docker regisry to pull/push containers
# Default: $_CONTRAIL_REGISTRY_IP:5000
#CONTRAIL_REGISTRY=10.0.2.15:5000
# ---
# Contrail packages depends on OpenStack package.
# The version is used to download specific version
# of Contrail packages archive.
# Also the version is used to point to specific OpenStack repo.
#OPENSTACK_VERSION=ocata
# ---
# Url of rpm/deb repository to get Contrail packages
# Default: http://$_CONTRAIL_REGISTRY_IP/$CONTRAIL_VERSION-$OPENSTACK_VERSION
#CONTRAIL_REPOSITORY=http://10.0.2.15/contrail-$CONTRAIL_VERSION-$OPENSTACK_VERSION
# ---
# URL or file path to Contrails' install packages.
# It can be a rpm (as it present in Contrail's build system).
# Or it can be just a tar archive with packages.
# Example for centos:
# (version and os version will be used from CONTRAIL_VERSION and OPENSTACK_VERSION)
#CONTRAIL_INSTALL_PACKAGES_URL="https://s3-us-west-2.amazonaws.com/contrailrhel7/contrail-install-packages-4.1.0.0-6~ocata.el7.noarch.rpm"
# Example for ubuntu:
# (version and os version will be used from CONTRAIL_VERSION and OPENSTACK_VERSION)
#CONTRAIL_INSTALL_PACKAGES_URL=https://s3-us-west-2.amazonaws.com/contrailpkgs/contrail-packages_4.1.0.0-8-ocata.tgz
# ---
# List of IPs of controller nodes (config+control+web+analytics+all 3rd party services).
# If more granular tuning is required then redefine a particular
# type of node via appropriate _NODES (see below).
# Default: $HOST_IP
#CONTROLLER_NODES=10.0.2.15
# ---
# List of IPs of compute nodes (agent).
# Default: $CONTROLLER_NODES
#AGENT_NODES=10.0.2.15,10.0.2.16
# ---
# Lists of IPs of nodes dedicated to custom roles to use for K8s manifest
# Default: $HOST_IP
#CONFIG_NODES=10.0.2.15
#CONTROL_NODES=10.0.2.15
#CONFIGDB_NODES=10.0.2.15
#ZOOKEEPER_NODES=10.0.2.15
#RABBITMQ_NODES=10.0.2.15
#WEBUI_NODES=10.0.2.15
#CONTROL_NODES=10.0.2.15
#ANALYTICS_NODES=10.0.2.15
#ANALYTICSDB_NODES=10.0.2.15
#REDIS_NODES=10.0.2.15
#KAFKA_NODES=10.0.2.15
# ---
# Zookeeper client ports range
# by default it's 2888:3888
# ZOOKEEPER_PORTS=2888:3888
# ---
# RabbitMQ Port used for inter-node and CLI tool communition.
# RABBITMQ_NODE_PORT=5672
# ---
# VIP addresses of Contrail services
# Default: first IP of appropriate list
#ANALYTICS_API_VIP=10.0.2.15
#CONFIG_API_VIP=10.0.2.15
#WEBUI_VIP=10.0.2.15
# ---
# Physical network parameter to setup Contrail on
# Default: NIC & gateway are used as in default route
#PHYSICAL_INTERFACE=
#VROUTER_GATEWAY=
# ---
# BGB options
# Cluster ASN number
#BGP_ASN=64512
# AUto mesh option
#BGP_AUTO_MESH='true'
# ---
# RNDC key for Contrail DNS and Contrail named services
#RNDC_KEY="xvysmOR8lnUQRBcunkC6vg=="
# ---
# Level of logging
#LOG_LEVEL=SYS_NOTICE
# ---
# Authentication parameters
# CLOUD_ORCHESTRATOR is an orchestration system.
# for now could be none / openstack
#CLOUD_ORCHESTRATOR='none'
# AUTH_MODE could be noauth / keystone. It'll be set to keystone
# automatically if CLOUD_ORCHESTRATOR is openstack.
#AUTH_MODE='noauth'
# AAA_MODE could be no-auth / cloud-admin / rbac
#AAA_MODE='no-auth'
# ---
# Address of K8S API server
#KUBERNETES_API_SERVER=$DEFAULT_LOCAL_IP
# ---
# Map of Kubernetes node names on their IP addresses used for Contrail.
# May be useful for multi-NICs servers.
# Default: none (autodetection)
#declare -A KUBERNETES_NODES_MAP=(
# ["ip-172-31-24-31.ec2.internal"]=172.31.24.31
# ["ip-172-31-32-215.ec2.internal"]=172.31.32.215
#)
# Address of test docker regisry to pull base test containers
# Default: $CONTRAIL_REGISTRY
# CONTRAIL_TEST_REGISTRY=docker.io/opencontrail
# Enable BUILD_TEST_CONTAINER to build test containers
# Default: 0
# BUILD_TEST_CONTAINER=0
# ---
# Target platform to build
# By default is equal to the OS where the build process is run,
# Allowed values: centos, ubuntu
#LINUX_DISTR=
# The linux version, default value is:
# - 7.4.1708 if LINUX_DISTR=centos
# - 16.04 if LINUX_DISTR=ubuntu
#LINUX_DISTR_VER=
# ---
# Agent mode. For DPDK case should be set to 'dpdk'.
#AGENT_MODE=${AGENT_MODE:-'nic'}
# ---
# Cpu coremask, it is used for DPDK mode for cores pinning
#CPU_CORE_MASK='0x01'
# ---
# Number of huge pages to be set if provided
# (optional)
#HUGE_PAGES=1024
# ---
# DPDK UIO driver
#DPDK_UIO_DRIVER='uio_pci_generic'
# ---
# TLS
#SERVER_CERT=${XMPP_SERVER_CERT:-'/etc/contrail/ssl/certs/server.pem'}
#SERVER_KEY=${XMPP_SERVER_KEY:-'/etc/contrail/ssl/private/server-privkey.pem'}
#SERVER_CA_CERT=${XMPP_SERVER_CA_CERT:-'/etc/contrail/ssl/certs/ca-cert.pem'}
#
#XMPP_SSL_ENABLE=False
#XMPP_SERVER_CERT=${SERVER_CERT}
#XMPP_SERVER_KEY=${SERVER_KEY}
#XMPP_SERVER_CA_CERT=${SERVER_CA_CERT}
#
#SANDESH_SSL_ENABLE=${SANDESH_SSL_ENABLE:-False}
#INTROSPECT_SSL_ENABLE=${INTROSPECT_SSL_ENABLE:-False}
#SANDESH_KEYFILE=${SERVER_KEY}
#SANDESH_CERTFILE=${SERVER_CERT}
#SANDESH_CA_CERT=${SERVER_CA_CERT}