commit | 51de17a2bbdc7daefd380c2fc1af2bc68df89c62 | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Thu Jul 12 12:53:33 2018 -0700 |
committer | Charles Chan <charles@opennetworking.org> | Thu Jul 12 20:14:36 2018 +0000 |
tree | 0e5686809a1e6ac502c29ebe20b20c0be258aaa3 | |
parent | 24aef6c7a2a00cf48ae2b8382fc79ca71c2c90fd [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 2adef10..d620a4c 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
@@ -390,6 +390,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; @@ -397,8 +398,6 @@ log.trace("Scheduled host event {}", event); hostEventExecutor.execute(() -> hostRemoved(event.subject())); break; - case HOST_MOVED: - break; default: break; }