core: fix generation of dependent local routes for VRFs

When using VRF devices we must pre-generate dependent local
routes in the VRF's table otherwise they will be incorrectly added
to the local table instead.

https://bugzilla.redhat.com/show_bug.cgi?id=1857133

Fixes: a199cd2a ('core: add dependent local routes configured by kernel')
23 jobs for ac/vrf_local_route_fix in 1 minute and 36 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #3622217
checkpatch

00:01:22

manual #3622224
allowed to fail manual
t_centos:7.5.1804
manual #3622225
allowed to fail manual
t_centos:7.6.1810
manual #3622226
allowed to fail manual
t_centos:7.7.1908
manual #3622227
allowed to fail manual
t_centos:7.8.2003
manual #3622228
allowed to fail manual
t_centos:8.1.1911
manual #3622234
allowed to fail manual
t_debian:10
manual #3622233
allowed to fail manual
t_debian:9
manual #3622236
allowed to fail manual
t_debian:sid
manual #3622235
allowed to fail manual
t_debian:testing
manual #3622218
allowed to fail manual
t_fedora:28
manual #3622219
allowed to fail manual
t_fedora:29
manual #3622220
allowed to fail manual
t_fedora:30
canceled #3622221
t_fedora:31

00:01:35

manual #3622222
allowed to fail manual
t_fedora:32
manual #3622223
allowed to fail manual
t_fedora:rawhide
manual #3622229
allowed to fail manual
t_ubuntu:16.04
manual #3622230
allowed to fail manual
t_ubuntu:18.04
manual #3622232
allowed to fail manual
t_ubuntu:devel
manual #3622231
allowed to fail manual
t_ubuntu:rolling
 
  External
failed https://desktopqe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/beaker-NetworkManager-gitlab-trigger-code-upstream/1666/

canceled https://desktopqe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/beaker-NetworkManager-gitlab-trigger-code-upstream/1666/

00:01:29

failed https://desktopqe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/beaker-NetworkManager-gitlab-trigger-code-upstream/1666/