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
quota-classes API was already removed.
Change-Id: I1110022d6f628d03aaf363da707f2d2ef1600437
This patch removed quota-class subcommand from nova client.
Change-Id: I18bf7c255fabdb52c8ce8159f68c3e5c70e54993
Some parameters of quota_class_set are not used in Nova v1.1/v2 API. And
some items have wrong type and key name.
QuotaClassSet class has id property originally. But 'id' comes from Nova
API currently. So we can just use it as its id.
This commit fixes and cleanups them.
Change-Id: Ib963ff82e3107d7b78a3a63a2fc1cd6b6bbe47b0
class_name parameter is not used in both Nova v1.1/v3 API.
Nova considers the part of url as class_name.
For example, bar is considered as class_name in the following case:
curl -i 'http://localhost:8774/v3/os-quota-class-sets/bar' -X PUT ..
This patch removes this unused paramter from quota_class.
Change-Id: Id4eba5b2a17506bc04ea23ef1097ef9cdb9caf8a
Adds support and tests for the os-quota-class-sets
extension for the Nova V3 API. Note that compared to
the V2 version this removes the ability to set quotas
which are not relevant to the V3 API (eg injected file
quotas are not relevant because the os-personalities
extension has been removed).
Partially implements blueprint v3-api
Change-Id: I3e7f36407f2f59737ecbce2c8ce014cef623ecdc
Under Python2 dict.keys() returns a list, under Python 3 it returns an
iterator. Some places assumed that if they called keys() then it was
safe to modify the dict in a loop. Corrected this by calling list().
Change-Id: I7638263f288dd20590bd751d09194a919b921545
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
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
Updates novaclient's quota and quota_class handlers to support
the security_groups and security_group_rules quotas that are now in
Nova.
Fixes LP Bug #1084682.
Change-Id: I04d90681d535124d7d497e06e8c1ea4f2cb8f4f4
Updates novaclient's quota and quota_class handlers to support
the key_pairs quota that is now in Nova.
Fixes LP Bug #1084674.
Change-Id: I0eb357a5f7d5dba73f002066ea381cec818f1492
Updates novaclient's quota and quota_class handlers to support
the injected_file_path_bytes quota that is now in Nova.
Fixes LP Bug #1084672.
Change-Id: I2156816fd09bdd388e3acb8143b041e927f33511
Nova's quota class support allows entire classes of quotas to be
associated with projects, which makes it easier to set specific
quotas across multiple projects. This change adds client-side
support for manipulating quota classes.
Change-Id: I7ee14d16aa51957dcdc1ea5c7a9d5b6bd1656f33