Add DhcpAgentNotification param to neutron base
authorTong Liu <tongl@vmware.com>
Wed, 30 Aug 2017 17:53:33 +0000 (17:53 +0000)
committerTong Liu <tongl@vmware.com>
Mon, 11 Sep 2017 16:50:35 +0000 (16:50 +0000)
Add DhcpAgentNotification param in neutron base yaml file to allow
user to toggle dhcp_agent_notification for neutron.

Change-Id: I31715f58e885ac0c1cd9d813f79df9906b780d99
Closes-Bug: #1713193
(cherry picked from commit 5ea728cba456f3833a626f86043f17427bca5d4f)

puppet/services/neutron-base.yaml

index b698004..af3f863 100644 (file)
@@ -30,6 +30,10 @@ parameters:
     type: number
     default: 0
     description: The number of neutron dhcp agents to schedule per network
+  DhcpAgentNotification:
+    default: true
+    description: Whether or not to enable DHCP agent notifications.
+    type: string
   NeutronDnsDomain:
     type: string
     default: openstacklocal
@@ -133,6 +137,7 @@ outputs:
               - {get_param: NeutronDebug }
             neutron::purge_config: {get_param: EnableConfigPurge}
             neutron::allow_overlapping_ips: true
+            neutron::dhcp_agent_notification: {get_param: DhcpAgentNotification}
             neutron::dns_domain: {get_param: NeutronDnsDomain}
             neutron::rabbit_heartbeat_timeout_threshold: 60
             neutron::host: '%{::fqdn}'