Update 'unlimited' quota value to '-1' in db

Updates quota value to -1 in db rather than None
if the user specify the quota limit as "unlimited".

Fixes bug 979087
Change-Id: I0ec412189ad9630c4a875655294c1e77886108f5
Add lookup by ip via Quantum for metadata service.

 * The Nova network API's get_fixed_ip_by_address() is used by the
   metadata service in determining which instance to return metadata
   for.
 * This change implements support for the function in the Quantum
   v2 implementation of the network API to ensure that the
   metadata service can return results when Nova is configured to
   use Quantum.
 * Overlapping network spaces are not supported at this time.
 * Addresses bug 1052196

Change-Id: Iaa5d78c4de92313e93ee9008a2c26052a4f60602
fix unused import

fix unused import in nova/compute/manager.py

Change-Id: If5f9222365ed5814a6c288eb0507e6ba922cd4b4
Always yield to other greenthreads after database calls

Since common database backends (eg MySQLdb and sqlite) are implemented
in C extensions, eventlet cannot monkey patch the socket calls to ensure
greenthread context switches occur during network I/O.

Previously, this was done by sprinkling explicit greenthread.sleep(0)
calls in areas known to cause problems. Switch that to always do a
yield after execute.

Change-Id: If91e49fbe212a02710b6ba4abd456222552e2575
Send api.fault notification on API service faults.

Exceptions caught by the API middleware will now send "api.fault"
notifications indicating the offending URL and the underlying exception.
The allows the billing/usage systems to track requests end-to-end without
having to monitor log files. Disabled by default.
Enable with --notify_api_faults

Change-Id: Ied2783259413ba12d686b44b33e0707645e51afb
Fix marker pagination for /servers

Fixes bug 1053028.

Recent changes to pagination required passing in full sqlalchemy objects
into paginate_query. However, calls to paginate_query were passing in
strings.

Change-Id: Ib1396a78a12aef1a9cdc31f3624af30f19da44b5
Fix aggregate_hosts.host migration for sqlite

* Make sure data is not lost during migration
* Changes migration 111_general_aggregates
* Adds test for change

Fix bug 1053131

Change-Id: Idbf0cbd5fdb7758ea1794019807d83d159270cba
No stack trace on bad nova aggregate-* command

When a 'nova aggregate-*; command is run with a bad parameter, Nova-api
should not throw a stack trace.  For example:

'nova aggregate-details badID' shouldn't cause a stack trace

fix bug 1053150

Change-Id: Iab6059f44b7cfb5428a2b55cea53d63809d7a575
Merge "Fix aggregate_hosts.host migration for sqlite"
Merge "No stack trace on bad nova aggregate-* command"
Merge "Update 'unlimited' quota value to '-1' in db"
Properly create and delete Aggregates

* If deleted aggregate with same name exists, ignore it
* When delete aggregate, delete metadata as well
* Removes aggregates.name unique constraint

Fix bug 1052479

Change-Id: I430e69367bdedbf65049a5142d137ab788763ae3
Merge "Send api.fault notification on API service faults."
Merge "Always yield to other greenthreads after database calls"
Merge "Fix marker pagination for /servers"
Merge "fix unused import"
Merge "Add lookup by ip via Quantum for metadata service."
Merge "Properly create and delete Aggregates"