mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Implements RESTful delete of interface pools and members
Implements #4108
This commit is contained in:
parent
519fec5f94
commit
62c35e82ec
6 changed files with 33 additions and 1 deletions
|
|
@ -26,6 +26,7 @@ rest_utils.consts_snmp_device_unreachable = -11
|
|||
rest_utils.consts_snmp_device_no_device_discovered = -12
|
||||
rest_utils.consts_add_pool_failed = -13
|
||||
rest_utils.consts_edit_pool_failed = -14
|
||||
rest_utils.consts_delete_pool_failed = -15
|
||||
|
||||
local rc_str_consts = {
|
||||
[rest_utils.consts_ok] = "OK",
|
||||
|
|
@ -43,6 +44,7 @@ local rc_str_consts = {
|
|||
[rest_utils.consts_snmp_device_no_device_discovered] = "NO_SNMP_DEVICE_DISCOVERED",
|
||||
[rest_utils.consts_add_pool_failed] = "ADD_POOL_FAILED",
|
||||
[rest_utils.consts_edit_pool_failed] = "EDIT_POOL_FAILED",
|
||||
[rest_utils.consts_delete_pool_failed] = "DELETE_POOL_FAILED",
|
||||
}
|
||||
|
||||
function rest_utils.rc(ret_code, response)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue