Add a preference to specify what to show on the policy target column.

The new default is to only show categories.
Existing installations will have the preference set to both.
All the user defined protocols and categories are shown regardless of the preference (as not-editable fields in case).
This commit is contained in:
emanuele-f 2017-09-20 00:02:08 +02:00
parent a3f24fcdfc
commit d3292c1b7e
6 changed files with 90 additions and 32 deletions

View file

@ -891,6 +891,7 @@ local known_parameters = {
["toggle_thpt_content"] = validateChoiceInline({"bps", "pps"}),
["toggle_host_mask"] = validateChoiceInline({"0", "1", "2"}),
["topk_heuristic_precision"] = validateChoiceInline({"disabled", "more_accurate", "accurate", "aggressive"}),
["bridging_policy_target_type"] = validateChoiceInline({"per_protocol", "per_category", "both"}),
-- Other
["flush_alerts_data"] = validateEmpty,