Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kypo-python-commons
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MUNI-KYPO-CRP
backend-python
kypo-python-commons
Commits
5d41b0d1
Commit
5d41b0d1
authored
3 years ago
by
Michal Urban
Browse files
Options
Downloads
Plain Diff
Merge branch '2-add-method-to-retrieve-flavors-to-kypocloudclientbase' into 'master'
Resolve "add method to retrieve flavors to KypoCloudClientBase" Closes
#2
See merge request
!2
parents
cd0ef556
f99c9a94
No related branches found
No related tags found
1 merge request
!2
Resolve "add method to retrieve flavors to KypoCloudClientBase"
Pipeline
#169380
passed
3 years ago
Stage: build
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kypo/cloud_commons/cloud_client_base.py
+9
-0
9 additions, 0 deletions
kypo/cloud_commons/cloud_client_base.py
with
9 additions
and
0 deletions
kypo/cloud_commons/cloud_client_base.py
+
9
−
0
View file @
5d41b0d1
...
...
@@ -161,6 +161,15 @@ class KypoCloudClientBase(ABC):
"""
pass
@abstractmethod
def
get_flavors_dict
(
self
)
->
dict
:
"""
Gets flavors defined in OpenStack project with their vcpu and ram usage as dictionary
:return: flavors dictionary
"""
pass
@abstractmethod
def
get_project_limits
(
self
)
->
Limits
:
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment