Add support for OVS l2 agent in XS/XCP domU.

 * Config doc: http://wiki.openstack.org/QuantumDevstackOvsXcp

 * The Open vSwitch agent needs to be deployed on domU but
   interact with a dom0 bridge.
 * Add a root wrapper and associated XenAPI plugin to allow the
   agent to execute networking commands against dom0 from domU.
 * Update ovs_lib mac address discovery to use ip_lib to
   ensure that discovery works even for bridges not local to
   the agent (i.e. dom0 bridges).  A bridge configured with
   a dom0 root wrapper will execute ip link on dom0.
 * Update ip_lib to use a root helper by default to ensure that
   the 'ip' command will execute on dom0.
 * Remove obselete rpm spec and installer for dom0 agent.
 * Credit where credit is due - the XenAPI plugin and its
   packaging were largely copied from nova.
 * Supports blueprint xenapi-ovs

Change-Id: I7795446ee1267712c896f5cb3401f84fb1763ce7
Fix Cisco Nexus plugin failures for vlan IDs 1006-4094

Fixes bug 1174593

VLAN IDs in the range 1006-4094 are considered to be in the extended
range by the Cisco Nexus 3K switch. As such, the 3K rejects any
state change configuration commands for VLANs in this range, including
"state active" and "no shutdown". The errors returned by the 3K for
these commands can be ignored, since the default states for these commands
are acceptable for the 3K.

For the 5K and 7K versions of the Nexus switch, on the other hand, the
"state active" and "no shutdown" commands are required for proper VLAN
configuration, regardless of VLAN ID.

This fix splits the configuration commands which are used to create a
VLAN on the Nexus switch into three separate configurations:
  - VLAN creation
  - state active
  - no shutdown
For the "state active" and "no shutdown" configurations, the Cisco Nexus
plugin will tolerate (ignore) errors involving invalid setting of state
for VLANs in the extended VLAN range. These specific errors can be
identified by looking for the appearance of certain signature strings
in the associated exception's message string, i.e. "Can't modify
state for extended" or "Command is allowed on VLAN".

This approach will yield a very small hit in performance, but the solution
is much less error prone than requiring customers to configure the
Cisco plugin for 3K vs. 5K vs. 7K, or perhaps even specific software
versions of the 3K, in order to inform the Cisco plugin whether
VLAN state configuration commands should be used or not.

Change-Id: I1be4966ddc6f462bca38428c4f904f8c982f318f
Enable network to be scheduled to N DHCP agents

Fixes bug 1174132

Change-Id: Iabe96fd8a98f3539eb21268fb5ef58df8dbd8782
Reference OVS OptGoup names in lowercase

To have consistent option group name format across projects,
oslo.config now normalizes all non lowercase group names to lowercase
when loading conf files.
Thus conf files are backwards compatible but option group references
in the code must now use lowercase before we update oslo.config.

This patch replaces all 'OVS' references to 'ovs'

Change-Id: Id8697138d822e331a6776f847915c61b40f8dd6a
Recycle IPs used by 'gateway' ports

Bug 1182602

Previous code simply removed IP allocation for these ports which
should never have an IP. This patch triggers IP recycling so the
IP addresses can be reused by other ports.

Change-Id: I594e02d5bbc78b219eab07e595cde713d6450ffe
Restore correct alias for network-gateway extension

Bug 1182682

Change-Id: I85a93e6ccac32515c7ebb2dfe41ba67cf11c9d9f
Merge "Enable network to be scheduled to N DHCP agents"
Merge "Restore correct alias for network-gateway extension"
Revert "Fix ./run_tests.sh --pep8"

We are explicitly trying to get rid of scripts like this and flake8 makes
this one non-necessary.
Fix run_tests.sh to run flake8 properly.

This reverts commit 42243d6eb221d52bf6f62f835726cbe026e43447

Change-Id: I435e34b6acde7931a75f456ccc88da6476581643
Merge "Fix Cisco Nexus plugin failures for vlan IDs 1006-4094"
reference quota options in lowercase

QUOTAS section have been renamed to quotas so reference quota options in
lowercase.

fixes bug 1182772

Change-Id: Ia08cb51deacc26620e512020b6a3c3b67185ec34
Imported Translations from Transifex

Change-Id: Ifad0cce53e9102e2fc2cd5abd4a14d59b5920c12
Merge "Revert "Fix ./run_tests.sh --pep8""
Merge "Recycle IPs used by 'gateway' ports"
Merge "Imported Translations from Transifex"
remove unused db model for openvswitch plugin

remove unused TunnelIP db model.

fixes bug 1182759

Change-Id: I68c271019761e82a554c0d6c719b1689ef76eb98
Fix quantum.conf comment

Fixes bug 1183209

Change-Id: I87b47e5d5793fde0996712e05b4ddf12be07d3da
update mailmap

Reflect new email address that I will be committing under.

Change-Id: I91d763f6020f6aa7a007417c341f952d1efd20c2
Merge "remove unused db model for openvswitch plugin"
Imported Translations from Transifex

Change-Id: I25044718d1a8018994aed3fa5c0b18663dde663d