= tonumber (maxLimitVal)) then statusMessage = "Can't add configuration to this table. Maximum limit reached." NextPage = "qos" 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, "NeworkQos") -- if any rows to delete if (rows) then errorFlag, statusCode = fwView.deleteQosProfiles (rows) end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) or statusCode web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "enable") then local field, splitted, rows = web.cgiSearch(cgi, "NeworkQos") -- if any rows to delete if (rows) then errorFlag, statusCode = fwView.modifyQosProfile (rows, 'enable') end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) or statusCode web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "disable") then local field, splitted, rows = web.cgiSearch(cgi, "NeworkQos") -- if any rows to delete if (rows) then errorFlag, statusCode = fwView.modifyQosProfile (rows, 'disable') end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) or statusCode web.goToPage(NextPage, true, true) else configRow = {} configRow = db.getRow("NetworkQos", "_ROWID_", "1") local prog = db.getAttribute("environment", "name", "HW_OFFLOAD_SCRIPT", "value") if (prog ~= nil) then util.appendDebugOut("Exec = " .. os.execute("/pfrm2.0/bin/lua " .. prog .. " " .. DB_FILE_NAME )) end ?> $| COMPANY_NAME |$ $|PRODUCT_FAMILY|$ - QoS Profiles
 
QoS
 
IPv6
IPv4
 
 
$| statusMessage |$
Quality of Service
Do you want to enable QoS?
Yes
No
 
 
 
 
 
 
QoS Type: Rate Control
  Priority
 
 
 
List of QoS Profiles
  ! QoS Type Interface Name Service Direction Rate Hosts Action
$| qosType |$ $| row["NetworkQosProfile.InterfaceName"] |$ $| row["NetworkQosProfile.ServiceName"] |$ $| direction |$ $| rate |$ $| hosts |$