mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
added client_policy_/server_policy_ to lint, public discover.sortedDeviceTypeLabels
This commit is contained in:
parent
ca8443ecf7
commit
d5ac31ee4c
2 changed files with 4 additions and 2 deletions
|
|
@ -1301,6 +1301,8 @@ local special_parameters = { --[[Suffix validator]] --[[Value Validator]]
|
|||
["qtime_"] = { validateShapedElement, validateNumber }, -- key: category or protocol ID, value: time quota
|
||||
["oldrule_"] = { validateShapedElement, validateEmpty }, -- key: category or protocol ID, value: empty
|
||||
["policy_"] = { validateShapedElement, validateListOfTypeInline(validateNumber) }, -- key: category or protocol ID, value: shaper,bytes_quota,secs_quota
|
||||
["client_policy_"] = { validateShapedElement, validateListOfTypeInline(validateNumber) }, -- key: category or protocol ID, value: shaper,bytes_quota,secs_quota
|
||||
["server_policy_"] = { validateShapedElement, validateListOfTypeInline(validateNumber) }, -- key: category or protocol ID, value: shaper,bytes_quota,secs_quota
|
||||
|
||||
-- ALERTS (see alert_utils.lua)
|
||||
["op_"] = { validateAlertDescriptor, validateOperator }, -- key: an alert descriptor, value: alert operator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue