backing up
[vsorcdistro/.git] / ryu / build / lib.linux-armv7l-2.7 / ryu / tests / unit / lib / ofctl_json / of15 / lib-ofctl-OFP15-flow_mod.packet.json
1 {
2     "cmd": 0,
3     "flow": {
4         "instructions": [
5             {
6                 "actions": [
7                     {
8                         "field": "vlan_vid",
9                         "type": "SET_FIELD",
10                         "value": 258
11                     },
12                     {
13                         "type": "COPY_TTL_OUT"
14                     },
15                     {
16                         "type": "COPY_TTL_IN"
17                     },
18                     {
19                         "type": "COPY_TTL_IN"
20                     },
21                     {
22                         "type": "POP_PBB"
23                     },
24                     {
25                         "ethertype": 4660,
26                         "type": "PUSH_PBB"
27                     },
28                     {
29                         "ethertype": 39030,
30                         "type": "POP_MPLS"
31                     },
32                     {
33                         "ethertype": 34887,
34                         "type": "PUSH_MPLS"
35                     },
36                     {
37                         "type": "POP_VLAN"
38                     },
39                     {
40                         "ethertype": 33024,
41                         "type": "PUSH_VLAN"
42                     },
43                     {
44                         "type": "DEC_MPLS_TTL"
45                     },
46                     {
47                         "mpls_ttl": 10,
48                         "type": "SET_MPLS_TTL"
49                     },
50                     {
51                         "type": "DEC_NW_TTL"
52                     },
53                     {
54                         "nw_ttl": 10,
55                         "type": "SET_NW_TTL"
56                     },
57                     {
58                         "data": "AAECAwQFBgc=",
59                         "data_type": "base64",
60                         "experimenter": 101,
61                         "type": "EXPERIMENTER"
62                     },
63                     {
64                         "queue_id": 3,
65                         "type": "SET_QUEUE"
66                     },
67                     {
68                         "meter_id": 2,
69                         "type": "METER"
70                     },
71                     {
72                         "group_id": 99,
73                         "type": "GROUP"
74                     },
75                     {
76                         "max_len": 65535,
77                         "port": 6,
78                         "type": "OUTPUT"
79                     }
80                 ],
81                 "type": "WRITE_ACTIONS"
82             },
83             {
84                 "actions": [
85                     {
86                         "field": "eth_src",
87                         "type": "SET_FIELD",
88                         "value": "01:02:03:04:05:06"
89                     },
90                     {
91                         "field": "pbb_uca",
92                         "type": "SET_FIELD",
93                         "value": 1
94                     },
95                     {
96                         "type": "COPY_FIELD",
97                         "n_bits": 32,
98                         "src_offset": 1,
99                         "dst_offset": 2,
100                         "src_oxm_id": "eth_src",
101                         "dst_oxm_id": "eth_dst"
102                     }
103                 ],
104                 "type": "APPLY_ACTIONS"
105             }
106         ],
107         "buffer_id": 65535,
108         "importance": 0,
109         "match": {
110             "eth_dst": "f2:0b:a4:7d:f8:ea"
111         },
112         "priority": 123,
113         "table_id": 1
114     }
115 }