Timothy Asir has uploaded a new change for review. Change subject: gluster: Remove all the RHEVM related events from "Manage Events" ......................................................................
gluster: Remove all the RHEVM related events from "Manage Events" Currently "Add event notification" dialog for user Event Notifier displays RHEVM specific events also. This patch hides all RHEVM related event options for RHS-C Change-Id: I7fec833cc9322ad0ee6cd5c48ee54fceafc00f21 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=973638 Signed-off-by: Timothy Asir <[email protected]> --- M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/EventNotificationEntity.java M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcEventNotificationUtils.java 2 files changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/68/20468/1 diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/EventNotificationEntity.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/EventNotificationEntity.java index 97da35b..5a5e23b 100644 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/EventNotificationEntity.java +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/EventNotificationEntity.java @@ -6,6 +6,7 @@ public enum EventNotificationEntity { UNKNOWN(ApplicationMode.AllModes), Host(ApplicationMode.AllModes), + VirtHost(ApplicationMode.VirtOnly), Vm(ApplicationMode.VirtOnly), Storage(ApplicationMode.VirtOnly), Engine(ApplicationMode.AllModes), diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcEventNotificationUtils.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcEventNotificationUtils.java index 0b4355d..0521f9c 100644 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcEventNotificationUtils.java +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcEventNotificationUtils.java @@ -21,20 +21,19 @@ AddEventNotificationEntry(EventNotificationEntity.Host, AuditLogType.USER_VDS_MAINTENANCE_MIGRATION_FAILED); AddEventNotificationEntry(EventNotificationEntity.Host, AuditLogType.VDS_ACTIVATE_FAILED); AddEventNotificationEntry(EventNotificationEntity.Host, AuditLogType.VDS_RECOVER_FAILED); - AddEventNotificationEntry(EventNotificationEntity.Host, AuditLogType.VDS_APPROVE_FAILED); AddEventNotificationEntry(EventNotificationEntity.Host, AuditLogType.VDS_INSTALL_FAILED); AddEventNotificationEntry(EventNotificationEntity.Host, AuditLogType.VDS_TIME_DRIFT_ALERT); - AddEventNotificationEntry(EventNotificationEntity.Host, AuditLogType.SYSTEM_DEACTIVATED_STORAGE_DOMAIN); AddEventNotificationEntry(EventNotificationEntity.Host, AuditLogType.VDS_SET_NONOPERATIONAL); AddEventNotificationEntry(EventNotificationEntity.Host, AuditLogType.VDS_SET_NONOPERATIONAL_IFACE_DOWN); AddEventNotificationEntry(EventNotificationEntity.Host, AuditLogType.VDS_SET_NONOPERATIONAL_DOMAIN); - AddEventNotificationEntry(EventNotificationEntity.Host, AuditLogType.SYSTEM_CHANGE_STORAGE_POOL_STATUS_NO_HOST_FOR_SPM); AddEventNotificationEntry(EventNotificationEntity.Host, AuditLogType.VDS_HIGH_MEM_USE); AddEventNotificationEntry(EventNotificationEntity.Host, AuditLogType.VDS_HIGH_NETWORK_USE); AddEventNotificationEntry(EventNotificationEntity.Host, AuditLogType.VDS_HIGH_CPU_USE); AddEventNotificationEntry(EventNotificationEntity.Host, AuditLogType.VDS_HIGH_SWAP_USE); AddEventNotificationEntry(EventNotificationEntity.Host, AuditLogType.VDS_LOW_SWAP); - + AddEventNotificationEntry(EventNotificationEntity.VirtHost, AuditLogType.VDS_APPROVE_FAILED); + AddEventNotificationEntry(EventNotificationEntity.VirtHost, AuditLogType.SYSTEM_CHANGE_STORAGE_POOL_STATUS_NO_HOST_FOR_SPM); + AddEventNotificationEntry(EventNotificationEntity.VirtHost, AuditLogType.SYSTEM_DEACTIVATED_STORAGE_DOMAIN); // VM AddEventNotificationEntry(EventNotificationEntity.Vm, AuditLogType.VM_FAILURE); AddEventNotificationEntry(EventNotificationEntity.Vm, AuditLogType.VM_MIGRATION_START); -- To view, visit http://gerrit.ovirt.org/20468 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7fec833cc9322ad0ee6cd5c48ee54fceafc00f21 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Timothy Asir <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
