Commit Graph

6 Commits

Author SHA1 Message Date
Andrey Kurilin 0a60aae852 Rename v1_1 to v2
Module novaclient.v1_1 is used as implementation of V1.1, V2 and V3.
Since future development(microversioning) will be done across V2,
implementation should be done in appropriate module(to prevent misleading).

Despite the fact that implementation for all versions are equal, discover
method for contrib path worked only for v1.1. This patch fixes this bug and
modifies shell tests to check all versions.

Change-Id: Ib6798f4dfe177586302141f522dc593560ce6a5b
2015-02-04 17:40:46 +02:00
Dean Troyer c360c3e8da Add AgregatesManager.get()
utils.find_resource() uses manager.get() as part of converting Resource
names to IDs.  AggregatesManager had get_details() instead of get().

Add AggregatesManager.get(), leaving .get_details() in place for backward
API compatibility.

Bug: 1200341

Change-Id: I7d238bbe43e1760e31f1a9ba783c668246f20844
2013-07-11 14:26:01 -05:00
Davanum Srinivas c5b579926f Fix Copyright Headers from LLC to Foundation
follow the lead from nova and oslo projects

Change-Id: I270c5f1e4eefa4b72e292bfb4a4c60de0c3f6e4a
2013-03-13 20:12:23 -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
Chris Behrens 6fe77972f5 Removes zones
As per the openstack meeting today, we will be removing zones from nova
for the Essex release.  Therefore, we should remove it from
python-novaclient.

Change-Id: Iccb363e4d7f24f3e0808dd9cda3b7558be76bae2
2012-02-15 19:16:14 +00:00
John Garbutt 0213eb4c0a blueprint host-aggregates: client bindings
These are the client bindings for the new aggregate api added into nova in the following change:
https://review.openstack.org/#change,3109

Change-Id: I97e0223aa18d01450f82848c5be9bce78b83ef39
2012-01-26 19:01:02 +00:00