Add ability to enable huge pages
Related-Prod: https://mirantis.jira.com/browse/PRODX-8500
Change-Id: I258489da117ba1cc4820c92dbcf77ccd5d33bee9
diff --git a/de/heat-templates/top.yaml b/de/heat-templates/top.yaml
index 1dbc91c..eb4ebf5 100644
--- a/de/heat-templates/top.yaml
+++ b/de/heat-templates/top.yaml
@@ -255,6 +255,12 @@
description: The content of lab metadata.
default: ''
type: string
+ huge_pages:
+ description: >
+ String formatted as '<Number of Gb for 1Gb huge pages>,<Number of Mb for 2Mb huge pages'
+ If number is equal to 0 alloacation of huge pages won't be configured.
+ default: '0,0'
+ type: string
conditions:
create_tf_data_network_res:
@@ -497,6 +503,7 @@
tf_data_network: {if: ["create_tf_data_network_res", { get_attr: [tf_data_network, tf_data_network_id] }, ""]}
tf_data_subnet_id: {if: ["create_tf_data_network_res", { get_attr: [tf_data_network, tf_data_subnet_id] }, ""]}
hardware_metadata: { get_param: hardware_metadata}
+ huge_pages: { get_param: huge_pages }
gtws:
type: OS::Heat::ResourceGroup