3e0cce8f49
For the nodes other than service host, only enable zun-compute. q-agt and kuryr is also required to provide network connection, which need to be specified in local.conf. Change-Id: I78055c75ad545cf8809dae973d1180dce2ecf77f Closes-Bug: #1691606
30 lines
668 B
Plaintext
30 lines
668 B
Plaintext
# Devstack settings
|
|
|
|
## Modify to your environment
|
|
# FLOATING_RANGE=192.168.1.224/27
|
|
# PUBLIC_NETWORK_GATEWAY=192.168.1.225
|
|
# PUBLIC_INTERFACE=em1
|
|
# FIXED_RANGE=10.0.0.0/24
|
|
## Log all output to files
|
|
# LOGFILE=$HOME/devstack.log
|
|
# SCREEN_LOGDIR=$HOME/logs
|
|
## Neutron settings
|
|
# Q_USE_SECGROUP=True
|
|
# ENABLE_TENANT_VLANS=True
|
|
# TENANT_VLAN_RANGE=
|
|
# PHYSICAL_NETWORK=public
|
|
# OVS_PHYSICAL_BRIDGE=br-ex
|
|
|
|
# Enable Zun services
|
|
if [[ ${HOST_IP} == ${SERVICE_HOST} ]]; then
|
|
enable_service zun-api
|
|
enable_service zun-compute
|
|
enable_service zun-wsproxy
|
|
else
|
|
enable_service zun-compute
|
|
fi
|
|
|
|
if [[ ${ZUN_DB_TYPE} == "etcd" ]]; then
|
|
enable_service zun-etcd
|
|
fi
|