Add new Gnocchi scenarios

This patch is based on [1] and adds following scenarios:

GnocchiArchivePolicyRule.list_archive_policy_rule
GnocchiArchivePolicyRule.create_archive_policy_rule
GnocchiArchivePolicyRule.create_delete_archive_policy_rule

[1] https://review.openstack.org/#/c/453861/

Change-Id: I3d2104fa6f6ba4bd90c4ac1771e48c32a5403832
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
This commit is contained in:
Juha Kosonen
2018-02-16 15:56:27 +02:00
parent a136480678
commit 64f3a57c4c
12 changed files with 319 additions and 0 deletions

View File

@@ -317,6 +317,9 @@ class Gnocchi(ResourceManager):
def list_resources(self):
return self.client.resource.list()
def list_archive_policy_rules(self):
return self.client.archive_policy_rule.list()
class Ironic(ResourceManager):