Upgrade: Remote FIB entry missing for ext. gateway 85/66785/10
authorJosh <jhershbe@redhat.com>
Thu, 28 Dec 2017 10:28:15 +0000 (12:28 +0200)
committerSam Hague <shague@redhat.com>
Wed, 24 Jan 2018 18:48:13 +0000 (18:48 +0000)
commitc5b184a9b9db834badf3247e60ffe4f5d1b2fe01
treeb88f75ec991c8e7dcaaccdd85a1c0726914972be
parenta4328102f99fbf8f4f7e2eb91157eb8bfa0b7a22
Upgrade: Remote FIB entry missing for ext. gateway

Root cause of this is that the ARP to discover the
external gateway's mac is triggered at router/subnet
creation time and the code assumes the ovsdb models
are in place. However, in the case of upgrade they are
not yet present as the switches have not yet reconnected.

Fix: At the point where the upgrading flag is unset we
know that all switches have reconnected. Listen for that
transition and trigger the ARP for all routers.

Change-Id: I6cc6045937e2d9a936596e1a8bc36b7a0cbb70e3
Signed-off-by: Josh <jhershbe@redhat.com>
vpnservice/neutronvpn/neutronvpn-impl/src/main/java/org/opendaylight/netvirt/neutronvpn/NeutronSubnetGwMacResolver.java
vpnservice/neutronvpn/neutronvpn-impl/src/main/java/org/opendaylight/netvirt/neutronvpn/UpgradeStateListener.java [new file with mode: 0644]