commit | 0f7fb85c13d6fd12be806c848065d2d2eee5b907 | [log] [tgz] |
---|---|---|
author | Marc De Leenheer <marc@opennetworking.org> | Wed Nov 15 18:48:43 2017 -0800 |
committer | Marc De Leenheer <marc@opennetworking.org> | Wed Nov 15 18:48:43 2017 -0800 |
tree | c60aa8904b50238d4d69a1943f9a29f4ca9c18a9 | |
parent | 22af001143ce57a678a248438326351493b5748f [diff] |
Bigswitch to honor config on activation Change-Id: I0b3a4aca27df12604cdd66d116025a2f8cd104e1
diff --git a/local/bigswitch/src/main/java/org/opencord/ce/local/bigswitch/BigSwitchManager.java b/local/bigswitch/src/main/java/org/opencord/ce/local/bigswitch/BigSwitchManager.java index 4629295..f6647b8 100644 --- a/local/bigswitch/src/main/java/org/opencord/ce/local/bigswitch/BigSwitchManager.java +++ b/local/bigswitch/src/main/java/org/opencord/ce/local/bigswitch/BigSwitchManager.java
@@ -154,7 +154,7 @@ }; @Activate - public void activate() { + public void activate(ComponentContext context) { appId = coreService.registerApplication(APP_NAME); componentConfigService.registerProperties(getClass()); configRegistry.registerConfigFactory(configFactory); @@ -174,6 +174,7 @@ eventDispatcher.addSink(BigSwitchEvent.class, listenerRegistry); portCounter.compareAndSet(0, 1); deviceService.addListener(deviceListener); + modified(context); log.info("Started"); }