Browse code

README.md reformatting.

Break the very long lines into less than 80 characters long lines.

Change-Id: I40deb0f2b6170308fe192971a3edbf48ca6190ad

Radoslaw Smigielski authored on 2014/05/14 20:36:29
Showing 1 changed files
... ...
@@ -2,11 +2,16 @@ DevStack is a set of scripts and utilities to quickly deploy an OpenStack cloud.
2 2
 
3 3
 # Goals
4 4
 
5
-* To quickly build dev OpenStack environments in a clean Ubuntu or Fedora environment
6
-* To describe working configurations of OpenStack (which code branches work together?  what do config files look like for those branches?)
7
-* To make it easier for developers to dive into OpenStack so that they can productively contribute without having to understand every part of the system at once
5
+* To quickly build dev OpenStack environments in a clean Ubuntu or Fedora
6
+  environment
7
+* To describe working configurations of OpenStack (which code branches
8
+  work together?  what do config files look like for those branches?)
9
+* To make it easier for developers to dive into OpenStack so that they can
10
+  productively contribute without having to understand every part of the
11
+  system at once
8 12
 * To make it easy to prototype cross-project features
9
-* To provide an environment for the OpenStack CI testing on every commit to the projects
13
+* To provide an environment for the OpenStack CI testing on every commit
14
+  to the projects
10 15
 
11 16
 Read more at http://devstack.org.
12 17
 
... ...
@@ -42,12 +47,14 @@ your VM.  To start a dev cloud run the following NOT AS ROOT (see
42 42
 
43 43
     ./stack.sh
44 44
 
45
-When the script finishes executing, you should be able to access OpenStack endpoints, like so:
45
+When the script finishes executing, you should be able to access OpenStack
46
+endpoints, like so:
46 47
 
47 48
 * Horizon: http://myhost/
48 49
 * Keystone: http://myhost:5000/v2.0/
49 50
 
50
-We also provide an environment file that you can use to interact with your cloud via CLI:
51
+We also provide an environment file that you can use to interact with your
52
+cloud via CLI:
51 53
 
52 54
     # source openrc file to load your environment with OpenStack CLI creds
53 55
     . openrc
... ...
@@ -63,7 +70,12 @@ If the EC2 API is your cup-o-tea, you can create credentials and use euca2ools:
63 63
 
64 64
 # DevStack Execution Environment
65 65
 
66
-DevStack runs rampant over the system it runs on, installing things and uninstalling other things.  Running this on a system you care about is a recipe for disappointment, or worse.  Alas, we're all in the virtualization business here, so run it in a VM.  And take advantage of the snapshot capabilities of your hypervisor of choice to reduce testing cycle times.  You might even save enough time to write one more feature before the next feature freeze...
66
+DevStack runs rampant over the system it runs on, installing things and
67
+uninstalling other things.  Running this on a system you care about is a recipe
68
+for disappointment, or worse.  Alas, we're all in the virtualization business
69
+here, so run it in a VM.  And take advantage of the snapshot capabilities
70
+of your hypervisor of choice to reduce testing cycle times.  You might even save
71
+enough time to write one more feature before the next feature freeze...
67 72
 
68 73
 ``stack.sh`` needs to have root access for a lot of tasks, but uses ``sudo``
69 74
 for all of those tasks.  However, it needs to be not-root for most of its
... ...
@@ -93,7 +105,8 @@ See the **Local Configuration** section below for more details.
93 93
 
94 94
 # Database Backend
95 95
 
96
-Multiple database backends are available. The available databases are defined in the lib/databases directory.
96
+Multiple database backends are available. The available databases are defined
97
+in the lib/databases directory.
97 98
 `mysql` is the default database, choose a different one by putting the
98 99
 following in the `localrc` section:
99 100
 
... ...
@@ -235,10 +248,14 @@ To change this, set the `Q_AGENT` variable to the agent you want to run
235 235
 (e.g. linuxbridge).
236 236
 
237 237
     Variable Name                    Notes
238
-    -------------------------------------------------------------------------------------
239
-    Q_AGENT                          This specifies which agent to run with the ML2 Plugin (either `openvswitch` or `linuxbridge`).
240
-    Q_ML2_PLUGIN_MECHANISM_DRIVERS   The ML2 MechanismDrivers to load. The default is none. Note, ML2 will work with the OVS and LinuxBridge agents by default.
241
-    Q_ML2_PLUGIN_TYPE_DRIVERS        The ML2 TypeDrivers to load. Defaults to all available TypeDrivers.
238
+    ----------------------------------------------------------------------------
239
+    Q_AGENT                          This specifies which agent to run with the
240
+                                     ML2 Plugin (either `openvswitch` or `linuxbridge`).
241
+    Q_ML2_PLUGIN_MECHANISM_DRIVERS   The ML2 MechanismDrivers to load. The default
242
+                                     is none. Note, ML2 will work with the OVS
243
+                                     and LinuxBridge agents by default.
244
+    Q_ML2_PLUGIN_TYPE_DRIVERS        The ML2 TypeDrivers to load. Defaults to
245
+                                     all available TypeDrivers.
242 246
     Q_ML2_PLUGIN_GRE_TYPE_OPTIONS    GRE TypeDriver options. Defaults to none.
243 247
     Q_ML2_PLUGIN_VXLAN_TYPE_OPTIONS  VXLAN TypeDriver options. Defaults to none.
244 248
     Q_ML2_PLUGIN_VLAN_TYPE_OPTIONS   VLAN TypeDriver options. Defaults to none.
... ...
@@ -262,14 +279,16 @@ you'll need the following settings in your `localrc` section:
262 262
 
263 263
 # Tempest
264 264
 
265
-If tempest has been successfully configured, a basic set of smoke tests can be run as follows:
265
+If tempest has been successfully configured, a basic set of smoke
266
+tests can be run as follows:
266 267
 
267 268
     $ cd /opt/stack/tempest
268 269
     $ nosetests tempest/scenario/test_network_basic_ops.py
269 270
 
270 271
 # DevStack on Xenserver
271 272
 
272
-If you would like to use Xenserver as the hypervisor, please refer to the instructions in `./tools/xen/README.md`.
273
+If you would like to use Xenserver as the hypervisor, please refer
274
+to the instructions in `./tools/xen/README.md`.
273 275
 
274 276
 # Additional Projects
275 277
 
... ...
@@ -283,8 +302,10 @@ for more information.
283 283
 
284 284
 # Multi-Node Setup
285 285
 
286
-A more interesting setup involves running multiple compute nodes, with Neutron networks connecting VMs on different compute nodes.
287
-You should run at least one "controller node", which should have a `stackrc` that includes at least:
286
+A more interesting setup involves running multiple compute nodes, with Neutron
287
+networks connecting VMs on different compute nodes.
288
+You should run at least one "controller node", which should have a `stackrc`
289
+that includes at least:
288 290
 
289 291
     disable_service n-net
290 292
     enable_service q-svc
... ...
@@ -299,7 +320,8 @@ will balance VMs across hosts:
299 299
 
300 300
     SCHEDULER=nova.scheduler.simple.SimpleScheduler
301 301
 
302
-You can then run many compute nodes, each of which should have a `stackrc` which includes the following, with the IP address of the above controller node:
302
+You can then run many compute nodes, each of which should have a `stackrc`
303
+which includes the following, with the IP address of the above controller node:
303 304
 
304 305
     ENABLED_SERVICES=n-cpu,rabbit,g-api,neutron,q-agt
305 306
     SERVICE_HOST=[IP of controller node]
... ...
@@ -310,22 +332,31 @@ You can then run many compute nodes, each of which should have a `stackrc` which
310 310
 
311 311
 # Cells
312 312
 
313
-Cells is a new scaling option with a full spec at http://wiki.openstack.org/blueprint-nova-compute-cells.
313
+Cells is a new scaling option with a full spec at:
314
+http://wiki.openstack.org/blueprint-nova-compute-cells.
314 315
 
315 316
 To setup a cells environment add the following to your `localrc` section:
316 317
 
317 318
     enable_service n-cell
318 319
 
319
-Be aware that there are some features currently missing in cells, one notable one being security groups.  The exercises have been patched to disable functionality not supported by cells.
320
+Be aware that there are some features currently missing in cells, one notable
321
+one being security groups.  The exercises have been patched to disable
322
+functionality not supported by cells.
320 323
 
321 324
 
322 325
 # Local Configuration
323 326
 
324
-Historically DevStack has used ``localrc`` to contain all local configuration and customizations. More and more of the configuration variables available for DevStack are passed-through to the individual project configuration files.  The old mechanism for this required specific code for each file and did not scale well.  This is handled now by a master local configuration file.
327
+Historically DevStack has used ``localrc`` to contain all local configuration
328
+and customizations. More and more of the configuration variables available for
329
+DevStack are passed-through to the individual project configuration files.
330
+The old mechanism for this required specific code for each file and did not
331
+scale well.  This is handled now by a master local configuration file.
325 332
 
326 333
 # local.conf
327 334
 
328
-The new config file ``local.conf`` is an extended-INI format that introduces a new meta-section header that provides some additional information such as a phase name and destination config filename:
335
+The new config file ``local.conf`` is an extended-INI format that introduces
336
+a new meta-section header that provides some additional information such
337
+as a phase name and destination config filename:
329 338
 
330 339
     [[ <phase> | <config-file-name> ]]
331 340
 
... ...
@@ -339,11 +370,15 @@ If the path of the config file does not exist it is skipped.
339 339
 The defined phases are:
340 340
 
341 341
 * **local** - extracts ``localrc`` from ``local.conf`` before ``stackrc`` is sourced
342
-* **post-config** - runs after the layer 2 services are configured and before they are started
343
-* **extra** - runs after services are started and before any files in ``extra.d`` are executed
342
+* **post-config** - runs after the layer 2 services are configured
343
+                    and before they are started
344
+* **extra** - runs after services are started and before any files
345
+              in ``extra.d`` are executed
344 346
 * **post-extra** - runs after files in ``extra.d`` are executed
345 347
 
346
-The file is processed strictly in sequence; meta-sections may be specified more than once but if any settings are duplicated the last to appear in the file will be used.
348
+The file is processed strictly in sequence; meta-sections may be specified more
349
+than once but if any settings are duplicated the last to appear in the file
350
+will be used.
347 351
 
348 352
     [[post-config|$NOVA_CONF]]
349 353
     [DEFAULT]