Batch IP monitor changes for 1 second

IP address changes, e.g. as a result of DHCP, usually trigger multiple events
in the IP watcher. This change causes Xapi to be notified just once if multiple
events occur within a second.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Merge pull request #10 from robhoes/master

Batch IP monitor changes for 1 second
Do signal xapi when an IP address is removed

BobB pointed out that when a DHCP lease expires, the IP address may go away.
Therefore, a signal to xapi for it to update its DB makes sense.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Merge pull request #11 from robhoes/master

Do signal xapi when an IP address is removed
CA-112572: networkd: protect IP watcher thread with an exception handler

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Merge pull request #14 from robhoes/ea1254

Make ea1254 branch equal to master minus libnl patch plus IP watcher patch
CA-82314: networkd: introduce Linklocal6 IPv6 address mode

This commit redefines the IPv6 address mode "None6" to mean "no IPv6 address at
all, not even a link local one", and introduces the new mode Linklocal6, which
means "only IPv6 address, except a link local one".

Previously, it was not possible to get networkd to remove the link-local IPv6
address from an interface.

When a link local IPv6 address is requested, it is derived from the interface's
MAC address as commonly done.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Imported-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Merge pull request #15 from jonludlam/CA-82314

CA-82314