commit | e527effe3bb15da6287e1d4d7cbf299b9430d83c | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Wed May 18 14:04:57 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed May 18 21:15:13 2016 +0000 |
tree | c5da1a4465012a817bc46c3bd8e4d7a121612355 | |
parent | 6972ae67e207a5f792fa4702eea8ed93ddadeffa [diff] |
Do not print log when seeing unrelated events Change-Id: Iec6fe95da2a316514c7703d01432fde9ef051f96
diff --git a/providers/netcfglinks/src/main/java/org/onosproject/provider/netcfglinks/NetworkConfigLinksProvider.java b/providers/netcfglinks/src/main/java/org/onosproject/provider/netcfglinks/NetworkConfigLinksProvider.java index 8452581..6851e7e 100644 --- a/providers/netcfglinks/src/main/java/org/onosproject/provider/netcfglinks/NetworkConfigLinksProvider.java +++ b/providers/netcfglinks/src/main/java/org/onosproject/provider/netcfglinks/NetworkConfigLinksProvider.java
@@ -446,7 +446,6 @@ @Override public void event(NetworkConfigEvent event) { - if (event.configClass().equals(BasicLinkConfig.class)) { log.info("net config event of type {} for basic link {}", event.type(), event.subject()); @@ -456,8 +455,8 @@ } else if (event.type() == NetworkConfigEvent.Type.CONFIG_REMOVED) { removeLink(linkKey); } + log.info("Link reconfigured"); } - log.info("Reconfigured"); } }