|
...
|
...
|
@@ -187,7 +187,7 @@ services are started in background and managed by `swift-init` tool.
|
|
187
|
187
|
|
|
188
|
188
|
Basic Setup
|
|
189
|
189
|
|
|
190
|
|
-In order to enable Neutron a single node setup, you'll need the
|
|
|
190
|
+In order to enable Neutron in a single node setup, you'll need the
|
|
191
|
191
|
following settings in your `local.conf`:
|
|
192
|
192
|
|
|
193
|
193
|
disable_service n-net
|
|
...
|
...
|
@@ -197,47 +197,38 @@ following settings in your `local.conf`:
|
|
197
|
197
|
enable_service q-l3
|
|
198
|
198
|
enable_service q-meta
|
|
199
|
199
|
enable_service q-metering
|
|
200
|
|
- # Optional, to enable tempest configuration as part of DevStack
|
|
201
|
|
- enable_service tempest
|
|
202
|
200
|
|
|
203
|
201
|
Then run `stack.sh` as normal.
|
|
204
|
202
|
|
|
205
|
203
|
DevStack supports setting specific Neutron configuration flags to the
|
|
206
|
|
-service, Open vSwitch plugin and LinuxBridge plugin configuration files.
|
|
207
|
|
-To make use of this feature, the settings can be added to ``local.conf``.
|
|
208
|
|
-The old ``Q_XXX_EXTRA_XXX_OPTS`` variables are deprecated and will be removed
|
|
209
|
|
-in the near future. The ``local.conf`` headers for the replacements are:
|
|
210
|
|
-
|
|
211
|
|
-* ``Q_SRV_EXTRA_OPTS``:
|
|
|
204
|
+service, ML2 plugin, DHCP and L3 configuration files:
|
|
212
|
205
|
|
|
213
|
206
|
[[post-config|/$Q_PLUGIN_CONF_FILE]]
|
|
214
|
|
- [linuxbridge] # or [ovs]
|
|
|
207
|
+ [ml2]
|
|
|
208
|
+ mechanism_drivers=openvswitch,l2population
|
|
215
|
209
|
|
|
216
|
|
-Example extra config in `local.conf`:
|
|
|
210
|
+ [[post-config|$NEUTRON_CONF]]
|
|
|
211
|
+ [DEFAULT]
|
|
|
212
|
+ quota_port=42
|
|
217
|
213
|
|
|
218
|
|
- [[post-config|/$Q_PLUGIN_CONF_FILE]]
|
|
219
|
|
- [agent]
|
|
220
|
|
- tunnel_type=vxlan
|
|
221
|
|
- vxlan_udp_port=8472
|
|
|
214
|
+ [[post-config|$Q_L3_CONF_FILE]]
|
|
|
215
|
+ [DEFAULT]
|
|
|
216
|
+ agent_mode=legacy
|
|
222
|
217
|
|
|
223
|
|
- [[post-config|$NEUTRON_CONF]]
|
|
|
218
|
+ [[post-config|$Q_DHCP_CONF_FILE]]
|
|
224
|
219
|
[DEFAULT]
|
|
225
|
|
- tenant_network_type=vxlan
|
|
|
220
|
+ dnsmasq_dns_servers = 8.8.8.8,8.8.4.4
|
|
226
|
221
|
|
|
227
|
|
-DevStack also supports configuring the Neutron ML2 plugin. The ML2 plugin
|
|
228
|
|
-can run with the OVS, LinuxBridge, or Hyper-V agents on compute hosts. This
|
|
229
|
|
-is a simple way to configure the ml2 plugin:
|
|
|
222
|
+The ML2 plugin can run with the OVS, LinuxBridge, or Hyper-V agents on compute
|
|
|
223
|
+hosts. This is a simple way to configure the ml2 plugin:
|
|
230
|
224
|
|
|
231
|
225
|
# VLAN configuration
|
|
232
|
|
- Q_PLUGIN=ml2
|
|
233
|
226
|
ENABLE_TENANT_VLANS=True
|
|
234
|
227
|
|
|
235
|
228
|
# GRE tunnel configuration
|
|
236
|
|
- Q_PLUGIN=ml2
|
|
237
|
229
|
ENABLE_TENANT_TUNNELS=True
|
|
238
|
230
|
|
|
239
|
231
|
# VXLAN tunnel configuration
|
|
240
|
|
- Q_PLUGIN=ml2
|
|
241
|
232
|
Q_ML2_TENANT_NETWORK_TYPE=vxlan
|
|
242
|
233
|
|
|
243
|
234
|
The above will default in DevStack to using the OVS on each compute host.
|