Add support for dnsmasq version 2.48

Following the bug fix for bug 1170793 we are able to add
in support for dnsmasq versions that do not support tags.

2.48 is the version shipped in RHEL 6.4

Change-Id: Ia7d2b1c0adb477159ce146bcd4323d4b2795bff5
(cherry picked from commit 6012b7e97c361a90d88a573d3c6a9f33e03f4281)
Add _usr variants for iptables rootwraps

On SUSE, the paths are inside /usr for totally
weird reasons.

Fixes bug #1156044

Change-Id: I7f98359f89236891289fc24d62949d7097d774dd
Add l3 attribute to network

The fix is to add l3 attribute(s) to the returned objects in get_network() and get_networks()

Fixes: bug #1180971
Change-Id: I4b9c932fae90a169ad1c0119f45e90a2ee260acd
(cherry picked from commit eb6182fa6192b1ae4268ac02583622978d449a09)
Merge "Add l3 attribute to network" into stable/grizzly
Merge "Add support for dnsmasq version 2.48" into stable/grizzly
Merge "Add _usr variants for iptables rootwraps" into stable/grizzly
Enable router extension in Brocade Plugin

Fixes: bug 1166516

Change-Id: Ia3be25b9cdc21b217200997d1a447dccf8549d64
NEC plugin: Ensure to delete portinfo when port_removed RPC.

Fixes bug #1187249

Change-Id: Iaccfd1d4918df5dc4ba1c0478689fd4c833da7b3
Bump stable/grizzly next version to 2013.1.3

Change-Id: I6bf20563967dee1600145380fbed74d1b7609213
Port profile should not mark vlan as native-vlan

Change-Id: I0b117ad8a3761e8f8ae59ae21fb68bbc3303b35b
Fixes: bug 1186461
(cherry picked from commit c551e4a41878d28addf307ac23efb4f040fafaa2)
DbQuotaDriver allows negative quotas to be set.

Bug 1178886

Change-Id: I06ece65c2d77b8258bb871bb396edc5c145c383a
(cherry picked from commit 9e7933dc55ea086b3a2977d9c25ab503174ba7af)
Expose most common QueuePoll parameters from SQLAlchemy

Fixes bug 1160442

The defualt parameters are used unless otherwise configured. This
is applicable for:
 - pool_size
 - max_overflow
 - pool_timeout

By increasing the pool_size and the max_overflow and lowering the timeout
the issue reported in the bug is resolved.

NOTE: the configuration values enable the user to make use of the default
QueuePool tuning values.

(cherry picked from commit 725d636da5959aee1954a8e8d5ff383d2a8b7bb9)

Change-Id: Ic258442531a2caf2db4f05c4ddd6fbfb0c180f17
Merge "Enable router extension in Brocade Plugin" into stable/grizzly
Merge "NEC plugin: Ensure to delete portinfo when port_removed RPC." into stable/grizzly
Merge "Expose most common QueuePoll parameters from SQLAlchemy" into stable/grizzly
Merge "DbQuotaDriver allows negative quotas to be set." into stable/grizzly
Ensure to remove auto delete ports from OFC in NEC plugin

When deleting a network, dhcp ports are removed automatically
in db_plugin. This causes a failure network deletion since the
corresponding port exists on OFC and the network on OFC cannot
be deleted unless a subnet on the network is deleted explicitly.
This commit gets auto-delete ports and delete the corresponding
ports on the controller before deleting the network.

Fixes bug #1190163

TestNecPluginOfcManager class is borrowed from commit 81ce9890ce
in master branch.

Change-Id: Ifffaa1a28b5fac0b0a98036a926550255cc25c9d
(cherry picked from commit da6816c6c703be68f5a0ce537364bc096ec2bd9d)
Handle portinfo msg after port deletion in NEC plugin

Fixes bug 1187701

Change-Id: I9c5ef3320ad6e9438dca9ccccf27f4cedfe4ceec
(cherry picked from commit d3781d5aa12f6c512a455e59ecc6fe10ca908ca9)
Do not import anything from quantum into rootwrap

The rootwrapper is special and shouldn't do heavy code
loading, first for performance and 2nd for potential
security issues.

It shaves off 0.2s of load time (aka heavy cpu usage when
using openvswitch as it invokes rootwrap twice every 4 seconds)

Fixes LP bug 1190675

This is reverting bug 1053381

    Author: Gary Kotton <gkotton@redhat.com>
    Date:   Sun Sep 23 08:34:33 2012 +0000

        Uses a common subprocess popen function

Change-Id: I629d90aaeb99b225d716da82c6ac5c3f327ebb67
Merge "Ensure to remove auto delete ports from OFC in NEC plugin" into stable/grizzly