
devstack [1] bash code requires using True and False instead of true and false [1] https://opendev.org/openstack/devstack Change-Id: Ic5fe9fd2141423b45870479e9107e766a3554288
102 lines
2.5 KiB
Plaintext
102 lines
2.5 KiB
Plaintext
[[local|localrc]]
|
|
ADMIN_PASSWORD=secret
|
|
DATABASE_PASSWORD=$ADMIN_PASSWORD
|
|
KEYSTONE_ADMIN_ENDPOINT=True
|
|
RABBIT_PASSWORD=$ADMIN_PASSWORD
|
|
SERVICE_PASSWORD=$ADMIN_PASSWORD
|
|
|
|
LOGFILE=/opt/stack/devstack/stack.log
|
|
VERBOSE=True
|
|
LOG_COLOR=True
|
|
|
|
# Enable required services ----------------------------------------------------
|
|
enable_service key
|
|
enable_service mysql
|
|
enable_service placement-api
|
|
enable_service placement-client
|
|
enable_service rabbit
|
|
|
|
# Disable unrequired services -------------------------------------------------
|
|
disable_service horizon
|
|
disable_service tempest
|
|
|
|
# Configure Nova --------------------------------------------------------------
|
|
enable_service n-api
|
|
enable_service n-api-meta
|
|
enable_service n-cond
|
|
enable_service n-cpu
|
|
enable_service n-crt
|
|
enable_service n-sch
|
|
enable_service n-sproxy
|
|
|
|
# Configure Neutron -----------------------------------------------------------
|
|
enable_plugin neutron https://opendev.org/openstack/neutron.git
|
|
enable_service neutron
|
|
enable_service q-agt
|
|
enable_service q-dhcp
|
|
enable_service q-l3
|
|
enable_service q-log
|
|
enable_service q-meta
|
|
enable_service q-qos
|
|
enable_service q-svc
|
|
|
|
HOST_IP=192.168.56.10
|
|
IP_VERSION=4
|
|
Q_PLUGIN=ml2
|
|
Q_AGENT=openvswitch
|
|
Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch
|
|
Q_ML2_PLUGIN_TYPE_DRIVERS=vlan,flat,local
|
|
Q_ML2_TENANT_NETWORK_TYPE=vlan
|
|
# ENABLE_TENANT_TUNNELS=True
|
|
ENABLE_TENANT_VLANS=True
|
|
|
|
|
|
# Configure Glance ------------------------------------------------------------
|
|
enable_service g-api
|
|
|
|
# Configure Cinder ------------------------------------------------------------
|
|
enable_service c-api
|
|
enable_service c-sch
|
|
enable_service c-vol
|
|
|
|
# Configure Heat --------------------------------------------------------------
|
|
enable_plugin heat https://opendev.org/openstack/heat.git
|
|
|
|
# Configure Tobiko ------------------------------------------------------------
|
|
enable_plugin devstack-plugin-tobiko https://opendev.org/x/devstack-plugin-tobiko.git
|
|
|
|
TOBIKO_NEUTRON_IPV4_DNS_NAMESERVERS=1.1.1.1,8.8.8.8
|
|
|
|
|
|
# Settings for DVR networking -------------------------------------------------
|
|
|
|
[[post-config|$NEUTRON_CONF]]
|
|
[DEFAULT]
|
|
router_distributed=True
|
|
|
|
[[post-config|/$Q_PLUGIN_CONF_FILE]]
|
|
[ml2]
|
|
type_drivers=flat,vlan,vxlan
|
|
tenant_network_types=vxlan
|
|
mechanism_drivers=openvswitch,l2population
|
|
|
|
[ml2_type_vxlan]
|
|
vni_ranges=1000:1999
|
|
|
|
[ovs]
|
|
local_ip=$HOST_IP
|
|
|
|
[agent]
|
|
tunnel_types=vxlan
|
|
l2_population=True
|
|
enable_distributed_routing=True
|
|
|
|
[[post-config|$Q_L3_CONF_FILE]]
|
|
[DEFAULT]
|
|
agent_mode=dvr_snat
|
|
router_delete_namespaces=True
|
|
|
|
[[post-config|$Q_DHCP_CONF_FILE]]
|
|
[DEFAULT]
|
|
dhcp_delete_namespaces=True
|