From e19b43e13e05567ea53ceacf953211c8fd9c151b Mon Sep 17 00:00:00 2001 From: MatthewLi Date: Fri, 1 Apr 2016 03:01:48 -0400 Subject: heat api management and template functions parameters JIRA: BOTTLENECK-58 Change-Id: I496ef9147f9cf58328331264e7a8917581588e8c Signed-off-by: MatthewLi --- utils/infra_setup/heat/consts/files.py | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 utils/infra_setup/heat/consts/files.py (limited to 'utils/infra_setup/heat/consts/files.py') diff --git a/utils/infra_setup/heat/consts/files.py b/utils/infra_setup/heat/consts/files.py new file mode 100755 index 00000000..2856650f --- /dev/null +++ b/utils/infra_setup/heat/consts/files.py @@ -0,0 +1,35 @@ +############################################################################## +# Copyright (c) 2016 Huawei Technologies Co.,Ltd and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +# ------------------------------------------------------ +# Configuration File +# ------------------------------------------------------ +GENERAL = 'General' + +def get_sections(): + return [ + GENERAL, + # Add here new configurations... + ] + + +def get_sections_api(): + return [ + GENERAL, + # Add here new configurations... + ] + +# ------------------------------------------------------ +# General section parameters +# ------------------------------------------------------ +ITERATIONS = 'iterations' +TEMPLATE_DIR = 'template_dir' +TEMPLATE_NAME = 'template_base_name' +BENCHMARKS = 'benchmarks' +DEBUG = 'debug' -- cgit 1.2.3-korg