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 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
compute: removes unnecessary condition

An unnecessary condition is used in compute/manager.py

Change-Id: If1a27009079721198aebebbd8c1c773f10f51f1a
Merge "Make nova-network use FixedIP for timeouts"
Merge "Make nova_ipam_lib use Network, FixedIP, and FloatingIP objects"
Merge "compute: removes unnecessary condition"
Merge "ec2 api should check 'max_count'&'min_count' para"
Merge "Fixed incorrect test case of test_server_metadata.py"
Merge "Corrected typo in metrics"
Merge "Add API schema for v3 rescue API"
Merge "report port number for address already in use errors"
Merge "fix ips to 'ips' in APIRouter"
Merge "XenAPI: Report the CPU details correctly"