projects
/
vsorcdistro
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
fbd5c214763eeba4177122494576c2ad5e7ad218
[vsorcdistro/.git]
/
4-2-ofp_flow_mod.packet.json
1
{
2
"cmd": 0,
3
"flow": {
4
"buffer_id": 65535,
5
"table_id": 1,
6
"priority": 123,
7
"match": {
8
"eth_dst": "f2:0b:a4:7d:f8:ea"
9
},
10
"actions": [
11
{
12
"type": "WRITE_ACTIONS",
13
"actions": [
14
{
15
"type": "SET_FIELD",
16
"field": "vlan_vid",
17
"value": 258
18
},
19
{
20
"type": "COPY_TTL_OUT"
21
},
22
{
23
"type": "COPY_TTL_IN"
24
},
25
{
26
"type": "COPY_TTL_IN"
27
},
28
{
29
"type": "POP_PBB"
30
},
31
{
32
"type": "PUSH_PBB",
33
"ethertype": 4660
34
},
35
{
36
"type": "POP_MPLS",
37
"ethertype": 39030
38
},
39
{
40
"type": "PUSH_MPLS",
41
"ethertype": 34887
42
},
43
{
44
"type": "POP_VLAN"
45
},
46
{
47
"type": "PUSH_VLAN",
48
"ethertype": 33024
49
},
50
{
51
"type": "DEC_MPLS_TTL"
52
},
53
{
54
"type": "SET_MPLS_TTL",
55
"mpls_ttl": 10
56
},
57
{
58
"type": "DEC_NW_TTL"
59
},
60
{
61
"type": "SET_NW_TTL",
62
"nw_ttl": 10
63
},
64
{
65
"type": "EXPERIMENTER",
66
"experimenter": 101,
67
"data": "AAECAwQFBgc=",
68
"data_type": "base64"
69
},
70
{
71
"type": "SET_QUEUE",
72
"queue_id": 3
73
},
74
{
75
"type": "GROUP",
76
"group_id": 99
77
},
78
{
79
"type": "OUTPUT",
80
"max_len": 65535,
81
"port": 6
82
}
83
]
84
},
85
{
86
"type": "SET_FIELD",
87
"field": "eth_src",
88
"value": "01:02:03:04:05:06"
89
},
90
{
91
"type": "SET_FIELD",
92
"field": "pbb_uca",
93
"value": 1
94
}
95
]
96
}
97
}