added client_policy_/server_policy_ to lint, public discover.sortedDeviceTypeLabels

This commit is contained in:
Alfredo Cardigliano 2018-09-26 18:02:44 +02:00
parent ca8443ecf7
commit d5ac31ee4c
2 changed files with 4 additions and 2 deletions

View file

@ -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