From 52d19892c12ff785adc0f914647307c1287c059c Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Fri, 20 Nov 2015 18:14:03 +0100 Subject: Allows for customization of NetworkDeployment actions We don't necessarily want the network configuration to be reapplied with every template update so we add a param to configure on which action the NetworkDeployment resource should be executed. Change-Id: I0e86318eb5521e540cc567ce9d77e1060086d48b Co-Authored-By: Dan Sneddon Co-Authored-By: James Slagle Co-Authored-By: Jiri Stransky Co-Authored-By: Steven Hardy --- puppet/controller.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'puppet/controller.yaml') diff --git a/puppet/controller.yaml b/puppet/controller.yaml index 2e8c3126..0c921eb6 100644 --- a/puppet/controller.yaml +++ b/puppet/controller.yaml @@ -606,6 +606,11 @@ parameters: Hostname: type: string default: '' # Defaults to Heat created hostname + NetworkDeploymentActions: + type: comma_delimited_list + description: > + Heat action when to apply network configuration changes + default: ['CREATE'] resources: @@ -702,6 +707,7 @@ resources: properties: config: {get_resource: NetworkConfig} server: {get_resource: Controller} + actions: {get_param: NetworkDeploymentActions} input_values: bridge_name: br-ex interface_name: {get_param: NeutronPublicInterface} -- cgit 1.2.3-korg