From a54442bf059d934656e4d4550590fd2485979210 Mon Sep 17 00:00:00 2001 From: Sergio Betanzos Date: Thu, 2 Jun 2022 11:53:53 +0200 Subject: [PATCH] F #5422: Add features to vm-template yaml (#2119) --- .../etc/sunstone/admin/vm-template-tab.yaml | 13 ++++++++++++- src/fireedge/etc/sunstone/user/vm-template-tab.yaml | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/fireedge/etc/sunstone/admin/vm-template-tab.yaml b/src/fireedge/etc/sunstone/admin/vm-template-tab.yaml index bb4ceb230f..0abb4435f8 100644 --- a/src/fireedge/etc/sunstone/admin/vm-template-tab.yaml +++ b/src/fireedge/etc/sunstone/admin/vm-template-tab.yaml @@ -21,6 +21,18 @@ resource_name: "VM-TEMPLATE" +# Features - + +features: + # True to hide the CPU setting in the dialogs + hide_cpu: false + + # False to not scale the CPU. + # An integer value would be used as a multiplier as follows: + # CPU = cpu_factor * VCPU + # Set it to 1 to tie CPU and vCPU. + cpu_factor: false + # Actions - Which buttons are visible to operate over the resources actions: @@ -52,7 +64,6 @@ filters: # Info Tabs - Which info tabs are used to show extended information info-tabs: - info: enabled: true information_panel: diff --git a/src/fireedge/etc/sunstone/user/vm-template-tab.yaml b/src/fireedge/etc/sunstone/user/vm-template-tab.yaml index ebc01b077e..0810143361 100644 --- a/src/fireedge/etc/sunstone/user/vm-template-tab.yaml +++ b/src/fireedge/etc/sunstone/user/vm-template-tab.yaml @@ -21,6 +21,18 @@ resource_name: "VM-TEMPLATE" +# Features - + +features: + # True to hide the CPU setting in the dialogs + hide_cpu: true + + # False to not scale the CPU. + # An integer value would be used as a multiplier as follows: + # CPU = cpu_factor * VCPU + # Set it to 1 to tie CPU and vCPU. + cpu_factor: false + # Actions - Which buttons are visible to operate over the resources actions: @@ -52,7 +64,6 @@ filters: # Info Tabs - Which info tabs are used to show extended information info-tabs: - info: enabled: true information_panel: