aboutsummaryrefslogtreecommitdiffstats
path: root/extras/packetforge/parsegraph/samples/mac_ipv4.json
blob: c0a8d18177d44dd1187602a4469202cc37a2b043 (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
{
    "type" : "path",
    "stack" : [
        {
            "header" : "mac"
        },
        {
            "header" : "ipv4",
            "fields" : [
                {
                    "name" : "src",
                    "value" : "1.1.1.1",
                    "mask" : "255.255.255.255"
                },
                {
                    "name" : "dst",
                    "value" : "2.2.2.2",
                    "mask" : "255.255.255.255"
                }
            ]
        }
    ],
    "actions" : "redirect-to-queue 3"
}