aboutsummaryrefslogtreecommitdiffstats
path: root/test/mandatory/log.json
blob: 1324f21b5d3a3dcbe84641c9e77e19d3adc1cc67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
    "log": {
	"dual": { "mode": "log", "mirror": "fc00::1" },
	"mirror": { "mirror": [ "10.0.0.1", "10.0.0.2", "fc00::2" ] },
	"none": { "mode": "none" },
	"ulog": { "mode": "ulog", "limit": { "interval": 5 } }
    },
    "packet-log": [
	{ "out": "_fw" },
	{ "out": "_fw", "log": "mirror" },
	{ "out": "_fw", "log": "ulog" }
    ],
    "filter": [
	{},
	{ "action": "drop" },
	{ "action": "pass" },
	{ "log": false },
	{ "log": false, "action": "drop" },
	{ "log": false, "action": "pass" },
	{ "log": true },
	{ "log": true, "action": "drop" },
	{ "log": true, "action": "pass" },
	{ "log": "dual" },
	{ "log": "dual", "action": "drop" },
	{ "log": "dual", "action": "pass" },
	{ "log": "mirror" },
	{ "log": "mirror", "action": "drop" },
	{ "log": "mirror", "action": "pass" },
	{ "log": "none" },
	{ "log": "none", "action": "drop" },
	{ "log": "none", "action": "pass" },

	{ "log": "ulog" },
	{ "log": "ulog", "action": "drop" },
	{ "log": "ulog", "action": "pass" },
	{ "in": "_fw", "log": "ulog", "action": "pass" }
    ]
}