Timeouts.DEVICE_READ_TIMEOUT, Timeouts.DEVICE_READ_TIMEOUT_UNIT);
if (!protocolObject.isPresent() || protocolObject.get().augmentation(Protocols1.class) == null) {
LOG.error("LLDP subtree is missing");
-
+ return;
}
int adminstatusEnu =
protocolObject.get().augmentation(Protocols1.class).getLldp().getGlobalConfig().getAdminStatus()
Timeouts.DEVICE_READ_TIMEOUT, Timeouts.DEVICE_READ_TIMEOUT_UNIT);
if (!protocolObject.isPresent() || protocolObject.get().augmentation(Protocols1.class) == null) {
LOG.error("LLDP subtree is missing");
-
+ return;
}
String startTimestamp = getCurrentTimestamp();
@NonNull
if (!protocolObject.isPresent() || protocolObject.get().augmentation(Protocols1.class) == null) {
LOG.error("LLDP subtree is missing");
return;
-
}
String startTimestamp = getCurrentTimestamp();
@NonNull
if (!deviceObject.isPresent()) {
LOG.error("Device with node id {} not found", nodeId);
return;
-
}
String startTimestamp = getCurrentTimestamp();
@NonNull
if (!deviceObject.isPresent()) {
LOG.error("Device with node id {} not found", nodeId);
return;
-
}
String startTimestamp = getCurrentTimestamp();
@NonNull
if (!deviceObject.isPresent()) {
LOG.error("Device with node id {} not found", nodeId);
return;
-
}
String startTimestamp = getCurrentTimestamp();
@NonNull
if (!deviceObject.isPresent()) {
LOG.error("Device with node id {} not found", nodeId);
return;
-
}
String startTimestamp = getCurrentTimestamp();
@NonNull