summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorPierre Blanc <pblanc@redhat.com>2016-01-09 12:21:15 -0500
committerPierre Blanc <pblanc@redhat.com>2016-04-06 09:44:10 -0400
commit4c7d8732ca960f131fa595a5d811de44c63d5bff (patch)
treeaa67d0a58a3d138f5d835830b01f699c4e00e69a /network
parent31b05b17bfd028d16990231079c4bfde777cde40 (diff)
Add network ExtraConfig hook
Adds a post-network hook to execute some tasks before nodes deployment. This hook is execute one time (not for each node) during network step. It can be useful to execute scripts or templates before creating nodes. For example, we can use this hook for : - Deploy stuff used during the deployment of nodes. - Deploying network, backup, monitoring infrastructure. Change-Id: I3e999d73b55c5c27f70f722ec63ec8f2150bb5aa
Diffstat (limited to 'network')
-rw-r--r--network/extraconfig.yaml3
-rw-r--r--network/networks.yaml3
2 files changed, 6 insertions, 0 deletions
diff --git a/network/extraconfig.yaml b/network/extraconfig.yaml
new file mode 100644
index 00000000..93c6609f
--- /dev/null
+++ b/network/extraconfig.yaml
@@ -0,0 +1,3 @@
+heat_template_version: 2015-04-30
+
+description: Noop network extra config
diff --git a/network/networks.yaml b/network/networks.yaml
index ab50ae11..d3ae482b 100644
--- a/network/networks.yaml
+++ b/network/networks.yaml
@@ -21,3 +21,6 @@ resources:
ManagementNetwork:
type: OS::TripleO::Network::Management
+
+ NetworkExtraConfig:
+ type: OS::TripleO::Network::ExtraConfig