fix ips to 'ips' in APIRouter

Actually ips in `ips in init_only` would not be valued as True because
ips is a moudle object not a string. Fixing this to string 'ips' could
prevent potential issues and improve readability.

Change-Id: I74564349e1fef00e7430cfb0547b3ad87c8e471c
ec2 api should check 'max_count'&'min_count' para

in ec2 api,run_instance method have not check para
about 'max_count' and 'min_count'

Change-Id: I852dac71e56c658a54b127053cba155e1a260a73
Closes-Bug: #1267382
Add API schema for v3 rescue API

By defining the API schema, it is possible to separate the validation
code from the API method. The API method can be more simple.
In addition, a response of API validation error can be consistent for
the whole Nova API.

Partially implements blueprint nova-api-validation-fw

Change-Id: I3d08bc20e4c585dca1e218e8d97b208d158a3096
Fixed incorrect test case of test_server_metadata.py

Fixed incorrect test case about following points.
 * delete 2 test case because same test will be done
   in other part of same class.
 * fixed parameter according to test purpose.
 * fixed expected exception code.

Change-Id: I3116e9b4e22a86c583a531c8b8e46069f876296e
Corrected typo in metrics

Change-Id: If23292d83776be50f22f45c849fd45b7b04da7d9
XenAPI: Report the CPU details correctly

Driver was not filling in the cpu_count in the correct field.
Also added VM vcpu count

Change-Id: I6339d7fd4faffcd5320fd86b55ff3a5e3515e2bf
Closes-bug: 1192528
report port number for address already in use errors

* nova/wsgi.py(Service.__init__): Catch external errors
(socket.error is a subclass of EnvironmentError since python 2.6),
and log the port number attempted to bind to.

Closes-Bug: 1237961
Change-Id: Ia4eb46c76db855fc3168c5b7a233ce94d2ef7726
Make nova-network use FixedIP object for disassociations

This makes nova-network mananger use the FixedIP object for
disassociating IPs.

Related to blueprint nova-network-objects

Change-Id: Ia0a38bbd31cc22095893bff89bcaa402a9bc2722
Make nova-network use FixedIP object for updates

This makes nova-network manager use the FixedIP object for
updates instead of direct database calls.

Related to blueprint nova-network-objects

Change-Id: Ia191148cf7510ffdb0fbd4186fa34bb4c5ab1b0f
Make nova-network use FixedIP for timeouts

This makes nova-network manager use the FixedIP object when
disassociating addresses due to timeout.

Related to blueprint nova-network-objects

Change-Id: I909f710543239207f6d27230b527b4495a23f2cb
Make nova_ipam_lib use Network, FixedIP, and FloatingIP objects

This makes nova_ipam_lib use objects for almost everything except
for VIF-related functions, which is coming soon.

Related to blueprint nova-network-objects

Change-Id: Ib39bbc86921eeb849e715a205dccaab3aad6d1c6
Replace oslo.sphinx with oslosphinx

oslosphinx is now available as a replacement for oslo.sphinx that
won't conflict with oslo.config in virtual envs.

Change-Id: I7c116f816af895261e76af385ee3e9288e6fa70f
Closes-Bug: #1277168
compute: removes unnecessary condition

An unnecessary condition is used in compute/manager.py

Change-Id: If1a27009079721198aebebbd8c1c773f10f51f1a
Count memory and disk slots once in cells state manager

If multiple instance types in a cell had the same memory_mb value or
root_gb + ephemeral_gb added to the same value, then capacity counts
would be inaccurate since slots would get counted multiple times.
Rather than counting based on instance type it is now based on the set
of memory or disk values pulled from instance types.

Change-Id: Iaded7fa69dadb4aa0335ef1569975bdfcb2767c6
Closes-bug: #1276728
Merge "Replace oslo.sphinx with oslosphinx"
Merge "Make nova-network use FixedIP object for disassociations"
Merge "Make nova-network use FixedIP object for updates"
Merge "Make nova-network use FixedIP for timeouts"
Merge "Make nova_ipam_lib use Network, FixedIP, and FloatingIP objects"
Make floating_ips module use FixedIP object

This makes the network.floating_ips module use the FixedIP
objects instead of direct database interaction.

Related to blueprint nova-network-objects

Change-Id: I09505d480bae0f764b1edf92722e1d2ed1652e61