diff --git a/manifests/init.pp b/manifests/init.pp index 703dd610c..b151c926b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -65,6 +65,10 @@ # (optional) The MTU size for the interfaces managed by neutron # Defaults to undef # +# [*dhcp_agent_notification*] +# (optional) Allow sending resource operation notification to DHCP agent. +# Defaults to true +# # [*allow_bulk*] # (optional) Enable bulk crud operations # Defaults to true @@ -193,6 +197,7 @@ $dhcp_lease_duration = 86400, $dhcp_agents_per_network = 1, $network_device_mtu = undef, + $dhcp_agent_notification = true, $allow_bulk = true, $allow_pagination = false, $allow_sorting = false, @@ -293,6 +298,7 @@ 'DEFAULT/mac_generation_retries': value => $mac_generation_retries; 'DEFAULT/dhcp_lease_duration': value => $dhcp_lease_duration; 'DEFAULT/dhcp_agents_per_network': value => $dhcp_agents_per_network; + 'DEFAULT/dhcp_agent_notification': value => $dhcp_agent_notification; 'DEFAULT/allow_bulk': value => $allow_bulk; 'DEFAULT/allow_pagination': value => $allow_pagination; 'DEFAULT/allow_sorting': value => $allow_sorting; diff --git a/spec/classes/neutron_init_spec.rb b/spec/classes/neutron_init_spec.rb index 5777b0e24..62a734ce9 100644 --- a/spec/classes/neutron_init_spec.rb +++ b/spec/classes/neutron_init_spec.rb @@ -111,6 +111,7 @@ should contain_neutron_config('DEFAULT/dhcp_lease_duration').with_value(86400) should contain_neutron_config('DEFAULT/dhcp_agents_per_network').with_value(1) should contain_neutron_config('DEFAULT/network_device_mtu').with_ensure('absent') + should contain_neutron_config('DEFAULT/dhcp_agent_notification').with_value(true) should contain_neutron_config('DEFAULT/allow_bulk').with_value(true) should contain_neutron_config('DEFAULT/allow_pagination').with_value(false) should contain_neutron_config('DEFAULT/allow_sorting').with_value(false)