aboutsummaryrefslogtreecommitdiffstats
path: root/extras/packetforge/parsegraph/samples/mac_vlan_ipv4.json
blob: 7905133a8e023846cf2ae3643b81d1c0bc9d3df7 (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
{
    "type" : "path",
    "stack" : [
        {
            "header" : "mac"
        },
        {
            "header" : "vlan",
            "fields" : [
                {
                    "name" : "vid",
                    "value" : "100",
                    "mask" : "0xfff"
                }
            ]
        },
        {
            "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" : "rss"
}