backing up
[vsorcdistro/.git] / ryu / build / lib.linux-armv7l-2.7 / ryu / tests / unit / ofproto / json / of15 / lib-ofctl-OFP15-flow_mod.packet.json
1 {
2    "OFPFlowMod": {
3       "buffer_id": 65535, 
4       "command": 0, 
5       "cookie": 0, 
6       "cookie_mask": 0, 
7       "flags": 0, 
8       "hard_timeout": 0, 
9       "idle_timeout": 0, 
10       "importance": 0, 
11       "instructions": [
12          {
13             "OFPInstructionActions": {
14                "actions": [
15                   {
16                      "OFPActionSetField": {
17                         "field": {
18                            "OXMTlv": {
19                               "field": "vlan_vid", 
20                               "mask": null, 
21                               "value": 258
22                            }
23                         },
24                         "len": 16,
25                         "type": 25
26                      }
27                   }, 
28                   {
29                      "OFPActionCopyTtlOut": {
30                         "len": 8, 
31                         "type": 11
32                      }
33                   }, 
34                   {
35                      "OFPActionCopyTtlIn": {
36                         "len": 8, 
37                         "type": 12
38                      }
39                   }, 
40                   {
41                      "OFPActionCopyTtlIn": {
42                         "len": 8, 
43                         "type": 12
44                      }
45                   }, 
46                   {
47                      "OFPActionPopPbb": {
48                         "len": 8, 
49                         "type": 27
50                      }
51                   }, 
52                   {
53                      "OFPActionPushPbb": {
54                         "ethertype": 4660, 
55                         "len": 8, 
56                         "type": 26
57                      }
58                   }, 
59                   {
60                      "OFPActionPopMpls": {
61                         "ethertype": 39030, 
62                         "len": 8, 
63                         "type": 20
64                      }
65                   }, 
66                   {
67                      "OFPActionPushMpls": {
68                         "ethertype": 34887, 
69                         "len": 8, 
70                         "type": 19
71                      }
72                   }, 
73                   {
74                      "OFPActionPopVlan": {
75                         "len": 8, 
76                         "type": 18
77                      }
78                   }, 
79                   {
80                      "OFPActionPushVlan": {
81                         "ethertype": 33024, 
82                         "len": 8, 
83                         "type": 17
84                      }
85                   }, 
86                   {
87                      "OFPActionDecMplsTtl": {
88                         "len": 8, 
89                         "type": 16
90                      }
91                   }, 
92                   {
93                      "OFPActionSetMplsTtl": {
94                         "len": 8, 
95                         "mpls_ttl": 10, 
96                         "type": 15
97                      }
98                   }, 
99                   {
100                      "OFPActionDecNwTtl": {
101                         "len": 8, 
102                         "type": 24
103                      }
104                   }, 
105                   {
106                      "OFPActionSetNwTtl": {
107                         "len": 8, 
108                         "nw_ttl": 10, 
109                         "type": 23
110                      }
111                   }, 
112                   {
113                      "OFPActionExperimenterUnknown": {
114                         "data": "AAECAwQFBgc=", 
115                         "experimenter": 101, 
116                         "len": 16, 
117                         "type": 65535
118                      }
119                   }, 
120                   {
121                      "OFPActionSetQueue": {
122                         "len": 8, 
123                         "queue_id": 3, 
124                         "type": 21
125                      }
126                   }, 
127                   {
128                      "OFPActionMeter": {
129                         "len": 8,
130                         "meter_id": 2,
131                         "type": 29
132                      }
133                   },
134                   {
135                      "OFPActionGroup": {
136                         "group_id": 99, 
137                         "len": 8, 
138                         "type": 22
139                      }
140                   }, 
141                   {
142                      "OFPActionOutput": {
143                         "len": 16, 
144                         "max_len": 65535, 
145                         "port": 6, 
146                         "type": 0
147                      }
148                   }
149                ], 
150                "len": 176, 
151                "type": 3
152             }
153          }, 
154          {
155             "OFPInstructionActions": {
156                "actions": [
157                   {
158                      "OFPActionSetField": {
159                         "field": {
160                            "OXMTlv": {
161                               "field": "eth_src", 
162                               "mask": null, 
163                               "value": "01:02:03:04:05:06"
164                            }
165                         },
166                         "len": 16,
167                         "type": 25
168                      }
169                   }, 
170                   {
171                      "OFPActionSetField": {
172                         "field": {
173                            "OXMTlv": {
174                               "field": "pbb_uca", 
175                               "mask": null, 
176                               "value": 1
177                            }
178                         },
179                         "len": 16,
180                         "type": 25
181                      }
182                   },
183                   {
184                      "OFPActionCopyField": {
185                          "type": 28,
186                          "len": 20, 
187                          "n_bits": 32, 
188                          "src_offset": 1, 
189                          "dst_offset": 2, 
190                          "oxm_ids": [
191                              {
192                                  "OFPOxmId": {
193                                      "hasmask": false, 
194                                      "length": 0, 
195                                      "type": "eth_src"
196                                  }
197                              }, 
198                              {
199                                  "OFPOxmId": {
200                                      "hasmask": false, 
201                                      "length": 0, 
202                                      "type": "eth_dst"
203                                  }
204                              }
205                          ]
206                      }
207                   }
208                ], 
209                "len": 60, 
210                "type": 4
211             }
212          }
213       ], 
214       "match": {
215          "OFPMatch": {
216             "length": 14, 
217             "oxm_fields": [
218                {
219                   "OXMTlv": {
220                      "field": "eth_dst", 
221                      "mask": null, 
222                      "value": "f2:0b:a4:7d:f8:ea"
223                   }
224                }
225             ], 
226             "type": 1
227          }
228       }, 
229       "out_group": 4294967295, 
230       "out_port": 4294967295, 
231       "priority": 123, 
232       "table_id": 1
233    }
234 }