Remove Interface pool (we have the host pool only now)

This commit is contained in:
Alfredo Cardigliano 2022-02-25 18:04:46 +01:00
parent 12d60c01fd
commit ca846f4015
19 changed files with 2 additions and 475 deletions

View file

@ -27,7 +27,6 @@ local top_talkers_utils = require "top_talkers_utils"
local internals_utils = require "internals_utils"
local page_utils = require("page_utils")
local ui_utils = require("ui_utils")
local interface_pools = require ("interface_pools")
local auth = require "auth"
local behavior_utils = require("behavior_utils")
local graph_utils = require "graph_utils"
@ -1593,7 +1592,6 @@ elseif(page == "config") then
return
end
local interface_pools_instance = interface_pools:create()
local messages = {}
-- Flow dump check
@ -1617,13 +1615,6 @@ elseif(page == "config") then
end
end
if _SERVER["REQUEST_METHOD"] == "POST" then
-- bind interface to pool
if (_POST["pool"]) then
interface_pools_instance:bind_member(ifid, tonumber(_POST["pool"]))
end
end
if not table.empty(messages) then
printMessageBanners(messages)
print("<br>")
@ -1650,16 +1641,6 @@ elseif(page == "config") then
</td>
</tr>]]
-- Interface Pool
print([[
<tr>
<th>]].. i18n("pools.pool") ..[[</th>
<td>
]].. ui_utils.render_pools_dropdown(interface_pools_instance, ifid, "interface") ..[[
</td>
</tr>
]])
-- Interface speed
if not have_nedge then
print[[