Clean up LOG import in floating_ips_bulk v2 api

Remove useless code of LOG in floating_ips_bulk.py

Change-Id: I66f20a23d75b2c9c2e7cc2425f015a95fefb62d8
Add unit test for add_floating_ip API

Currently, add_floating_ip API has no unit test for body's key test,
this patch adds the test cases.

Change-Id: I32a32514c68fcd8717011d37724a20993aa8ed20
ironic: Clean LOG usage

*Remove unused LOG import
*Use nova.i18n instead of oslo-incubator code

Change-Id: I2305787b72ae6843abec8a4ad6d3f51bd8d35b3d
Remove all redundant `setUp` methods.

It would be better if we remove all redundant `setUp` methods
and should be added as needed.

Change-Id: If6072894f1ced83c8bcf7fd44f8b67ea17a847f1
Update ironic states and documentation

This adds doc strings for the various states, and updates the documentation
header to reflect the current state of states.

In addition, this removes the following unused states:
  - INIT
  - BUILDING
  - SUSPEND

Change-Id: I917f1819066520a81cfaac1c9e884a1bf359d59c
Closes-Bug: #1370184
Don't list entire module autoindex on docs index

Don't list entire api/autoindex under Developer Docs,  we already have a
model index link at the  bottom of the page, showing the entire
autoindex on the home page is makes the page overwhelming.

Change-Id: I25c5b50412881b55aa745ce3da2c22466e879fcf
Adds openSUSE support for developer documentation

Support for openSUSE documentation is updated in this patch.

Change-Id: Id238900382e574836f7832e6907a3e51d62f859d
Typo in exception name - CellsUpdateProhibited

Change-Id: Ia96cf5c2ac1ce36c6499dc85b2884e68023c6ec3
console: introduce a new exception InvalidToken

Introduces a new exception InvalidToken used when an effectively
invalid token has be sent to a console proxy.
Updates the code to take advantage of this new one.

Change-Id: I9eb18541847e0ce22d5a449268876043ed8eb3a1
console: fix bug when invalid connection info

Fixes bug when checking response returned from the server during
a connection with internal_access_path, if the response's status
is not 200 we should raise the exception.

Closes-Bug: #1375379
Change-Id: Icafcad52cb4e6d9ec4d270e93b89cf13df6b8f61
libvirt: convert utils test case to avoid DB usage

The LibvirtUtilsTestCase test case has no need to access the
database. It is also located in the wrong file, as mosts of
the tests for nova.virt.libvirt.utils are in test_utils.py
instead of test_driver.py. Move all the tests into test_utils.py
which already uses NoDBTestCase. This improve performance from
2s to ~0.2s

Partial-bug: #1369516
Change-Id: Id5db3146c524d0208266f754493226856389a722
Ensure files are closed promptly when generating a key pair

On Python's without reference counting (e.g. PyPy) the current code will keep
the file descriptors open for an arbitrary length of time, until the GC runs.

Change-Id: Idf81df95894fed1d13a68705ef490d5a29367ff1
Merge "Add unit test for add_floating_ip API"
Merge "Clean up LOG import in floating_ips_bulk v2 api"
Merge "Don't list entire module autoindex on docs index"
Merge "libvirt: convert utils test case to avoid DB usage"
Merge "Typo in exception name - CellsUpdateProhibited"
Merge "console: introduce a new exception InvalidToken"
Merge "console: fix bug when invalid connection info"
Merge "ironic: Clean LOG usage"