Improve readability for nvplib error messages.

Fixes bug #1189683

Change-Id: Idaf8e072291af2f08df6a502f1d87ee350aab0af
Nicira plugin: Do not expect a minimum number of SNAT rules

Bug 1192392

The code was assuming a SNAT rule for each subnet was always present
when clearing a gateway. If the SNAT rule was removed for some other
reason from the NVP backend, this would have led to the failure of
the whole operation; however, a failure won't have been necessary
in this case, as the final effect of the operation is to remove
the rules anyway.

Also, this patch ensures a quantum router is put in ERROR state if
it is not found on the NVP backend.

Change-Id: Iac1a61342b490d0d971b884e1aa8d9567b15cac0
Require greenlet 0.3.2 (or later)

Version 0.3.2 resolves a bug that allowed generic "except
Exception:" clauses to catch GreenletExit exceptions.

bug 1097203

Change-Id: Ifc5a40dd1da8d115ccbe7fa4a948d12ff1c89099
Port location tracking for BigSwitch Plugin

Adds a new table to the Big Switch plugin to keep track of
the nova compute node host IDs that ports reside on.
This table is then used to allow users to override
the VIF type for a compute node based on the host ID.
This allows quantum to control an environment with multiple
VIF types.

Change-Id: I63eb66d970650237aed2d5dc6676a6d097988f8d
Implements: blueprint hostid-vif-override
Imported Translations from Transifex

Change-Id: I6e296370ed88d24ed249d34e43b475e42c1574fa
Use 0.0.0.0/0 host route as router option

There is a currently a hacky way to get the dhcp-agent to hand out a
gateway route using a host route on the subnet. If you pass a route
that has 0.0.0.0/0 as its destination, dnsmasq will pass it as a static
route. Unfortunately it will also pass the router option if the subnet
has a gateway set. This is inconsistent and precludes users from options
that are available in nova-network like using an external gateway.

This patch fixes things by allowing a 0.0.0.0/0 host route to override
the router setting passed by dnsmasq. This prevents the situation
where dnsmasq hands out two default routes.

Change-Id: Ia70223070bfd437f1c2eb48fde94491d7ee61fcb
Merge "Require greenlet 0.3.2 (or later)"
Ensure that the report state is not a blocking call

Fixes bug 1191768

For the dhcp and l3 agents the first state report will be done
via a call. If this succeeds then subsequent calls will be done via
the cast method.

Change-Id: I82a1d92fc84983b7bb46758db0aee3e3eca1d3be
Imported Translations from Transifex

Change-Id: I5f7ebc55923e7d9f5132a93af9d4dfa18ccaa725
Fix logic for handling SNAT rules

Bug 1192610

Fixes and simplifies the logic for managing SNAT rules, based
on the assumption that a chain contains SNAT rules for a single
router.
It also fixes another small glitch with SNAT rules not being
removed when a gateway port is destroyed (the glitch did not
affect operations)

Change-Id: Ia95e375459a1f32e93bbe912a268a8ed13859c69
Merge "Use 0.0.0.0/0 host route as router option"
Remove reference to quantum cli in provider network extension

We don't need this info in the doc string as it is already in the admin
guide. If the CLI changes then we'll also have to update the doc string.

Fixes bug 1195429

Change-Id: If27788477c886f6faedbc5fca7856b683a6953f1
move database config items into quantum.conf

Bug #1194784

This patch syncs all the DB configuration items into
quantum.conf and removes the related items of plugins' config
file to avoid duplication.

sqlite related sqlite_db and sqlite_synchronous are defined
in 'default' section, which I think is a defect. And it seems
quantum does not use sqlite_db item.

Change-Id: Ia47102ced0e4169f45f10b85311f298d8c026d31
Deprecate enable_tunneling in the OVS agent

This patch properly deprecates the 'enable_tunneling' option in the OVS agent.
It does this be ignoring it if 'tunnel_types' is set, and if 'enable_tunneling'
is set, it defaults 'tunnel_types' to only GRE.

Fixes bug 1195374

Change-Id: I27fe6b930541a514fc51d3a6669347e52db8cb46
Merge "Port location tracking for BigSwitch Plugin"
Merge "Ensure that the report state is not a blocking call"
Imported Translations from Transifex

Change-Id: Id0d866b54429c147e7b0aef9b3d43e1265086ac7
Merge "Improve readability for nvplib error messages."
dom0 rootwrap - case insensitive xenapi section

As per change https://review.openstack.org/33429 the config sections
became lowercase. This patch makes the quantum-rootwrap-xen-dom0
rootwrap to be case insensitive for the xenapi section.

This patch also changes the default config file to use a lowercase
xenapi section.

Fixes bug 1195781

Change-Id: Ic24feb1a9ad6f8823745b1febd4a0edd54e73498
faster quantum-openvswitch-agent periodic reports

One of two patches that fixes bug #1194438.

Instead of spawning ovs-vsctl for every port on br-int, we just dump the
required columns from the Interfaces table and grab the rows that we need. This
is a big win because the time it takes for ovs-vsctl to connect to the
openvswitch controller is orders of magnitude greater than the time it takes to
parse the rows. In practice, instead of taking roughly 1s per interface, the
agent's periodic task only takes 1s in total.

Change-Id: Idbf32c38e0c4a9c9634c1e4f0e79bd556b720493