X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openflowplugin-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fopenflowplugin%2Fimpl%2Flifecycle%2FLifecycleServiceImpl.java;h=7b6cbe58eed8d29efae56bc0d415260872e158d1;hb=5fffad88c5940f04001bee1ac4190d47f5fea34b;hp=abbe25802d1ccb8c7baf2080a9dc63e3f6ad05c9;hpb=c3a08adefb54a6e63e1f6c40c4c738ebe2125f44;p=openflowplugin.git diff --git a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/lifecycle/LifecycleServiceImpl.java b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/lifecycle/LifecycleServiceImpl.java index abbe25802d..7b6cbe58ee 100644 --- a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/lifecycle/LifecycleServiceImpl.java +++ b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/lifecycle/LifecycleServiceImpl.java @@ -79,6 +79,7 @@ public class LifecycleServiceImpl implements LifecycleService { @Override public void close() throws Exception { if (registration != null) { + LOG.info("Unregistering clustering MASTER services for node {}", this.deviceContext.getDeviceInfo().getLOGValue()); registration.close(); registration = null; } @@ -86,6 +87,8 @@ public class LifecycleServiceImpl implements LifecycleService { @Override public void registerService(final ClusterSingletonServiceProvider singletonServiceProvider) { + LOG.info("Registering clustering MASTER services for node {}", this.deviceContext.getDeviceInfo().getLOGValue()); + //lifecycle service -> device context -> statistics context -> rpc context -> role context -> lifecycle service this.clusterInitializationPhaseHandler = deviceContext; this.deviceContext.setLifecycleInitializationPhaseHandler(this.statContext);