use of org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableImpl in project ovirt-engine by oVirt.
the class VnicProfileHelper method auditInvalidInterfaces.
public void auditInvalidInterfaces(String entityName) {
if (!invalidNetworkNames.isEmpty()) {
AuditLogable logable = new AuditLogableImpl();
logable.addCustomValue("EntityName", entityName);
logable.addCustomValue("Networks", StringUtils.join(invalidNetworkNames, ','));
logable.addCustomValue("Interfaces", StringUtils.join(invalidIfaceNames, ','));
createAuditLogDirector().log(logable, logType);
}
}
use of org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableImpl in project ovirt-engine by oVirt.
the class MacPoolUsingRanges method logWhenMacPoolIsEmpty.
private void logWhenMacPoolIsEmpty() {
if (!macsStorage.availableMacExist()) {
AuditLogable logable = new AuditLogableImpl();
Injector.get(AuditLogDirector.class).log(logable, AuditLogType.MAC_POOL_EMPTY);
}
}
use of org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableImpl in project ovirt-engine by oVirt.
the class HostMonitoring method createAuditLogableForHost.
private AuditLogable createAuditLogableForHost() {
AuditLogable logable = new AuditLogableImpl();
logable.setVdsId(vds.getId());
logable.setVdsName(vds.getName());
logable.setClusterId(vds.getClusterId());
logable.setClusterName(vds.getClusterName());
return logable;
}
Aggregations