Replace whitelist with allowlist
[netconf.git] / apps / callhome-provider / src / main / java / org / opendaylight / netconf / callhome / mount / CallhomeStatusReporter.java
index abd8ad685d1359ee1920fa6f4f63a1db2238d2d8..4b1eb3d069c1c03e22c4a7ccb2821c7afbc379e6 100644 (file)
@@ -276,7 +276,7 @@ final class CallhomeStatusReporter implements DataTreeChangeListener<Node>, Stat
             return rxTransaction.read(LogicalDatastoreType.OPERATIONAL, IetfZeroTouchCallHomeServerProvider.ALL_DEVICES)
                     .get().orElse(null);
         } catch (ExecutionException | InterruptedException e) {
-            LOG.error("Error trying to read the whitelist devices", e);
+            LOG.error("Error trying to read the allowlist devices", e);
             return null;
         }
     }
@@ -298,7 +298,7 @@ final class CallhomeStatusReporter implements DataTreeChangeListener<Node>, Stat
                 keyString = device.getSshHostKey();
             }
             if (keyString == null) {
-                LOG.info("Whitelist device {} does not have a host key, skipping it", device.getUniqueId());
+                LOG.info("Allowlist device {} does not have a host key, skipping it", device.getUniqueId());
                 continue;
             }
 
@@ -319,7 +319,7 @@ final class CallhomeStatusReporter implements DataTreeChangeListener<Node>, Stat
             }
         }
 
-        LOG.error("No match found for the failed auth device (should have been filtered by whitelist). Key: {}",
+        LOG.error("No match found for the failed auth device (should have been filtered by allowlist). Key: {}",
                 sshKey);
     }