|
| 1 | +# |
| 2 | +# Sample DevStack local.conf for Neutron ML2 OVS. |
| 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 | + |
1 | 9 | [[local|localrc]] |
2 | | -ADMIN_PASSWORD=nomoresecret |
3 | | -DATABASE_PASSWORD=stackdb |
4 | | -RABBIT_PASSWORD=stackqueue |
5 | | -SERVICE_PASSWORD=$ADMIN_PASSWORD |
6 | | -LOGFILE=$DEST/logs/stack.sh.log |
7 | | -LOGDAYS=2 |
8 | | -SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5 |
9 | | -SWIFT_REPLICAS=1 |
10 | | -SWIFT_DATA_DIR=$DEST/data |
11 | | - |
12 | | -ENABLED_SERVICES=rabbit,mysql,key |
13 | | -ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cond,n-sch,placement-api,placement-client |
14 | | -ENABLED_SERVICES+=,g-api,g-reg |
15 | | -ENABLED_SERVICES+=,horizon |
16 | 10 |
|
17 | 11 | GIT_BASE=https://github.com |
18 | 12 |
|
19 | | -[[post-config|$NOVA_CONF]] |
| 13 | +DATABASE_PASSWORD=password |
| 14 | +RABBIT_PASSWORD=password |
| 15 | +SERVICE_PASSWORD=password |
| 16 | +SERVICE_TOKEN=password |
| 17 | +ADMIN_PASSWORD=password |
| 18 | + |
| 19 | +# If your stack get failed with error: "Could not determine host ip address. |
| 20 | +# See local.conf for suggestions on setting HOST_IP." Try to uncomment |
| 21 | +# this line to set the proper host IP. |
| 22 | +#HOST_IP=<CHANGE_TO_YOUR_HOST_IP> |
| 23 | + |
| 24 | +# Horizon (the web UI) is enabled by default. You may want to disable |
| 25 | +# it here to speed up DevStack a bit. |
| 26 | +enable_service horizon |
| 27 | +#disable_service horizon |
| 28 | + |
| 29 | +# Cinder (OpenStack Block Storage) is disabled by default to speed up |
| 30 | +# DevStack a bit. You may enable it here if you would like to use it. |
| 31 | +disable_service cinder c-sch c-api c-vol |
| 32 | + |
| 33 | +# Disable Tempest - The OpenStack Integration Test Suite. |
| 34 | +disable_service tempest |
| 35 | + |
| 36 | +# Disable OpenStack Swift - the object/blob store service. |
| 37 | +disable_service swift |
| 38 | + |
| 39 | +# Disable ML2 OVN plugin, driver and services |
| 40 | +disable_service ovn |
| 41 | +disable_service ovn-controller |
| 42 | +disable_service ovn-northd |
| 43 | +disable_service q-ovn-metadata-agent |
| 44 | + |
| 45 | +# Use openvswitch as the ml2 plugin driver |
| 46 | +Q_AGENT=openvswitch |
| 47 | + |
| 48 | +# Enable Neutron services neutron-server, neutron-openvswitch-agent, |
| 49 | +# neutron-dhcp-agent, neutron-l3-agent and neutron-metadata-agent |
| 50 | +enable_service q-svc |
| 51 | +enable_service q-agt |
| 52 | +enable_service q-dhcp |
| 53 | +enable_service q-l3 |
| 54 | +enable_service q-meta |
| 55 | + |
| 56 | +[[post-config|$NEUTRON_CONF]] |
| 57 | +[DEFAULT] |
| 58 | +debug = True |
| 59 | +verbose = True |
| 60 | + |
| 61 | +# Features available for ML2 OVS, uncomment to enforce DVR and L3 HA |
| 62 | +#router_distributed=True |
| 63 | +#l3_ha = True |
| 64 | + |
| 65 | +# You can add more config options here for neutron.conf |
| 66 | +# to achive more precise control of the functions for neutron server. |
| 67 | + |
| 68 | +[[post-config|/$Q_PLUGIN_CONF_FILE]] |
| 69 | +[ml2] |
| 70 | +type_drivers=flat,gre,vlan,vxlan |
| 71 | +tenant_network_types=vxlan |
| 72 | +mechanism_drivers=openvswitch,l2population |
| 73 | + |
| 74 | +[agent] |
| 75 | +tunnel_types=vxlan,gre |
| 76 | + |
| 77 | +# You can add more config options here for ml2_conf.ini, for instance |
| 78 | +# you can uncomment the followings to set the segment ID ranges for |
| 79 | +# various tenant network types. |
| 80 | + |
| 81 | +#[ml2_type_vxlan] |
| 82 | +#vni_ranges=1:10000 |
| 83 | + |
| 84 | +#[ml2_type_flat] |
| 85 | +#flat_networks = * |
| 86 | + |
| 87 | +#[ml2_type_gre] |
| 88 | +#tunnel_id_ranges = 1:10000 |
| 89 | + |
| 90 | +#[ml2_type_vlan] |
| 91 | +#network_vlan_ranges = tenant:1:1000 |
0 commit comments