diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-11-11 21:19:03 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-11-11 21:19:03 +0000 |
commit | 865345db0bca09f7cbb48e667b223f0affde6901 (patch) | |
tree | eb525e86345acd972dc04f9e1ce9020c2551f0c0 /puppet | |
parent | e90a43895b0eb529eba9d7923e0abe9db0213062 (diff) | |
parent | 36aa652247a83c868a25622bce54cc2b0247dc06 (diff) |
Merge "Neutron L3 service cleanups for hiera json hook"
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/services/neutron-l3.yaml | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/puppet/services/neutron-l3.yaml b/puppet/services/neutron-l3.yaml index a89e3d75..a2157555 100644 --- a/puppet/services/neutron-l3.yaml +++ b/puppet/services/neutron-l3.yaml @@ -1,4 +1,4 @@ -heat_template_version: 2016-04-08 +heat_template_version: 2016-10-14 description: > OpenStack Neutron L3 agent configured with Puppet @@ -43,6 +43,10 @@ parameters: tag: openstack.neutron.agent.l3 path: /var/log/neutron/l3-agent.log +conditions: + + external_network_bridge_empty: {equals : [{get_param: NeutronExternalNetworkBridge}, "''"]} + resources: NeutronBase: @@ -63,12 +67,16 @@ outputs: - neutron config_settings: map_merge: - - get_attr: [NeutronBase, role_data, config_settings] + - get_attr: [NeutronBase, role_data, config_settings] + - neutron::agents::l3::router_delete_namespaces: True + neutron::agents::l3::agent_mode: {get_param: NeutronL3AgentMode} + tripleo.neutron_l3.firewall_rules: + '106 neutron_l3 vrrp': + proto: vrrp + - + if: + - external_network_bridge_empty + - {} - neutron::agents::l3::external_network_bridge: {get_param: NeutronExternalNetworkBridge} - neutron::agents::l3::router_delete_namespaces: True - neutron::agents::l3::agent_mode : {get_param: NeutronL3AgentMode} - tripleo.neutron_l3.firewall_rules: - '106 neutron_l3 vrrp': - proto: vrrp step_config: | include tripleo::profile::base::neutron::l3 |