IP subnet validation fixes

Fixes bug #1067959

Assure prefix length is included in CIDR definition.

Change-Id: I32bb3dd1e5bffb409b3adee03015e21cce71caea
Ensure that HTTP 400 codes are returned for invalid input

Fixes bug 1062046

A number of additional validation functions were added. They
do basic validations.

Change-Id: I0fc207e996f11b50fdaa4d80075ae5704cba7003
Validate L3 inputs.

Fixes bug 1064765

Change-Id: Idb8d078f3c640d450bcb738cddf875b5e49f1b60
Add check for cidr overrapping for adding external gateway

Fixes bug 1053633
Also add check for cidr overrapping between external gateway and
interfaces

Change-Id: I5bfb2fd96ea467b63e940893979a912caf550deb
Merge "Add check for cidr overrapping for adding external gateway" into stable/folsom
Merge "Validate L3 inputs." into stable/folsom
Update stable with stable oslo (aka common)

This fixes bug 1073999

Change-Id: I191af50a7b0ab6c3c19fd24757d7466e67549615
Remove qpid configuration variables no longer supported

Change-Id: I25396654fdd03ae54d7d7470a9d2952689836c50
Delete floating port and floatingip in the same transaction

Bug #1080516

Change-Id: Icb5b71e29af582cb0e381e22909f46b325063d71
Ensure that fixed port IP address is in valid allocation range.

Fixes bug 1077292

Change-Id: I587655bece83d0f6aa665e522efbc0ecd5ef1734
Ensure that deleted gateway IP address is recycled correctly

Fixes bug 1079980

Change-Id: I6819899cae6f366423ade70613c85fd84d1a270d
Allow NVP plugin to use per-tenant quota extension

Change-Id: I704b52471e44b2d4e75dcf4435d55d6c6974a870
Merge "Remove qpid configuration variables no longer supported" into stable/folsom
Merge "Delete floating port and floatingip in the same transaction" into stable/folsom
fix incorrect kwarg param name for region with l3-agent

bug 1080793

Change-Id: Iec600e98406b0210ab3a472c97f3b4d8f0f96d44
Updates clear_db() to unregister models and close session.

fixes bug 1080988

This change fixes the bug by ensuring the metadata and session objects
are properly cleaned up by clear_db(). Using the proper calls reduces
the memory required by unit tests.

Change-Id: I1d1802b642eff83b7f96211608195afaf68e855a
Improve openvswitch and linuxbridge agents' parsing of mappings

Created generic quantum.utils.parse_mappings function that detects
duplicate key or value strings, and changed openvswitch and
linuxbridge agents to use this to parse their mappings from physical
networks to bridges or interfaces. Fixes bug 1067669.

Also fixed some typos in comments.

Change-Id: I342eaeeb6ff4c6e25d57d631f250faac082011b8
bug 1057844: improve floating-ip association checks

allow multiple floating ips to be associated with the same internal port
as long as they map to different external nets (not yet supported in
Folsom) or different internal fixed IPs.  With Quantum, there is no
need to disallow either scenario.

Also improve check for a valid external network to router to internal
subnet path when a floating IP is bound.

Change-Id: Iced675e1f064172ee8a5bb6b9e37032e83af5711
Part of the patch set that enables VM's to use libvirts bridge type.

Fixes bug 1078210

The patch set enables the following:
1. Bridges to be created by Nova
2. Bridges to be created by the agent

The code is backward compatible, that is, if Nova does not create the brdige
then the agent will create the bridge.

In addition to this it cleans gateway code no longer used.

The patch enables the following Nova code to be backported:
https://review.openstack.org/#/c/14830/

Change-Id: Ia621ba5edd12d8eb7ea412a2993fea43189bd511
Merge "Ensure that fixed port IP address is in valid allocation range." into stable/folsom