Adds http lint for the deletion of all SNMP devices

This commit is contained in:
Simone Mainardi 2018-05-09 12:46:44 +02:00
parent f691d4c442
commit c61451cee3
2 changed files with 5 additions and 1 deletions

View file

@ -367,7 +367,8 @@ local function validateUnassignedDevicesMode(mode)
end
local function validateSnmpAction(mode)
local modes = {"delete", "add", "addNewDevice", "startPolling", "stopPolling", "startPortMonitor", "stopPortMonitor"}
local modes = {"delete", "delete_all", "add",
"addNewDevice", "startPolling", "stopPolling", "startPortMonitor", "stopPortMonitor"}
return validateChoice(modes, mode)
end