tests/__init__.py implies a package in the global namespace. These
tests are not global python tests, but rather tests for novaclient.
Change-Id: Ifeb8082aa010d15dddc9ae02e35589bc78ad48cc
ManagerWithFind requires list() method in its descendants.
Make it abstract and fix its improper descendants that do
not implement list() (SecurityGroupRuleManager and many others).
Fixes: bug #1180393
Change-Id: Ic8b466a57554018092c31c6d6b3ea62f181d7000
This revert some of commit 6307310466,
specifically the changes made to the API since those changes were
never merged in Nova.
Resolves bug 1145768.
Change-Id: I8f83c5a33cfed0c3a659f5221b8b2e730ca9463f
Now _update call usually returns an instance of self.resource_class.
This simplifies the code and makes novaclient closer to keystoneclient.
Also, update hosts and services API according to changes on nova.
(If50a6b6e20f9b3fe66d486bb9b15d3eb4b62daf9).
Change-Id: I447e49e5fce0afba8a9c1a5df6dfa7200cc93e18
Implements the one workitem of blueprint apis-for-nova-manage
Add an optional parameter for nova host-list
Now, we can use the command: nova host-list --zone nova
It will return the hosts that availability_zone=nova.
This patch depends on https://review.openstack.org/#/c/14741/
Change-Id: Ide41e75e7d1471e23d19f51e63a8d9951337a411