Add modal SNMP feedback in case the maximum number of SNMP devices is reached.

This commit is contained in:
Nicolo Maio 2024-03-13 10:45:24 +01:00
parent b5dc9fa373
commit 09b0f52bf6
2 changed files with 8 additions and 0 deletions

View file

@ -335,6 +335,13 @@ local rest_utils = {
str = "DHCP_ACTIVE_LEASES_NOT_ROUTING_MODE"
},
-- MAX_SNMP_DEVICES_NUM_REACHED
snmp_device_max_devices_num_reached = {
http_code = 400,
rc = -57,
str = "MAX_SNMP_DEVICES_NUM_REACHED"
},
-- Checks
not_enabled = {http_code = 400, rc = -2, str = "NOT_ENABLED"}
}