commit | e440498f32c6d2cf7068c3dc805028994f050408 | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Thu Jul 12 12:53:33 2018 -0700 |
committer | Thomas Vachuska <tom@opennetworking.org> | Fri Jul 13 18:32:17 2018 +0000 |
tree | 5ab5f698951641e3bc3b1313cc0b295618d86efb | |
parent | 5b9ff6a1d603bf5519f0bb80117fe47f0b71a866 [diff] |
IP change may be involved in HOST_MOVED event. Should resolve the route again. Change-Id: I18035f4d9fc690633df71395d7c72a81af050ff4
diff --git a/apps/route-service/app/src/main/java/org/onosproject/routeservice/impl/RouteManager.java b/apps/route-service/app/src/main/java/org/onosproject/routeservice/impl/RouteManager.java index c0d5955..e3924a7 100644 --- a/apps/route-service/app/src/main/java/org/onosproject/routeservice/impl/RouteManager.java +++ b/apps/route-service/app/src/main/java/org/onosproject/routeservice/impl/RouteManager.java
@@ -394,6 +394,7 @@ switch (event.type()) { case HOST_ADDED: case HOST_UPDATED: + case HOST_MOVED: log.trace("Scheduled host event {}", event); hostEventExecutor.execute(() -> hostUpdated(event.subject())); break; @@ -401,8 +402,6 @@ log.trace("Scheduled host event {}", event); hostEventExecutor.execute(() -> hostRemoved(event.subject())); break; - case HOST_MOVED: - break; default: break; }