Project: netvirt master
b3c81e37958ab951bc9aea5d45e84e82c77162cb
Bug 7106: Handles static routes at InterVpnLink creation
+ When an InterVpnLink is created it is possible that there are
some static routes pointing to any of the InterVpnLink endpoints.
This could happen if, for example, an InterVpnLink is removed and
created again after some time.
+ So, at InterVpnLink creation, it'll check all Neutron routers to see
if any of them has an static route whose nexthop is one of the
InterVpnLink endpoints. If so, the static route must be 'installed'
in the DPN where the corresponding Endpoint has been instantiated.
+ There is a bit of refactoring. Code that was in VpnRpcServiceImpl has
been extracted to InterVpnLinkUtils so that it can be reused.
+ InterVpnLinkCache is now created at InterVpnLinkListener creation
Change-Id: I6d53ca282f41d64c2eaa5fb1d96eec20c902ffb5
Signed-off-by: Miguel Perez <francisco.miguel.perez@ericsson.com>
Signed-off-by: Sam Hague <shague@redhat.com>
-Subproject commit efcbbefe4cd8c9babe45633bc5683b7d7f444e0b
+Subproject commit b3c81e37958ab951bc9aea5d45e84e82c77162cb