Skip to content
Snippets Groups Projects
Commit 105fc97f authored by Michal Urban's avatar Michal Urban
Browse files

added method to retrieve flavors to KypoOpenStackClient

parent 2b36bb2b
No related branches found
No related tags found
1 merge request!24Resolve "add method to retrieve flavors to KypoTerraformClient"
Pipeline #165238 passed
...@@ -313,6 +313,14 @@ class KypoTerraformClient: ...@@ -313,6 +313,14 @@ class KypoTerraformClient:
""" """
return self.cloud_client.get_hardware_usage(topology_instance) return self.cloud_client.get_hardware_usage(topology_instance)
def get_flavors_dict(self) -> dict:
"""
Gets flavors defined in OpenStack project with their vcpu and ram usage as dictionary
:return: flavors dictionary
"""
return self.cloud_client.get_flavors_dict()
def get_project_limits(self) -> Limits: def get_project_limits(self) -> Limits:
""" """
Get resources limits of cloud project. Get resources limits of cloud project.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment