Move from untitest2 to testtools.

Use testtools as the base testclass. Use fixtures library for managing
fixtures.

Part of blueprint grizzly-testtools

Change-Id: Iac5af286b988787acf7049344641aadf140b9398
Fix the help text of add-fixed-ip

Makes the help text of the add-fixed-ip less confusing by pointing out
that the IP address is taken from the given network and assigned to the
server.

Change-Id: Iaf4641f65a5872ee70273d5b972ff5da0ddd7b1d
Add support for instance evacuate.

This adds support for server evacuation from failed host.
Adds CLI command:

nova evacuate <server> <host> [--password pwd] [--on-shared-storage]

Depends on the approval of change:
https://review.openstack.org/#change,17991

Change-Id: Icd91c0484b2db532861e23163d043737ad04117a
When logging request include request data

When the --debug flag is used it should print out the body of a POST
request.  It did that previously but the kwargs dict used for the
request stopped using 'body' which is what the logging relied on.  This
changes it to use 'data' which is a string representation of what was in
'body'.

Bug 1098241

Change-Id: I82f36e59b459706d9d5a3a38563a45c80e84c6e2
Update hosts API action calls (startup etc.)

These calls are now implemented as normal
POST os-hosts/{host_name}/action requests.

Change-Id: I8cd401e3b4e552c6787d1f984041ad3c345e6eca
Fix a couple of broken shell tests

Pyflakes picked up a couple of duplicated names. Rename the one
that is correct and delete the incorrect one.

Change-Id: Id4af1269a030be5a725bbbbcf3400341b09fddc3
Adds tenant network support to the client

Modifies novaclient, changing the existing networks implementation to a
more appropriate os-admin-networks namespace, and supplements with a
tenant-base network extenion that lives under the os-networks namespace
as a Nova API extension. Also removes from the duplicately named network
test methods.

Implements: blueprint tenant-networks

Change-Id: I54c9f017b86fc413f1646c7bded8cebd94f6a287
Merge "Move from untitest2 to testtools."
Merge "Fix the help text of add-fixed-ip"
Merge "Add support for instance evacuate."
Merge "When logging request include request data"
Merge "Update hosts API action calls (startup etc.)"
Merge "Fix a couple of broken shell tests"
Implement get password for novaclient

This will download and decrypt a base64 encoded encrypted password
from the os-server-password extension. It depends on the user
having openssl installed, but if there is an error of any kind it
will print out the encoded and encrypted password instead.

It also implements clear_password which will delete the password
so it can no longer be retrieved.

Change-Id: I2c4e6c3f03b70dc98d6d339381648a6058f46e21
Ensure list output function can support non-sorting printing

Ensure list printing function in utils can handle non-sorting
calls. Allow result list can be formatted and outputted without any
sorting field, keep natural order to the list printing. Adding necessary
checking to avoid prettytable (0.6.1 for me) exception: "Invalid field
name: None!".

Fix bug: #1099732

Change-Id: Ied869d987e608fff8b8b5f5a65d21e02f0cebeaa
Signed-off-by: zhiyanliu <lzy.dev@gmail.com>
Add support for get_spice_console RPC API

Add the new get_spice_console API mirroring the impl of
the existing get_vnc_console support.

Blueprint: libvirt-spice
Change-Id: Id549de57ebbed95dc01749838ed539b3b47efc8b
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Merge "Ensure list output function can support non-sorting printing"
Merge branch 'master' of https://github.com/openstack/python-novaclient
add tests