neutron/neutron/tests/unit/agent/linux
Daniel Alvarez 9b809126a2 Allow to configure DHCP T1 and T2 timers in dnsmasq
This patch introduces two new options for dnsmasq in neutron-dhcp-agent:

* dhcp_renewal_time (T1): This option specifies the time interval from
  address assignment until the client transitions to the RENEWING
  state.
* dhcp_rebinding_time (T2): This option specifies the time interval
  from address assignment until the client transitions to the REBINDING
  state.

By allowing to set these timers we can configure both the renewal
and rebinding times (options 58 and 59 as per RFC2132) and, for example
allow to change some parameters (like MTU) on instances without having
to wait or the lease time. The advantage of changing T1 over the lease
time is that if the DHCP server becomes unreachable within the lease
time, instances won't drop their IP addresses and won't cause a
dataplane disruption.

Change-Id: I29d417d459e92f36c1077962b92fa4c43dfaa97d
Signed-off-by: Daniel Alvarez <dalvarez@redhat.com>
2017-10-05 18:39:03 +00:00
..
openvswitch_firewall ovsfw: Fix up port_range and ICMP type/code handling 2017-09-06 03:26:44 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
failing_process.py Keep reading stdout/stderr until after kill 2015-11-19 19:14:13 +02:00
test_async_process.py Optimize pid property in AsyncProcess class 2017-03-24 08:06:45 +08:00
test_bridge_lib.py Move sysctl out of IPDevice class 2016-11-15 14:03:59 -05:00
test_daemon.py Use bytes for python3 friendly os.write 2017-02-02 18:59:03 -08:00
test_dhcp.py Allow to configure DHCP T1 and T2 timers in dnsmasq 2017-10-05 18:39:03 +00:00
test_external_process.py Use flake8-import-order plugin 2017-07-05 03:15:27 +00:00
test_interface.py Merge "Refactoring agent linux&ovsdb config" 2017-09-13 00:33:56 +00:00
test_ip_conntrack.py Move conntrack zones to IPTablesFirewall 2017-03-30 14:54:51 -07:00
test_ip_lib.py Revert "Fix for race condition during netns creation" 2017-09-26 07:08:49 +00:00
test_ip_link_support.py sriov: implement spoofchecking configuration 2015-07-29 19:38:25 +02:00
test_ip_monitor.py Introduce ip address monitor 2015-03-03 20:06:14 -05:00
test_ipset_manager.py Create ipset set_name_exists() method 2015-10-14 10:18:44 -04:00
test_iptables_firewall.py Removed unnecessary setUp calls in tests 2017-07-31 17:16:01 +02:00
test_iptables_manager.py Make use of -w argument for iptables calls 2017-08-31 20:28:53 +00:00
test_keepalived.py Use flake8-import-order plugin 2017-07-05 03:15:27 +00:00
test_ovsdb_monitor.py Ensure ovsdb_connection enabled before calling monitor 2017-03-06 22:19:18 +00:00
test_pd.py Fix errors in PrefixDelegation.remove_stale_ri_ifname 2017-05-02 16:46:56 +00:00
test_polling.py Ensure ovsdb_connection enabled before calling monitor 2017-03-06 22:19:18 +00:00
test_tc_lib.py TC doesn't rise exception if device doesn't exist 2017-06-14 15:58:33 +01:00
test_utils.py Merge "Pass parameters when create eventlet.wsgi server" 2017-04-17 05:35:54 +00:00
test_xenapi_root_helper.py Use os-xenapi for neutron when XenServer as hypervisor 2017-03-30 18:33:37 +00:00