commit | 9ad777f926405b833d01c0513736a6348140dffa | [log] [tgz] |
---|---|---|
author | Jonathan Hart <jono@onlab.us> | Fri Feb 19 12:44:36 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Sun Feb 21 22:48:51 2016 +0000 |
tree | ed74c9ff3c8da9525c9a83124a76fb6ffd774332 | |
parent | b5a1c13e5625d984f4832e2cf1cbe354f19bc0b0 [diff] [blame] |
CordMcast clears remote routes on startup to prevent being out of sync. It also reads existing routes on startup. Change-Id: I13b8ffae2b57d1e82181a8a745bda185d56f368d
diff --git a/apps/routing/src/main/java/org/onosproject/routing/impl/SingleSwitchFibInstaller.java b/apps/routing/src/main/java/org/onosproject/routing/impl/SingleSwitchFibInstaller.java index aabe8f6..ccf93d1 100644 --- a/apps/routing/src/main/java/org/onosproject/routing/impl/SingleSwitchFibInstaller.java +++ b/apps/routing/src/main/java/org/onosproject/routing/impl/SingleSwitchFibInstaller.java
@@ -142,10 +142,10 @@ @Activate protected void activate(ComponentContext context) { - modified(context); - routerAppId = coreService.registerApplication(RoutingService.ROUTER_APP_ID); - componentConfigService.registerProperties(getClass()); + modified(context); + + routerAppId = coreService.registerApplication(RoutingService.ROUTER_APP_ID); deviceListener = new InternalDeviceListener(); deviceService.addListener(deviceListener);