Code Review
/
apex-tripleo-heat-templates.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Continue checking for request url if initially null"
[apex-tripleo-heat-templates.git]
/
puppet
/
services
/
neutron-dhcp.yaml
diff --git
a/puppet/services/neutron-dhcp.yaml
b/puppet/services/neutron-dhcp.yaml
index
513cb2d
..
c7965a6
100644
(file)
--- a/
puppet/services/neutron-dhcp.yaml
+++ b/
puppet/services/neutron-dhcp.yaml
@@
-1,4
+1,4
@@
-heat_template_version:
2016-04-08
+heat_template_version:
ocata
description: >
OpenStack Neutron DHCP agent configured with Puppet
description: >
OpenStack Neutron DHCP agent configured with Puppet
@@
-31,6
+31,14
@@
parameters:
default: false
description: If True, DHCP always provides metadata route to VM.
type: boolean
default: false
description: If True, DHCP always provides metadata route to VM.
type: boolean
+ MonitoringSubscriptionNeutronDhcp:
+ default: 'overcloud-neutron-dhcp'
+ type: string
+ NeutronDhcpAgentLoggingSource:
+ type: json
+ default:
+ tag: openstack.neutron.agent.dhcp
+ path: /var/log/neutron/dhcp-agent.log
resources:
resources:
@@
-46,6
+54,10
@@
outputs:
description: Role data for the Neutron DHCP agent service.
value:
service_name: neutron_dhcp
description: Role data for the Neutron DHCP agent service.
value:
service_name: neutron_dhcp
+ monitoring_subscription: {get_param: MonitoringSubscriptionNeutronDhcp}
+ logging_source: {get_param: NeutronDhcpAgentLoggingSource}
+ logging_groups:
+ - neutron
config_settings:
map_merge:
- get_attr: [NeutronBase, role_data, config_settings]
config_settings:
map_merge:
- get_attr: [NeutronBase, role_data, config_settings]
@@
-62,3
+74,10
@@
outputs:
dport: 68
step_config: |
include tripleo::profile::base::neutron::dhcp
dport: 68
step_config: |
include tripleo::profile::base::neutron::dhcp
+ upgrade_tasks:
+ - name: Stop neutron_dhcp service
+ tags: step2
+ service: name=neutron-dhcp-agent state=stopped
+ - name: Start neutron_dhcp service
+ tags: step6
+ service: name=neutron-dhcp-agent state=started