Restore VRF imported routes case 81/59081/4
authorStephen Kitt <skitt@redhat.com>
Fri, 16 Jun 2017 13:10:31 +0000 (15:10 +0200)
committerSam Hague <shague@redhat.com>
Sat, 17 Jun 2017 18:29:22 +0000 (14:29 -0400)
commit58ad088f01918eedbd1d0bd0ff59381cf0bf720b
tree96c3ec88665d0d0a48cd8c6353e73672a8a8d811
parent61a0e34d73e5eb9cc71a46bb5aec977de30a3eb2
Restore VRF imported routes case

In createLocalFibEntry, localNextHopInfo is always null. It used to be
initialised in what became the forEach() loop; this patch restores a
standard foreach loop and tracks whether local next hop info has
actually been seen.

Change-Id: I9dc7a041a1010f7f85003bd225d75f2d03a7d076
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Signed-off-by: Sam Hague <shague@redhat.com>
vpnservice/fibmanager/fibmanager-impl/src/main/java/org/opendaylight/netvirt/fibmanager/VrfEntryListener.java