Minor log clean-up and method name change to align to OVS 16/71916/1
authorFaseela K <faseela.k@ericsson.com>
Thu, 10 May 2018 17:21:27 +0000 (22:51 +0530)
committerFaseela K <faseela.k@ericsson.com>
Thu, 10 May 2018 17:21:27 +0000 (22:51 +0530)
Change-Id: I1a410e1cfda92ad2499709cde4bc3ddf1133fe9e
Signed-off-by: Faseela K <faseela.k@ericsson.com>
itm/itm-impl/src/main/java/org/opendaylight/genius/itm/confighelpers/ItmExternalTunnelAddWorker.java

index 9e69d307fafac821abf7b44ae2281841e4a00158..81c7ba8adb348cfbbd871e3990c1cf62e93adb2a 100644 (file)
@@ -123,8 +123,8 @@ public class ItmExternalTunnelAddWorker {
         List<ListenableFuture<Void>> futures = new ArrayList<>();
         WriteTransaction writeTransaction = dataBroker.newWriteOnlyTransaction();
         if (null != cfgdDpnList && !cfgdDpnList.isEmpty()) {
-            LOG.trace("calling tunnels from css {}",cfgdDpnList);
-            tunnelsFromCSS(cfgdDpnList, writeTransaction, monitorInterval, monitorProtocol);
+            LOG.trace("calling tunnels from OVS {}",cfgdDpnList);
+            tunnelsFromOVS(cfgdDpnList, writeTransaction, monitorInterval, monitorProtocol);
         }
         if (null != cfgdHwVteps && !cfgdHwVteps.isEmpty()) {
             LOG.trace("calling tunnels from hwTep {}",cfgdHwVteps);
@@ -137,8 +137,8 @@ public class ItmExternalTunnelAddWorker {
         return futures;
     }
 
-    private void tunnelsFromCSS(List<DPNTEPsInfo> cfgdDpnList, WriteTransaction transaction, Integer monitorInterval,
-            Class<? extends TunnelMonitoringTypeBase> monitorProtocol) {
+    private void tunnelsFromOVS(List<DPNTEPsInfo> cfgdDpnList, WriteTransaction transaction, Integer monitorInterval,
+                                Class<? extends TunnelMonitoringTypeBase> monitorProtocol) {
         for (DPNTEPsInfo dpn : cfgdDpnList) {
             LOG.trace("processing dpn {}" , dpn);
             if (dpn.getTunnelEndPoints() != null && !dpn.getTunnelEndPoints().isEmpty()) {