= 32) then statusMessage = "Can't add configuration to this table. Maximum limit reached." NextPage = "bandwidth_profile" end end web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "edit") then configRowId = RowId web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "delete") then local field, splitted, rows = web.cgiSearch(cgi, "BandWidthProfile") -- if any rows to delete if (rows) then errorFlag, statusCode = bwProfiles.deleteProfiles (rows) end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "enable") then local inputTable = web.cgiToLuaTable(cgi) local field, splitted, rows = web.cgiSearch(cgi, "FirewallOBServices") -- if any rows to delete if (rows) then errorFlag, statusCode = fwView.modifyRules (rows, "enable") end -- save db if no error if (errorFlag == "OK") then db.save() local cacheResetProgram = db.getAttribute("environment", "name", "HW_CACHE_RESET", "value") end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "disable") then local inputTable = web.cgiToLuaTable(cgi) local field, splitted, rows = web.cgiSearch(cgi, "FirewallOBServices") -- if any rows to delete if (rows) then errorFlag, statusCode = fwView.modifyRules (rows, "disable") end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) web.goToPage(NextPage, true, true) else configRow = {} configRow = db.getRow("BandWidthProfileStatus", "_ROWID_", "1") ?> $| COMPANY_NAME |$ $|PRODUCT_FAMILY|$ - Network QoS Profiles
 
QoS
 
IPv6
IPv4
 
 
$| statusMessage |$
QoS
Do you want to enable QoS?
Yes
No
 
 
 
 
 
 
QoS Type: Rate Control
  Priority
 
 
 
List of QoS Profiles
32) then serviceName = row["NetworkQosProfile.ServiceName"] row["NetworkQosProfile.ServiceName"] = string.sub(row["NetworkQosProfile.ServiceName"],1,32) .. "..." end local direction = "" if(row["NetworkQosProfile.Direction"] ~= nil) then if(row["NetworkQosProfile.Direction"] =="0") then direction = "InBound" elseif(row["NetworkQosProfile.Direction"] =="1") then direction = "Outbound" end end ?>
  QoS Type Interface Name Service Direction Rate Hosts Action
$|qosType|$ $| InterfaceName |$ $| serviceName or ''|$ $| direction |$
Packets Dropped due to Bandwidth Limit: