summaryrefslogtreecommitdiffstats
path: root/tools/cicdansible/heat/config.yaml
diff options
context:
space:
mode:
authorMichal Zegan <m.zegan@samsung.com>2019-08-22 14:43:11 +0200
committerMichal Zegan <m.zegan@samsung.com>2019-09-04 11:24:46 +0200
commit07479cbc38ef4bf15ea0c4854c8af08e1201a53d (patch)
tree205be6bab64184a6f1746aa5618c782f4e27807f /tools/cicdansible/heat/config.yaml
parent666d3a9009dcdb770ee0f4de736f7d10d33db29d (diff)
Add heat template to deploy onap infrastructure
This change adds a heat template that deploys empty onap infrastructure on open stack. Infrastructure consists of an installer instance + infra instance + specified number of kubernetes nodes. All instances are empty after creation, and live in the internal network with cidr 10.1.0.0/24. They are isolated by security groups in order not to have external network access except possibly the intranet, but it is possible to enable internet access if required. Change-Id: I70024e1e2344ed75f443f03b2239b460a71d0151 Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
Diffstat (limited to 'tools/cicdansible/heat/config.yaml')
-rw-r--r--tools/cicdansible/heat/config.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/cicdansible/heat/config.yaml b/tools/cicdansible/heat/config.yaml
new file mode 100644
index 00000000..e1f0309f
--- /dev/null
+++ b/tools/cicdansible/heat/config.yaml
@@ -0,0 +1,10 @@
+#cloud-config
+#Enable root login.
+disable_root: false
+#Output everything to /dev/console...
+output: { all: "/dev/console" }
+#Initialization.
+runcmd:
+ - |
+ set -efxu -o pipefail
+ %{NOTIFY_COMMAND} --data-binary '{"status": "SUCCESS", "reason": "instance started successfully"}'