network: add dhcp_lease_duration param support
Allow the end user to choose the lease duration of DHCP for the VMs. Feature #364 Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
		@@ -32,6 +32,7 @@ describe 'cloud::network::metadata' do
 | 
			
		||||
        verbose                  => true,
 | 
			
		||||
        debug                    => true,
 | 
			
		||||
        use_syslog               => true,
 | 
			
		||||
        dhcp_lease_duration      => '120',
 | 
			
		||||
        log_facility             => 'LOG_LOCAL0' }"
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
@@ -62,7 +63,8 @@ describe 'cloud::network::metadata' do
 | 
			
		||||
          :bind_host               => '10.0.0.1',
 | 
			
		||||
          :core_plugin             => 'neutron.plugins.ml2.plugin.Ml2Plugin',
 | 
			
		||||
          :service_plugins         => ['neutron.services.loadbalancer.plugin.LoadBalancerPlugin','neutron.services.metering.metering_plugin.MeteringPlugin','neutron.services.l3_router.l3_router_plugin.L3RouterPlugin'],
 | 
			
		||||
          :log_dir                 => false
 | 
			
		||||
          :log_dir                 => false,
 | 
			
		||||
          :dhcp_lease_duration     => '120'
 | 
			
		||||
      )
 | 
			
		||||
      should contain_class('neutron::agents::ovs').with(
 | 
			
		||||
          :enable_tunneling => true,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user