commit | 6e8b75fc250dd729dd9e3914cde7b16cb3beb599 | [log] [tgz] |
---|---|---|
author | Marc De Leenheer <marc@opennetworking.org> | Wed Nov 15 18:48:43 2017 -0800 |
committer | Marc De Leenheer <marc@opennetworking.org> | Thu Nov 16 02:50:12 2017 +0000 |
tree | 840b8b03a3cb724d521313a1014d5ca35702118e | |
parent | 2fb3c1f66aaaaaaf23bb1d7531f87002463673da [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"); }