Commit Graph

9 Commits

Author SHA1 Message Date
Monty Taylor c34c371e96 Move tests into the novaclient package.
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
2013-05-25 08:23:14 +02:00
Alessio Ababilov c9fc9b5b8f Make ManagerWithFind abstract and fix its descendants
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
2013-05-15 21:47:05 +03:00
Hans Lindgren 65b55d8f9b Revert API changes in "Unify Manager._update behaviour"
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
2013-03-12 10:32:42 +01:00
Anita Kuno 3ca976d4a0 Fixed 7 pep8 errors.
Change-Id: I2d509ed383fd8d6cef91dd0c58a51eafc6995bda
2013-02-01 15:35:21 +00:00
Alessio Ababilov b5f3307e80 Update hosts API action calls (startup etc.)
These calls are now implemented as normal
POST os-hosts/{host_name}/action requests.

Change-Id: I8cd401e3b4e552c6787d1f984041ad3c345e6eca
2013-01-11 23:33:24 +04:00
Alessio Ababilov 6307310466 Unify Manager._update behaviour
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
2012-12-23 14:50:38 +02:00
ivan-zhu 51faac4a09 Add ability of nova client to display availability zones when listing hosts
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
2012-11-02 00:25:51 +08:00
Armando Migliaccio ddc1b2c083 bug 932408: python-novaclient miss OSAPI host operations
add client bindings for host-related actions.

Change-Id: I98b3c11ec189029bafe73f499070ab132de640af
2012-02-17 18:37:10 +00:00
masumotok 029f6fcbe5 Adding describe-resource subcommand
Change-Id: I1acabee03be6bae194788176271acd9ae0e74bb3
2012-02-03 13:31:35 +09:00