Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nova/flavors: Add KVM v1 (Cascade-Lake) flavors #7274

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 108 additions & 0 deletions openstack/sap-seeds/templates/_flavors_hana_exclusive.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,111 @@
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}

# KVM HANA Flavors
{{- if .Values.kvm_enabled }}
- name: "hana_c30_m240_k1"
id: "320"
vcpus: 30
ram: 245760
disk: 64
extra_specs:
{{ tuple . "kvm_hana" | include "sap_seeds.helpers.extra_specs" | indent 4 }}
"trait:CUSTOM_NUMASIZE_C48_M729": "required"
"reservation:cpu": "28"
{{- if ( .Values.hana_flavors_quota_separate ) }}
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}
- name: "hana_c60_m480_k1"
id: "321"
vcpus: 60
ram: 491520
disk: 64
extra_specs:
{{ tuple . "kvm_hana" | include "sap_seeds.helpers.extra_specs" | indent 4 }}
"trait:CUSTOM_NUMASIZE_C48_M729": "required"
"reservation:cpu": "57"
{{- if ( .Values.hana_flavors_quota_separate ) }}
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}
- name: "hana_c120_m960_k1"
id: "322"
vcpus: 120
ram: 983040
disk: 64
extra_specs:
{{ tuple . "kvm_hana" | include "sap_seeds.helpers.extra_specs" | indent 4 }}
"trait:CUSTOM_NUMASIZE_C48_M729": "required"
"reservation:cpu": "114"
{{- if ( .Values.hana_flavors_quota_separate ) }}
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}
- name: "hana_c30_m480_k1"
id: "323"
vcpus: 30
ram: 491520
disk: 64
extra_specs:
{{ tuple . "kvm_hana" | include "sap_seeds.helpers.extra_specs" | indent 4 }}
"trait:CUSTOM_NUMASIZE_C48_M729": "required"
"reservation:cpu": "28"
{{- if ( .Values.hana_flavors_quota_separate ) }}
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}
- name: "hana_c60_m960_k1"
id: "324"
vcpus: 60
ram: 983040
disk: 64
extra_specs:
{{ tuple . "kvm_hana" | include "sap_seeds.helpers.extra_specs" | indent 4 }}
"trait:CUSTOM_NUMASIZE_C48_M729": "required"
"reservation:cpu": "57"
{{- if ( .Values.hana_flavors_quota_separate ) }}
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}
- name: "hana_c120_m1920_k1"
id: "325"
vcpus: 120
ram: 1966080
disk: 64
extra_specs:
{{ tuple . "kvm_hana" | include "sap_seeds.helpers.extra_specs" | indent 4 }}
"trait:CUSTOM_NUMASIZE_C48_M729": "required"
"reservation:cpu": "114"
{{- if ( .Values.hana_flavors_quota_separate ) }}
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}
- name: "hana_c180_m2880_k1"
id: "326"
vcpus: 180
ram: 2949120
disk: 64
extra_specs:
{{ tuple . "kvm_hana" | include "sap_seeds.helpers.extra_specs" | indent 4 }}
"trait:CUSTOM_NUMASIZE_C48_M729": "required"
"reservation:cpu": "171"
{{- if ( .Values.hana_flavors_quota_separate ) }}
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}
- name: "hana_c240_m3840_k1"
id: "327"
vcpus: 240
ram: 3932160
disk: 64
extra_specs:
{{ tuple . "kvm_hana" | include "sap_seeds.helpers.extra_specs" | indent 4 }}
"trait:CUSTOM_NUMASIZE_C48_M729": "required"
"reservation:cpu": "228"
{{- if ( .Values.hana_flavors_quota_separate ) }}
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}
{{- end}} # kvm_enabled
103 changes: 103 additions & 0 deletions openstack/sap-seeds/templates/_flavors_hana_no_exclusive.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,106 @@
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}

# KVM HANA flavors
{{- if .Values.kvm_enabled }}
- name: "hana_k_c30_m240_v1"
id: "320"
vcpus: 30
ram: 245760
disk: 64
extra_specs:
{{ tuple . "kvm_common" | include "sap_seeds.helpers.extra_specs" | indent 4 }}
"trait:CUSTOM_NUMASIZE_C48_M729": "required"
{{- if ( .Values.hana_flavors_quota_separate ) }}
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}
- name: "hana_k_c60_m480_v1"
id: "321"
vcpus: 60
ram: 491520
disk: 64
extra_specs:
{{ tuple . "kvm_common" | include "sap_seeds.helpers.extra_specs" | indent 4 }}
"trait:CUSTOM_NUMASIZE_C48_M729": "required"
{{- if ( .Values.hana_flavors_quota_separate ) }}
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}
- name: "hana_k_c120_m960_v1"
id: "322"
vcpus: 120
ram: 983040
disk: 64
extra_specs:
{{ tuple . "kvm_common" | include "sap_seeds.helpers.extra_specs" | indent 4 }}
"trait:CUSTOM_NUMASIZE_C48_M729": "required"
{{- if ( .Values.hana_flavors_quota_separate ) }}
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}
- name: "hana_k_c30_m480_v1"
id: "323"
vcpus: 30
ram: 491520
disk: 64
extra_specs:
{{ tuple . "kvm_common" | include "sap_seeds.helpers.extra_specs" | indent 4 }}
"trait:CUSTOM_NUMASIZE_C48_M729": "required"
{{- if ( .Values.hana_flavors_quota_separate ) }}
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}
- name: "hana_k_c60_m960_v1"
id: "324"
vcpus: 60
ram: 983040
disk: 64
extra_specs:
{{ tuple . "kvm_common" | include "sap_seeds.helpers.extra_specs" | indent 4 }}
"trait:CUSTOM_NUMASIZE_C48_M729": "required"
{{- if ( .Values.hana_flavors_quota_separate ) }}
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}
- name: "hana_k_c120_m1920_v1"
id: "325"
vcpus: 120
ram: 1966080
disk: 64
extra_specs:
{{ tuple . "kvm_common" | include "sap_seeds.helpers.extra_specs" | indent 4 }}
"resources:CUSTOM_BIGVM": "2"
"trait:CUSTOM_NUMASIZE_C48_M729": "required"
{{- if ( .Values.hana_flavors_quota_separate ) }}
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}
- name: "hana_k_c180_m2880_v1"
id: "326"
vcpus: 180
ram: 2949120
disk: 64
extra_specs:
{{ tuple . "kvm_common" | include "sap_seeds.helpers.extra_specs" | indent 4 }}
"resources:CUSTOM_BIGVM": "2"
"trait:CUSTOM_NUMASIZE_C48_M729": "required"
{{- if ( .Values.hana_flavors_quota_separate ) }}
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}
- name: "hana_k_c240_m3840_v1"
id: "327"
vcpus: 240
ram: 3932160
disk: 64
extra_specs:
{{ tuple . "kvm_common" | include "sap_seeds.helpers.extra_specs" | indent 4 }}
"resources:CUSTOM_BIGVM": "2"
"trait:CUSTOM_NUMASIZE_C48_M729": "required"
{{- if ( .Values.hana_flavors_quota_separate ) }}
"quota:instance_only": "true"
"quota:separate": "true"
{{- end }}
{{- end}} # kvm_enabled
Loading