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:
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user