From: Giovanni Meo Date: Sun, 26 Jan 2014 23:03:38 +0000 (+0000) Subject: Merge "Self assign controller MAC when cannot retrieve one from host" X-Git-Tag: jenkins-controller-bulk-release-prepare-only-2-11~4 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=9f822b0960eb0cf92966ca3df666b714158e3ab2;hp=c2df1bc84792c6a31923fcb6486e88373656f7d1 Merge "Self assign controller MAC when cannot retrieve one from host" --- diff --git a/opendaylight/distribution/opendaylight/src/main/resources/configuration/logback.xml b/opendaylight/distribution/opendaylight/src/main/resources/configuration/logback.xml index 0345f18815..d1a5dcc416 100644 --- a/opendaylight/distribution/opendaylight/src/main/resources/configuration/logback.xml +++ b/opendaylight/distribution/opendaylight/src/main/resources/configuration/logback.xml @@ -86,6 +86,10 @@ + + + diff --git a/opendaylight/netconf/config-persister-impl/src/main/java/org/opendaylight/controller/netconf/persist/impl/ConfigPusher.java b/opendaylight/netconf/config-persister-impl/src/main/java/org/opendaylight/controller/netconf/persist/impl/ConfigPusher.java index 3c968f8e20..c8af4ccd83 100644 --- a/opendaylight/netconf/config-persister-impl/src/main/java/org/opendaylight/controller/netconf/persist/impl/ConfigPusher.java +++ b/opendaylight/netconf/config-persister-impl/src/main/java/org/opendaylight/controller/netconf/persist/impl/ConfigPusher.java @@ -77,7 +77,10 @@ public class ConfigPusher { // start pushing snapshots: for (ConfigSnapshotHolder configSnapshotHolder: configs){ netconfClient = pushSnapshotWithRetries(configSnapshotHolder, Optional.of(netconfClient)); + logger.debug("Config snapshot pushed successfully: {}", configSnapshotHolder); } + + logger.debug("All configuration snapshots have been pushed successfully."); return netconfClient; } diff --git a/opendaylight/netconf/config-persister-impl/src/main/java/org/opendaylight/controller/netconf/persist/impl/osgi/ConfigPersisterActivator.java b/opendaylight/netconf/config-persister-impl/src/main/java/org/opendaylight/controller/netconf/persist/impl/osgi/ConfigPersisterActivator.java index 857912021b..179c9681fc 100644 --- a/opendaylight/netconf/config-persister-impl/src/main/java/org/opendaylight/controller/netconf/persist/impl/osgi/ConfigPersisterActivator.java +++ b/opendaylight/netconf/config-persister-impl/src/main/java/org/opendaylight/controller/netconf/persist/impl/osgi/ConfigPersisterActivator.java @@ -90,6 +90,7 @@ public class ConfigPersisterActivator implements BundleActivator { // uncaught exception handler will deal with this failure throw new RuntimeException("Interrupted while waiting for netconf connection", e); } + logger.info("Configuration Persister initialization completed."); } }; initializationThread = new Thread(initializationRunnable, "ConfigPersister-registrator");