]> git.proxmox.com Git - mirror_ifupdown2.git/commit - etc/network/ifupdown2/addons.conf
addons: dhcp: stop IPv6 dhclient on ifdown and add delay before starting dhclient
authorNikhil <nikhil@cumulusnetworks.com>
Fri, 15 Jul 2016 21:21:23 +0000 (14:21 -0700)
committerNikhil <nikhil@cumulusnetworks.com>
Mon, 18 Jul 2016 22:40:23 +0000 (15:40 -0700)
commit20fd3a06249151a3c7b77cc0296e8c23510b8d56
treeea4714289a754732600f1561252d01bdeaa4e5e3
parentcb8b16acbfebb2c5bd1d8f0baf61d2a1b94f065a
addons: dhcp: stop IPv6 dhclient on ifdown and add delay before starting dhclient

Ticket: CM-11043
Reviewed By: roopa
Testing Done: used the config mentioned in bug

This patch adds a delay before starting IPv6 dhclient to
make sure the configured interface/link in up.

Also, ifdown on a IPv6 interface, this patch makes sure
that the link in up before dhcp release. Dhcp release is
done using a default lease file.

Signed-off-by: Nikhil <nikhil@cumulusnetworks.com>
addons/dhcp.py
config/addons.conf
ifupdownaddons/dhclient.py