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
Add missing security group quota settings to quantum.conf

Fixes bug 1164154

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

bug #1166706

Change-Id: Ic90fefefc0c3339cbc876e4402b6d6c5aa841c47
Merge "Add missing security group quota settings to quantum.conf" into stable/grizzly
Merge "Improve the deprecated message about DEFAULT.root_helper" into stable/grizzly
Fix port_id filter not honored

Add dict. to map API params to DB columns

Change-Id: I5f10eea77533e91afeb690e39301d7282e1b1620
Fixes: bug #1169706
Add RabbitMQ and QPID HA support flags to quantum.conf

Since Quantum supports HA queues with RabbitMQ (https://review.openstack.org/#/c/13760/),
quantum.conf should provide new flags for explain how to configure multiple RabbitMQ servers and enable HA.

New flags :
rabbit_hosts=$rabbit_host:$rabbit_port
rabbit_ha_queues=false
qpid_hosts = localhost:5672

Fix Bug #1160369
Cherry-picked from https://review.openstack.org/#/c/25389/

Change-Id: I35903b1b7b66fde8d70ac7e8076e0def2a1f2d04
Merge "Fix port_id filter not honored" into stable/grizzly
Do not attempt to kill already-dead dnsmasq

Fixes bug 1080846

The fix is following comments by Thiery Carrez (ttx) on the bug.

Change-Id: If4f6baad4212c23845c46703140e15f1ffcfe558
Adds POST method support in the metadata service

Fixes bug: #1092311

The password generation feature introduced in Grizzly requires POST
support in the metadata service.

Support has been added to both the metadata agent and namespace proxy.
Tests have been added and updated accordingly.

Change-Id: If7ef6bede1775ad682822cb868518ec732b90805
OSLO updates for stable

Fixes bug 1172922
Fixes bug 1159889
Fixes bug 1158319

Change-Id: I6257b5636b7b98d26ee43cbbf6087d9279a5b97c
Treat unbound port

Following a nice suggestion by S Orlando regarding the fix for
bug 1173463

Change-Id: I2fa2a2fa7852025f0c18ff27c5fffc5667ce8378
Duplicate line in Brocade plugin

Bug 1176570

Change-Id: Ic79913ae313d299f274db6f0d3f6d0eb21c9f4ce
binding:vif_type was being set twice
Create veth peer in namespace.

 * Update veth pair creation to set the namespace of the peer
   device on creation rather than subsequently adding it to the
   namespace.
 * This change supports kernels with limited namespace support
   (e.g. RHEL 6.5) so long as ovs_use_veth is set to True.
 * Addresses bug 1171727

Change-Id: I1885acc9934e7627bb9872703df7f5edf2980722
in dhcp_agent, always use quantum.conf root_helper

Fixes bug #1178003.

For the most part, the dhcp agent uses the root_helper setting from the [AGENT]
section of /etc/quantum/quantum.conf. However, in a couple of spots, the
root_helper setting from the [DEFAULT] section of /etc/quantum/dhcp_agent.ini
was being used.

Change-Id: Id2f3140374a705cf7a0d2a784e4f321cc54f602e
Bump stable/grizzly next version to 2013.1.2

Change-Id: I130528ae946e8888d35c25e468b4ea6ac29db0cf
Add kill-metadata rootwrap filter to support RHEL.

 * Fixes bug 1178419

Change-Id: I9c1cf0d19d1134ec3b85c905c6c8bb7145847ce7
Validate that netaddr does not receive a string with whitespace

Fixes bug 1177277

Change-Id: Ibecaeed3e5918b06e74d8fa68cbe443bcbada7fc
(cherry picked from commit 09dd1ec82cce7ebf2989d17f4e4fd9f7a2eea7e0)
Merge "Do not attempt to kill already-dead dnsmasq" into stable/grizzly
Merge "OSLO updates for stable" into stable/grizzly