Nest: Do not hard-reset interface when preferred address is changed

Modify protocols to use preferred address change notification instead on
depending on hard-reset of interfaces in that case, and remove hard-reset
in that case. This avoids issue when e.g. IPv6 protocol restarts
interface when IPv4 preferred address changed (as hard-reset is
unavoidable and common for whole iface).

The patch also fixes a bug when removing last address does not send
preferred address change notification.
32 jobs for <span class="ref-name">int-new</span> in 4 minutes and 23 seconds (queued for 9 seconds)
Status Job ID Name Coverage
  Image
passed #199273
dind allowed to fail
docker_centos-6-amd64

00:00:25

passed #199274
dind allowed to fail
docker_centos-7-amd64

00:00:25

passed #199263
dind allowed to fail
docker_debian-7-amd64

00:00:22

passed #199267
dind allowed to fail
docker_debian-7-i386

00:00:24

passed #199264
dind allowed to fail
docker_debian-8-amd64

00:00:22

passed #199268
dind allowed to fail
docker_debian-8-i386

00:00:22

passed #199265
dind allowed to fail
docker_debian-9-amd64

00:00:22

passed #199269
dind allowed to fail
docker_debian-9-i386

00:00:22

passed #199266
dind allowed to fail
docker_debian-testing-amd64

00:00:23

passed #199270
dind allowed to fail
docker_debian-testing-i386

00:00:22

passed #199271
dind allowed to fail
docker_fedora-25-amd64

00:00:23

passed #199272
dind allowed to fail
docker_fedora-26-amd64

00:00:24

passed #199275
dind allowed to fail
docker_opensuse-42_3-amd64

00:00:25

passed #199276
dind allowed to fail
docker_ubuntu-14_04-amd64

00:00:26

passed #199277
dind allowed to fail
docker_ubuntu-16_04-amd64

00:00:26

 
  Build
passed #199284
docker linux amd64
build-centos-6-amd64

00:00:51

passed #199285
docker linux amd64
build-centos-7-amd64

00:00:56

passed #199278
docker linux amd64
build-debian-7-amd64

00:00:57

passed #199289
docker linux amd64
build-debian-7-i386

00:00:52

passed #199279
docker linux amd64
build-debian-8-amd64

00:00:59

passed #199290
docker linux amd64
build-debian-8-i386

00:00:55

passed #199280
docker linux amd64
build-debian-9-amd64

00:01:00

passed #199291
docker linux amd64
build-debian-9-i386

00:00:57

passed #199281
docker linux amd64
build-debian-testing-amd64

00:01:02

passed #199292
docker linux amd64
build-debian-testing-i386

00:01:00

passed #199282
docker linux amd64
build-fedora-25-amd64

00:00:58

passed #199283
docker linux amd64
build-fedora-26-amd64

00:00:58

passed #199293
freebsd amd64
build-freebsd-11-amd64

00:03:03

passed #199294
freebsd i386
build-freebsd-11-i386

00:03:06

passed #199286
docker linux amd64
build-opensuse-42_3-amd64

00:00:44

passed #199287
docker linux amd64
build-ubuntu-14_04-amd64

00:00:51

passed #199288
docker linux amd64
build-ubuntu-16_04-amd64

00:00:51