Skip to content
Snippets Groups Projects
Commit 52565579 authored by Josef Smrčka's avatar Josef Smrčka
Browse files

feat: add a3 flavors mapping (incomplete)

parent 940e3c9e
No related branches found
No related tags found
1 merge request!44feat: add a3 flavors mapping (incomplete)
Pipeline #549567 passed with stage
in 24 seconds
......@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [1.9.11] - 2024-12-10
### Added
- Mapping for `a3.*nvidia-t4` flavors (incomplete).
## [1.9.10] - 2024-12-10
### Fix
- correct mapping of `hpc.16core-64ram-ssd-ephem` and `hpc.16core-64ram-ssd-ephem-500` flavors
......
......@@ -115,7 +115,11 @@ def get_destination_flavor(source_flavor):
'csirtmu.jumbo16x32': 'csirtmu-e1.16core-30ram-100disk', # ok
'csirtmu.jumbo8x64': 'csirtmu-e1.8core-60ram-100disk', # ok
'csirtmu.jumbo16x64': 'csirtmu-e1.16core-60ram-100disk', # ok
'hpc.8core-16ram-ssd-ephem' : 'r3.8core-16ram' # ok
'hpc.8core-16ram-ssd-ephem': 'r3.8core-16ram', # ok
'hpc.32core-256ram-nvidia-t4-single-gpu': 'a3.30core-240ram-nvidia-t4', # ok
'a3.32core-240ram-1t4': 'a3.30core-240ram-nvidia-t4', # ok
'a3.32core-120ram-1t4': 'a3.30core-120ram-nvidia-t4', # ok
'a3.64core-240ram-2t4': 'a3.60core-240ram-2x-nvidia-t4' # ok
}
assert source_flavor in flavor_mapping, "Source flavor can be mapped to destination one"
assert flavor_mapping[source_flavor], "Source flavor mapping is not valid"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment