Add SNMP alerts page and test hooks
This page will be included in Configuration section of the primary
navigation. The user will be able to delete and add alert destination.
Change-Id: I396d19a54ea11724f2c5aec67e20ba9abff947d3
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index ff10769..18bb7c6 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -130,6 +130,7 @@
"serverPowerOperations": "@:appPageTitle.serverPowerOperations",
"certificates": "@:appPageTitle.certificates",
"virtualMedia": "@:appPageTitle.virtualMedia",
+ "snmpAlerts": "@:appPageTitle.snmpAlerts",
"power": "@:appPageTitle.power",
"keyClear": "@:appPageTitle.keyClear"
},
@@ -159,6 +160,7 @@
"serialOverLan": "Serial over LAN (SOL) console",
"serverPowerOperations": "Server power operations",
"certificates": "Certificates",
+ "snmpAlerts": "SNMP Alerts",
"virtualMedia": "Virtual media",
"keyClear": "Key clear"
},
@@ -895,6 +897,32 @@
"successSaveSettings": "Successfully saved settings."
}
},
+ "pageSnmpAlerts": {
+ "addDestination": "Add destination",
+ "deleteDestination": "Delete destination | Delete destinations",
+ "pageDescription": "Set the Simple Network Management Protocol (SNMP) traps with an IP address and a port.",
+ "modal": {
+ "addSnmpDestinationTitle": "Add SNMP alert destination",
+ "batchDeleteConfirmMessage": "Are you sure you want to delete the SNMP alert destination? This action cannot be undone. | Are you sure you want to delete %{count} SNMP alert destinations? This action cannot be undone.",
+ "deleteConfirmMessage": "Are you sure you want to delete the SNMP alert destination? This action cannot be undone.",
+ "deleteSnmpDestinationTitle": "Delete SNMP alert destination | Delete SNMP alert destinations",
+ "ipaddress": "IP Address",
+ "port": "Port"
+ },
+ "table": {
+ "ipaddress": "IP Address",
+ "port": "Port"
+ },
+ "toast": {
+ "errorAddDestination": "Error in adding SNMP alert destination",
+ "errorBatchDelete": "Error in deleting SNMP alert destination. | Error in deleting SNMP alert destinations.",
+ "errorDeleteDestination": "Error deleting SNMP alert destination.",
+ "errorLoadSnmpDetails": "Error loading SNMP alert details.",
+ "successAddDestination": "Successfully added SNMP alert destination.",
+ "successBatchDelete": "Successfully deleted SNMP alert destination. | Successfully deleted %{count} SNMP alert destinations.",
+ "successDeleteDestination": "Successfully deleted SNMP alert destination."
+ }
+ },
"pageCertificates": {
"addNewCertificate": "Add new certificate",
"caCertificate": "CA Certificate",