Merge "Remove useless port from global config"
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");
}