Debian Codegraph @

test/functional/configs/settings_merge.conf

raw
1 .include(duplicate=append,priority=0) "{= env.TESTDIR =}/configs/plugins.conf"
2
3 lua = "{= env.LUA_SCRIPT =}";
4
5 settings {
6 # Named setting with symbols_enabled for coexistence test
7 merge_profile {
8 id = "merge_profile";
9 apply {
10 symbols_enabled = ["MERGE_TEST_BASIC", "MERGE_HARD_DEP", "MERGE_WEAK_DEP"];
11 }
12 }
13
14 # Named setting with group controls
15 merge_group_ctl {
16 id = "merge_group_ctl";
17 apply {
18 symbols_enabled = ["MERGE_GROUP_SYM", "MERGE_GROUP_SYM2", "MERGE_TEST_BASIC"];
19 }
20 }
21
22 # Rule that matches by IP and provides action override
23 ip_rule {
24 ip = "7.7.7.7";
25 apply {
26 actions {
27 reject = 100.0;
28 greylist = 50.0;
29 }
30 }
31 }
32 }