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
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
Imported Translations from Transifex

Change-Id: Ia4090ae2421dc2df9e97f18cdc6830aebafdba1a
Merge "Allow pdb debugging in manually-invoked tests."
Make "shared" filter more compatible with diff DBs

For the type BOOLEAN, in sqlalchemy,
it's mapped to BOOLEAN type if the backend database supports it,
otherwise, it's mapped to one of the Integer types, like SMALLINT,
and restrict the values to 1(True) and 0(False).

query_filter = (... | model.shared))
The above filter will generate a SQL where clause like:
where ... OR xxx.shared

This is not supported in databases which don't support BOOLEAN type.
Change it as below to make it more compatible:
query_filter = (... | model.shared == True))

It will generate a SQL where clause as below:
where ... OR xxx.shared = ?

In Python, True == 1, so this change is compatible
with both databases supporting BOOLEAN and those not supporting it.

Fix bug 1161195

Change-Id: Ic0ce0816d63b576a3469de0ed92cae4b19a3690e
Merge "Parallelize quantum unit testing:"
Implement LB plugin delete_pool_health_monitor().

Fixes bug 1166400.

Change-Id: I58145366bab3798232d616c98ed9532f71834089