Parallelize quantum unit testing:

This change switches run_tests.sh to use testr
in parallel mode, instead of nosetests, in order
to enable unit tests to run in parallel.

By default, the number of parallel test processes
is set to the number of cores on the test machine.

A similar change was recently merged to nova:
  https://review.openstack.org/#/c/15078/

Some tests required updating to remove inter-testcase
dependencies.

bug #1099694

Change-Id: Idfb923d424342a07dcba88d70b971683f549f763
Switch to flake8 from pep8.

 * flake8 supports more checks than pep8 (e.g. detection of
   unused imports and variables), and has an extension mechanism.
   A plugin to support automatic HACKING validation is planned.
 * See: http://flake8.readthedocs.org/

Change-Id: I8c9314c606802109a4d01908dbc74ecb792ad0ac
Add expected IDs to router.interface.* notifications

Fixes bug 1160431

The router.interface.{create|delete} notifications are intended to be
consumed by ceilometer, but did not include the router or tenant IDs
in the RPC message payload. Ceilometer requires both these data for
metering purposes.

The missing UUIDs are now provided in the notifications.

Change-Id: I1ca6e1d5377100a0549293e0bdff0182711c750f
Merge "Add expected IDs to router.interface.* notifications"
Imported Translations from Transifex

Change-Id: Ie9108ffeaa267ad932105b0e6d1f770f35896d17
Merge "Switch to flake8 from pep8."
Imported Translations from Transifex

Change-Id: I264a93786f74aaed378c89ee19dab8a5a289d731
Reformat openstack-common.conf

Use the new 'module' option in openstack-common.conf which is a
multi-string option, allowing each module name to be placed on a
separate line.

This makes it much easier to review changes to the modules list.

Change-Id: I64dff89639f9d136ded3d25aab9f8f85a2d7112b
Merge "Reformat openstack-common.conf"
Imported Translations from Transifex

Change-Id: I46c5a94d3e495fe2c64642a1d4e5d4af34203aec
Imported Translations from Transifex

Change-Id: Ie45e8014df4e416f96657cc7bd89930bd953228a
Sync with oslo-incubator copy of setup.py

Keep up with the changes to the master copy

Change-Id: I5c8f9053b95a1eb0e903365ba12247458d3fb8de
L3NatExtensionTestCase: super.setup should be invoked once

Bug 1165989

Change-Id: If05342701162982035f6f857557df219ce65f240
refactor _get_sync_routers to use get_routers.

By using get_routers, get_sync_data() can get all attributes
including attributes provided by extensions which extend router ext.

Change-Id: I4be761dadd18eed19f4e54676e77d99bcc4a4745
Merge "Sync with oslo-incubator copy of setup.py"
Merge "refactor _get_sync_routers to use get_routers."
Imported Translations from Transifex

Change-Id: I39ef28abfa51c6f41eace1b116b5d444d0c04207
Allow pdb debugging in manually-invoked tests.

 * The old behavior required setting environment variables to
   disable capture of stdout and stderr to allow debugging via pdb.
   The new behavior requires enabling capture of stdout/stderr
   instead. This is already the case in nova.
 * testr behavior is unmodified.
 * Tip 'o the hat to Robert Collins (lifeless)

Change-Id: Ica021eeab07d5a540ce42436c9cc8000c3fd239a
Update to the latest oslo loopingcall.

This renames a class from loopingcall.LoopingCall to
loopingcall.FixedIntervalLoopingCall.

Change-Id: If51d3f4cc2a393f730cd168b16d444725151dbf4
Improve the deprecated message about DEFAULT.root_helper

bug #1166706

Change-Id: Ic90fefefc0c3339cbc876e4402b6d6c5aa841c47