Browse code

Update Neutron section in README

Change-Id: Ic4b354a587a1d5f83037fb5250e8e5c9cfe6d48c

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