Implements RESTful getters for interface pools and members

Implements #4109
This commit is contained in:
Simone Mainardi 2020-07-06 14:22:21 +02:00
parent 62c35e82ec
commit aab7051810
6 changed files with 68 additions and 2 deletions

View file

@ -36,7 +36,7 @@ local s = interface_pools:create()
local res = s:delete_pool(pool_id)
if not res then
print(rest_utils.rc(rest_utils.consts_delete_pool_failed))
print(rest_utils.rc(rest_utils.consts_pool_not_found))
return
end