| 1 |
# |
| 2 |
# Sample DevStack local.conf. |
| 3 |
# |
| 4 |
# This sample file is intended to be used for your typical DevStack environment |
| 5 |
# that's running all of OpenStack on a single host. This can also be used as |
| 6 |
# the first host of a multi-host test environment. |
| 7 |
# |
| 8 |
# No changes to this sample configuration are required for this to work. |
| 9 |
# |
| 10 |
|
| 11 |
[[local|localrc]] |
| 12 |
|
| 13 |
DATABASE_PASSWORD=password |
| 14 |
RABBIT_PASSWORD=password |
| 15 |
SERVICE_PASSWORD=password |
| 16 |
SERVICE_TOKEN=password |
| 17 |
ADMIN_PASSWORD=password |
| 18 |
|
| 19 |
Q_AGENT=ovn |
| 20 |
Q_ML2_PLUGIN_MECHANISM_DRIVERS=ovn,logger |
| 21 |
Q_ML2_PLUGIN_TYPE_DRIVERS=local,flat,vlan,geneve |
| 22 |
Q_ML2_TENANT_NETWORK_TYPE="geneve" |
| 23 |
|
| 24 |
# Enable devstack spawn logging |
| 25 |
LOGFILE=$DEST/logs/stack.sh.log |
| 26 |
|
| 27 |
enable_service ovn-northd |
| 28 |
enable_service ovn-controller |
| 29 |
enable_service q-ovn-metadata-agent |
| 30 |
|
| 31 |
# Use Neutron |
| 32 |
enable_service q-svc |
| 33 |
|
| 34 |
# Disable Neutron agents not used with OVN. |
| 35 |
disable_service q-agt |
| 36 |
disable_service q-l3 |
| 37 |
disable_service q-dhcp |
| 38 |
disable_service q-meta |
| 39 |
|
| 40 |
# Enable services, these services depend on neutron plugin. |
| 41 |
enable_plugin neutron https://opendev.org/openstack/neutron |
| 42 |
enable_service q-trunk |
| 43 |
enable_service q-dns |
| 44 |
enable_service q-port-forwarding |
| 45 |
enable_service q-qos |
| 46 |
enable_service neutron-segments |
| 47 |
enable_service q-log |
| 48 |
|
| 49 |
# Horizon (the web UI) is enabled by default. You may want to disable |
| 50 |
# it here to speed up DevStack a bit. |
| 51 |
#enable_service horizon |
| 52 |
disable_service horizon |
| 53 |
|
| 54 |
# Cinder (OpenStack Block Storage) is disabled by default to speed up |
| 55 |
# DevStack a bit. You may enable it here if you would like to use it. |
| 56 |
disable_service cinder c-sch c-api c-vol |
| 57 |
#enable_service cinder c-sch c-api c-vol |
| 58 |
|
| 59 |
# Enable SSL/TLS |
| 60 |
ENABLE_TLS=True |
| 61 |
enable_service tls-proxy |
| 62 |
|
| 63 |
# Enable ovn-bgp-agent |
| 64 |
enable_plugin ovn-bgp-agent https://opendev.org/openstack/ovn-bgp-agent |
| 65 |
|
| 66 |
|
| 67 |
# Whether or not to build custom openvswitch kernel modules from the ovs git |
| 68 |
# tree. This is disabled by default. This is required unless your distro kernel |
| 69 |
# includes ovs+conntrack support. This support was first released in Linux 4.3, |
| 70 |
# and will likely be backported by some distros. |
| 71 |
# NOTE(mjozefcz): We need to compile the module for Ubuntu Bionic, because default |
| 72 |
# shipped kernel module doesn't openflow meter action support. |
| 73 |
OVN_BUILD_MODULES=True |
| 74 |
OVN_BUILD_FROM_SOURCE=true |
| 75 |
OVN_BRANCH=main |
| 76 |
OVS_BRANCH=branch-3.4 |
| 77 |
|
| 78 |
|
| 79 |
# If the admin wants to enable this chassis to host gateway routers for |
| 80 |
# external connectivity, then set ENABLE_CHASSIS_AS_GW to True. |
| 81 |
# Then devstack will set ovn-cms-options with enable-chassis-as-gw |
| 82 |
# in Open_vSwitch table's external_ids column. |
| 83 |
# If this option is not set on any chassis, all the of them with bridge |
| 84 |
# mappings configured will be eligible to host a gateway. |
| 85 |
ENABLE_CHASSIS_AS_GW=True |
| 86 |
|
| 87 |
[[post-config|$NOVA_CONF]] |
| 88 |
[scheduler] |
| 89 |
discover_hosts_in_cells_interval = 2 |