Scripts placed on scripts directory
[vsorcdistro/.git] / ryu / ryu / tests / packet_data_generator / src / x4.erl
1 %% Copyright (C) 2013 Nippon Telegraph and Telephone Corporation.
2 %% Copyright (C) 2013 YAMAMOTO Takashi <yamamoto at valinux co jp>
3 %%
4 %% Licensed under the Apache License, Version 2.0 (the "License");
5 %% you may not use this file except in compliance with the License.
6 %% You may obtain a copy of the License at
7 %%
8 %%    http://www.apache.org/licenses/LICENSE-2.0
9 %%
10 %% Unless required by applicable law or agreed to in writing, software
11 %% distributed under the License is distributed on an "AS IS" BASIS,
12 %% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13 %% implied.
14 %% See the License for the specific language governing permissions and
15 %% limitations under the License.
16
17 -module(x4).
18 -export([x/0]).
19
20 -include_lib("of_protocol/include/of_protocol.hrl").
21 -include_lib("of_protocol/include/ofp_v4.hrl").
22
23 x() ->
24     AllFields = [
25          #ofp_field{
26              class = openflow_basic,name = in_port,
27              has_mask = false,
28              value = <<5,6,7,8>>,
29              mask = undefined},
30          #ofp_field{
31              class = openflow_basic,name = in_phy_port,
32              has_mask = false,
33              value = <<1,2,3,4>>,
34              mask = undefined},
35          #ofp_field{
36              class = openflow_basic,name = metadata,
37              has_mask = false,
38              value = <<0,1,2,3,4,5,6,7>>,
39              mask = undefined},
40          #ofp_field{
41              class = openflow_basic,name = eth_type,
42              has_mask = false,
43              value = <<8,6>>,
44              mask = undefined},
45          #ofp_field{
46              class = openflow_basic,name = eth_dst,
47              has_mask = false,value = <<"\377\377\377\377\377\377">>,
48              mask = undefined},
49          #ofp_field{
50              class = openflow_basic,name = eth_src,
51              has_mask = false,value = <<"\362\v\244}\370\352">>,
52              mask = undefined},
53          #ofp_field{
54              class = openflow_basic,name = vlan_vid,
55              has_mask = false,value = <<999:13>>,
56              mask = undefined},
57          #ofp_field{
58              class = openflow_basic,name = ip_dscp,
59              has_mask = false,value = <<9:6>>,
60              mask = undefined},
61          #ofp_field{
62              class = openflow_basic,name = ip_ecn,
63              has_mask = false,value = <<3:2>>,
64              mask = undefined},
65          #ofp_field{
66              class = openflow_basic,name = ip_proto,
67              has_mask = false,value = <<99>>,
68              mask = undefined},
69          #ofp_field{
70              class = openflow_basic,name = ipv4_src,
71              has_mask = false,value = <<1,2,3,4>>,
72              mask = undefined},
73          #ofp_field{
74              class = openflow_basic,name = ipv4_dst,
75              has_mask = false,value = <<1,2,3,4>>,
76              mask = undefined},
77          #ofp_field{
78              class = openflow_basic,name = tcp_src,
79              has_mask = false,value = <<8080:16>>,
80              mask = undefined},
81          #ofp_field{
82              class = openflow_basic,name = tcp_dst,
83              has_mask = false,value = <<18080:16>>,
84              mask = undefined},
85          #ofp_field{
86              class = openflow_basic,name = udp_src,
87              has_mask = false,value = <<28080:16>>,
88              mask = undefined},
89          #ofp_field{
90              class = openflow_basic,name = udp_dst,
91              has_mask = false,value = <<318080:16>>,
92              mask = undefined},
93          #ofp_field{
94              class = openflow_basic,name = sctp_src,
95              has_mask = false,value = <<48080:16>>,
96              mask = undefined},
97          #ofp_field{
98              class = openflow_basic,name = sctp_dst,
99              has_mask = false,value = <<518080:16>>,
100              mask = undefined},
101          #ofp_field{
102              class = openflow_basic,name = icmpv4_type,
103              has_mask = false,value = <<100>>,
104              mask = undefined},
105          #ofp_field{
106              class = openflow_basic,name = icmpv4_code,
107              has_mask = false,value = <<101>>,
108              mask = undefined},
109          #ofp_field{
110              class = openflow_basic,name = arp_op,
111              has_mask = false,
112              value = <<0,1>>,
113              mask = undefined},
114          #ofp_field{
115              class = openflow_basic,name = arp_spa,
116              has_mask = false,
117              value = <<10,0,0,1>>,
118              mask = undefined},
119          #ofp_field{
120              class = openflow_basic,name = arp_tpa,
121              has_mask = false,
122              value = <<10,0,0,3>>,
123              mask = undefined},
124          #ofp_field{
125              class = openflow_basic,name = arp_sha,
126              has_mask = false,value = <<"\362\v\244}\370\352">>,
127              mask = undefined},
128          #ofp_field{
129              class = openflow_basic,name = arp_tha,
130              has_mask = false,
131              value = <<0,0,0,0,0,0>>,
132              mask = undefined},
133          #ofp_field{
134              class = openflow_basic,name = ipv6_src,
135              has_mask = false,
136              % fe80::f00b:a4ff:fe48:28a5
137              value = <<16#fe80000000000000f00ba4fffe4828a5:128>>,
138              mask = undefined},
139          #ofp_field{
140              class = openflow_basic,name = ipv6_dst,
141              has_mask = false,
142              % fe80::f00b:a4ff:fe05:b7dc
143              value = <<16#fe80000000000000f00ba4fffe05b7dc:128>>,
144              mask = undefined},
145          #ofp_field{
146              class = openflow_basic,name = ipv6_flabel,
147              has_mask = false,
148              value = <<16#84321:20>>,
149              mask = undefined},
150          #ofp_field{
151              class = openflow_basic,name = icmpv6_type,
152              has_mask = false,
153              value = <<200>>,
154              mask = undefined},
155          #ofp_field{
156              class = openflow_basic,name = icmpv6_code,
157              has_mask = false,
158              value = <<201>>,
159              mask = undefined},
160          #ofp_field{
161              class = openflow_basic,name = ipv6_nd_target,
162              has_mask = false,
163              % fe80::a60:6eff:fe7f:74e7
164              value = <<16#fe800000000000000a606efffe7f74e7:128>>,
165              mask = undefined},
166          #ofp_field{
167              class = openflow_basic,name = ipv6_nd_sll,
168              has_mask = false,
169              value = <<666:48>>,
170              mask = undefined},
171          #ofp_field{
172              class = openflow_basic,name = ipv6_nd_tll,
173              has_mask = false,
174              value = <<555:48>>,
175              mask = undefined},
176          #ofp_field{
177              class = openflow_basic,name = mpls_label,
178              has_mask = false,
179              value = <<16#98765:20>>,
180              mask = undefined},
181          #ofp_field{
182              class = openflow_basic,name = mpls_tc,
183              has_mask = false,
184              value = <<5:3>>,
185              mask = undefined},
186          #ofp_field{
187              class = openflow_basic,name = mpls_bos,
188              has_mask = false,
189              value = <<1:1>>,
190              mask = undefined},
191          #ofp_field{
192              class = openflow_basic,name = pbb_isid,
193              has_mask = false,
194              value = <<16#abcdef:24>>,
195              mask = undefined},
196          #ofp_field{
197              class = openflow_basic,name = tunnel_id,
198              has_mask = false,
199              value = <<9,9,9,9,9,9,9,9>>,
200              mask = undefined},
201          #ofp_field{
202              class = openflow_basic,name = ipv6_exthdr,
203              has_mask = false,
204              value = <<500:9>>,
205              mask = undefined},
206          #ofp_field{
207              class = {experimenter, onf},name = pbb_uca,
208              has_mask = false,
209              value = <<1:1>>,
210              mask = undefined},
211          #ofp_field{
212              class = nxm_1,name = 31,  % tun_ipv4_src
213              has_mask = false,
214              value = <<1,2,3,4>>,
215              mask = undefined},
216          #ofp_field{
217              class = nxm_1,name = 32,  % tun_ipv4_dst
218              has_mask = false,
219              value = <<1,2,3,4>>,
220              mask = undefined}
221     ],
222     List = [
223         #ofp_desc_reply{flags = [], mfr_desc = <<"mfr">>,
224                               hw_desc = <<"hw">>, sw_desc = <<"sw">>,
225                               serial_num = <<"serial">>,
226                               dp_desc = <<"dp">>},
227         #ofp_packet_out{
228             buffer_id = no_buffer,in_port = controller,
229             actions = 
230                 [#ofp_action_output{port = all,max_len = no_buffer}],
231             data = 
232                 <<242,11,164,208,63,112,242,11,164,125,248,234,8,0,69,0,
233                   0,84,248,26,0,0,255,1,175,139,10,0,0,1,10,0,0,2,8,0,2,
234                   8,247,96,0,0,49,214,2,0,0,0,0,0,171,141,45,49,0,0,0,0,
235                   16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,
236                   34,35,36,37,38,39,40,41,42,43,44,45,46,47,0,0,0,0,0,0,
237                   0,0>>},
238         #ofp_flow_mod{
239             cookie = <<0,0,0,0,0,0,0,0>>,
240             cookie_mask = <<0,0,0,0,0,0,0,0>>,
241             table_id = 1,command = add,idle_timeout = 0,
242             hard_timeout = 0,priority = 123,buffer_id = 65535,
243             out_port = any,out_group = any,flags = [],
244             match =
245                 #ofp_match{
246                     fields =
247                         [#ofp_field{
248                              class = openflow_basic,name = eth_dst,
249                              has_mask = false,
250                              value = <<"\362\v\244}\370\352">>,
251                              mask = undefined}]},
252             instructions =
253                 [#ofp_instruction_write_actions{
254                      actions =
255                          [#ofp_action_set_field{
256                              field = #ofp_field{name = vlan_vid,
257                                                 value = <<258:13>> }},
258                           #ofp_action_copy_ttl_out{},
259                           #ofp_action_copy_ttl_in{},
260                           #ofp_action_copy_ttl_in{},
261                           #ofp_action_pop_pbb{},
262                           #ofp_action_push_pbb{ethertype = 16#1234},
263                           #ofp_action_pop_mpls{ethertype= 16#9876},
264                           #ofp_action_push_mpls{ethertype = 16#8847},
265                           #ofp_action_pop_vlan{},
266                           #ofp_action_push_vlan{ethertype = 16#8100},
267                           #ofp_action_dec_mpls_ttl{},
268                           #ofp_action_set_mpls_ttl{mpls_ttl = 10},
269                           #ofp_action_dec_nw_ttl{},
270                           #ofp_action_set_nw_ttl{nw_ttl = 10},
271                           #ofp_action_experimenter{
272                               experimenter = 101,
273                               data = <<0,1,2,3,4,5,6,7>>},
274                           #ofp_action_set_queue{queue_id = 3},
275                           #ofp_action_group{group_id = 99},
276                           #ofp_action_output{port = 6,max_len = no_buffer}]},
277                  #ofp_instruction_apply_actions{
278                      actions =
279                          [#ofp_action_set_field{
280                              field = #ofp_field{name = eth_src,
281                                                 value = <<1,2,3,4,5,6>> }},
282                           #ofp_action_set_field{
283                              field = #ofp_field{class = {experimenter, onf},
284                                                 name = pbb_uca,
285                                                 value = <<1:1>> }}]}]},
286         #ofp_flow_mod{
287             cookie = <<0,0,0,0,0,0,0,0>>,
288             cookie_mask = <<0,0,0,0,0,0,0,0>>,
289             table_id = 0,command = add,idle_timeout = 0,
290             hard_timeout = 0,priority = 123,buffer_id = 65535,
291             out_port = any,out_group = any,flags = [],
292             match =
293                 #ofp_match{
294                     fields =
295                         [#ofp_field{
296                              class = openflow_basic,name = in_port,
297                              has_mask = false,
298                              value = <<0,0,0,6>>,
299                              mask = undefined},
300                          #ofp_field{
301                              class = openflow_basic,name = eth_src,
302                              has_mask = false,
303                              value = <<"\362\v\244}\370\352">>,
304                              mask = undefined}]},
305             instructions =
306                 [#ofp_instruction_goto_table{table_id = 1}]},
307         #ofp_packet_in{
308             buffer_id = 2,reason = action,table_id = 1,
309             cookie = <<0,1,2,3,0,0,0,0>>,
310             match =
311                 #ofp_match{
312                     fields =
313                         [#ofp_field{
314                              class = openflow_basic,name = in_port,
315                              has_mask = false,
316                              value = <<0,0,0,6>>,
317                              mask = undefined},
318                          #ofp_field{
319                              class = openflow_basic,name = eth_type,
320                              has_mask = false,
321                              value = <<8,6>>,
322                              mask = undefined},
323                          #ofp_field{
324                              class = openflow_basic,name = eth_dst,
325                              has_mask = false,value = <<"\377\377\377\377\377\377">>,
326                              mask = undefined},
327                          #ofp_field{
328                              class = openflow_basic,name = eth_src,
329                              has_mask = false,value = <<"\362\v\244}\370\352">>,
330                              mask = undefined},
331                          #ofp_field{
332                              class = openflow_basic,name = arp_op,
333                              has_mask = false,
334                              value = <<0,1>>,
335                              mask = undefined},
336                          #ofp_field{
337                              class = openflow_basic,name = arp_spa,
338                              has_mask = false,
339                              value = <<10,0,0,1>>,
340                              mask = undefined},
341                          #ofp_field{
342                              class = openflow_basic,name = arp_tpa,
343                              has_mask = false,
344                              value = <<10,0,0,3>>,
345                              mask = undefined},
346                          #ofp_field{
347                              class = openflow_basic,name = arp_sha,
348                              has_mask = false,value = <<"\362\v\244}\370\352">>,
349                              mask = undefined},
350                          #ofp_field{
351                              class = openflow_basic,name = arp_tha,
352                              has_mask = false,
353                              value = <<0,0,0,0,0,0>>,
354                              mask = undefined}]},
355             data =
356                 <<255,255,255,255,255,255,242,11,164,125,248,234,8,6,0,
357                   1,8,0,6,4,0,1,242,11,164,125,248,234,10,0,0,1,0,0,0,0,
358                   0,0,10,0,0,3>>},
359         #ofp_features_request{},
360         #ofp_features_reply{
361             datapath_mac = <<8,96,110,127,116,231>>,
362             datapath_id = 0,n_buffers = 0,n_tables = 255,
363             auxiliary_id = 99,
364             capabilities = 
365                 [flow_stats,table_stats,port_stats,group_stats,queue_stats]},
366         #ofp_set_config{flags = [],miss_send_len = 128},
367         #ofp_get_config_request{},
368         #ofp_get_config_reply{flags = [],miss_send_len = 128},
369         #ofp_hello{elements = [{versionbitmap, [30, 10, 9, 3, 2, 1]}]},
370         #ofp_flow_stats_request{
371             flags = [],table_id = 0,out_port = any,out_group = any,
372             cookie = <<0,0,0,0,0,0,0,0>>,
373             cookie_mask = <<0,0,0,0,0,0,0,0>>,
374             match = #ofp_match{fields = []}},
375         #ofp_flow_stats_reply{
376             flags = [],
377             body =
378                 [#ofp_flow_stats{
379                      table_id = 0,duration_sec = 358,
380                      duration_nsec = 115277000,priority = 65535,
381                      idle_timeout = 0,hard_timeout = 0,
382                      cookie = <<0,0,0,0,0,0,0,0>>,
383                      packet_count = 0,byte_count = 0,
384                      match = #ofp_match{fields = []},
385                      instructions = []},
386                  #ofp_flow_stats{
387                      table_id = 0,duration_sec = 358,
388                      duration_nsec = 115055000,priority = 65534,
389                      idle_timeout = 0,hard_timeout = 0,
390                      cookie = <<0,0,0,0,0,0,0,0>>,
391                      packet_count = 0,byte_count = 0,
392                      match =
393                          #ofp_match{
394                              fields =
395                                  [#ofp_field{
396                                       class = openflow_basic,name = eth_type,
397                                       has_mask = false,
398                                       value = <<8,6>>,
399                                       mask = undefined}]},
400                      instructions =
401                          [#ofp_instruction_apply_actions{
402                               actions =
403                                   [#ofp_action_output{
404                                        port = normal,max_len = 0}]}]},
405                  #ofp_flow_stats{
406                      table_id = 0,duration_sec = 316220,
407                      duration_nsec = 511582000,priority = 123,
408                      idle_timeout = 0,hard_timeout = 0,
409                      cookie = <<0,0,0,0,0,0,0,0>>,
410                      packet_count = 3,byte_count = 238,
411                      match =
412                          #ofp_match{
413                              fields =
414                                  [#ofp_field{
415                                       class = openflow_basic,name = in_port,
416                                       has_mask = false,
417                                       value = <<0,0,0,6>>,
418                                       mask = undefined},
419                                   #ofp_field{
420                                       class = openflow_basic,name = eth_src,
421                                       has_mask = false,
422                                       value = <<"\362\v\244}\370\352">>,
423                                       mask = undefined}]},
424                      instructions =
425                          [#ofp_instruction_goto_table{table_id = 1}]},
426                  #ofp_flow_stats{
427                      table_id = 0,duration_sec = 313499,
428                      duration_nsec = 980901000,priority = 0,
429                      idle_timeout = 0,hard_timeout = 0,
430                      cookie = <<0,0,0,0,0,0,0,0>>,
431                      packet_count = 1,byte_count = 98,
432                      match = #ofp_match{fields = []},
433                      instructions =
434                          [#ofp_instruction_write_actions{
435                               actions =
436                                   [#ofp_action_set_field{
437                                       field = #ofp_field{name = vlan_vid,
438                                                          value = <<258:13>> }},
439                                    #ofp_action_copy_ttl_out{},
440                                    #ofp_action_copy_ttl_in{},
441                                    #ofp_action_copy_ttl_in{},
442                                    #ofp_action_pop_pbb{},
443                                    #ofp_action_push_pbb{ethertype = 16#1234},
444                                    #ofp_action_pop_mpls{ethertype= 16#9876},
445                                    #ofp_action_push_mpls{ethertype = 16#8847},
446                                    #ofp_action_pop_vlan{},
447                                    #ofp_action_push_vlan{ethertype = 16#8100},
448                                    #ofp_action_dec_mpls_ttl{},
449                                    #ofp_action_set_mpls_ttl{mpls_ttl = 10},
450                                    #ofp_action_dec_nw_ttl{},
451                                    #ofp_action_set_nw_ttl{nw_ttl = 10},
452                                    #ofp_action_set_queue{queue_id = 3},
453                                    #ofp_action_group{group_id = 99},
454                                    #ofp_action_output{port = 6,
455                                                       max_len = no_buffer},
456                                    #ofp_action_experimenter{experimenter = 98765432,
457                                                             data = <<"exp_data">>},
458                                    #ofp_action_experimenter{experimenter = 8992,
459                                                             data = <<"exp_data">>}
460                                                             ]},
461                           #ofp_instruction_apply_actions{
462                               actions =
463                                   [#ofp_action_set_field{
464                                       field = #ofp_field{name = eth_src,
465                                                          value = <<1,2,3,4,
466                                                                    5,6>> }},
467                                    #ofp_action_set_field{
468                                       field = #ofp_field{class = {experimenter,
469                                                                   onf},
470                                                          name = pbb_uca,
471                                                          value = <<1:1>> }}]},
472                           #ofp_instruction_write_actions{
473                               actions =
474                                   [#ofp_action_output{
475                                        port = controller,
476                                        max_len = no_buffer}]}]}]},
477         #ofp_echo_request{
478             data = <<"hoge">>
479         },
480         #ofp_echo_reply{
481             data = <<"hoge">>
482         },
483         #ofp_error_msg{
484             type = bad_action,
485             code = unsupported_order,
486             data = <<"fugafuga">>
487         },
488         #ofp_experimenter{
489             experimenter = 98765432,
490             exp_type = 123456789,
491             data = <<"nazo">>
492         },
493         #ofp_barrier_request{},
494         #ofp_barrier_reply{},
495         #ofp_role_request{
496             role = master,
497             generation_id = 16#f000f000f000f000},
498         #ofp_role_reply{
499             role = slave,
500             generation_id = 16#f000f000f000f000},
501
502         #ofp_group_mod{
503             command = add,type = all,group_id = 1,
504             buckets = 
505                 [#ofp_bucket{
506                      weight = 1,watch_port = 1,watch_group = 1,
507                      actions = 
508                          [#ofp_action_output{port = 2,max_len = no_buffer}]}]},
509         #ofp_port_mod{port_no = 1, hw_addr = <<0,17,0,0,17,17>>,
510             config = [],mask = [], advertise = [fiber]},
511         #ofp_table_mod{table_id = all},
512         #ofp_desc_request{},
513         #ofp_aggregate_stats_request{
514             flags = [],table_id = all,out_port = any,out_group = any,
515             cookie = <<0,0,0,0,0,0,0,0>>,
516             cookie_mask = <<0,0,0,0,0,0,0,0>>,
517             match = #ofp_match{fields = []}},
518         #ofp_aggregate_stats_reply{flags = [],packet_count = 7,
519                                    byte_count = 574,flow_count = 6},
520         #ofp_table_stats_request{},
521
522 #ofp_table_stats_reply{
523     flags = [],
524     body =
525         [#ofp_table_stats{
526              table_id = 0,
527              active_count = 4, lookup_count = 4,matched_count = 4},
528          #ofp_table_stats{
529              table_id = 1,
530              active_count = 4, lookup_count = 4,matched_count = 4}]},
531
532         #ofp_port_stats_request{flags = [],port_no = any},
533         #ofp_port_stats_reply{
534             flags = [],
535             body = 
536                 [#ofp_port_stats{
537                      port_no = 7,rx_packets = 0,tx_packets = 4,rx_bytes = 0,
538                      tx_bytes = 336,rx_dropped = 0,tx_dropped = 0,
539                      rx_errors = 0,
540                      tx_errors = 0,rx_frame_err = 0,rx_over_err = 0,
541                      rx_crc_err = 0,collisions = 0},
542                  #ofp_port_stats{
543                      port_no = 6,rx_packets = 4,tx_packets = 4,rx_bytes = 336,
544                      tx_bytes = 336,rx_dropped = 0,tx_dropped = 0,
545                      rx_errors = 0,
546                      tx_errors = 0,rx_frame_err = 0,rx_over_err = 0,
547                      rx_crc_err = 0,collisions = 0}]},
548         #ofp_group_features_request{flags = []},
549         #ofp_group_features_reply{
550             flags = [],
551             types = [all,select,indirect,ff],
552             capabilities = [select_weight,chaining],
553             max_groups = {16777216,16777216,16777216,16777216},
554             actions =
555                 {[output,copy_ttl_out,copy_ttl_in,set_mpls_ttl,dec_mpls_ttl,push_vlan,pop_vlan,push_mpls,pop_mpls,set_queue,group,set_nw_ttl,dec_nw_ttl,set_field],
556                  [output,copy_ttl_out,copy_ttl_in,set_mpls_ttl,dec_mpls_ttl,push_vlan,pop_vlan,push_mpls,pop_mpls,set_queue,group,set_nw_ttl,dec_nw_ttl,set_field],
557                  [output,copy_ttl_out,copy_ttl_in,set_mpls_ttl,dec_mpls_ttl,push_vlan,pop_vlan,push_mpls,pop_mpls,set_queue,group,set_nw_ttl,dec_nw_ttl,set_field],
558                  [output,copy_ttl_out,copy_ttl_in,set_mpls_ttl,dec_mpls_ttl,push_vlan,pop_vlan,push_mpls,pop_mpls,set_queue,group,set_nw_ttl,dec_nw_ttl,set_field]}},
559         #ofp_group_desc_request{},
560         #ofp_group_desc_reply{
561             flags = [],
562             body = 
563                 [#ofp_group_desc_stats{
564                      type = all,group_id = 1,
565                      buckets = 
566                          [#ofp_bucket{
567                               weight = 1,watch_port = 1,watch_group = 1,
568                               actions = 
569                                   [#ofp_action_output{
570                                        port = 2, max_len = no_buffer}]}]}]},
571         #ofp_queue_get_config_request{port = any},
572         #ofp_queue_get_config_reply{port = any,queues = [
573             #ofp_packet_queue{queue_id = 99, port_no = 77,
574                 properties = [
575                     #ofp_queue_prop_min_rate{rate = 10},
576                     #ofp_queue_prop_max_rate{rate = 900},
577                     #ofp_queue_prop_experimenter{experimenter = 999,
578                                                  data = <<>>}
579                 ]
580             },
581             #ofp_packet_queue{queue_id = 88, port_no = 77,
582                 properties = [
583                     #ofp_queue_prop_min_rate{rate = 100},
584                     #ofp_queue_prop_max_rate{rate = 200},
585                     #ofp_queue_prop_experimenter{experimenter = 999,
586                                                  data = <<1:8>>}
587                 ]
588             },
589             #ofp_packet_queue{queue_id = 77, port_no = 77,
590                 properties = [
591                     #ofp_queue_prop_min_rate{rate = 200},
592                     #ofp_queue_prop_max_rate{rate = 400},
593                     #ofp_queue_prop_experimenter{experimenter = 999,
594                                                  data = <<1:8,2:8>>}
595                 ]
596             }
597         ]},
598         #ofp_queue_stats_request{flags = [],port_no = any,
599                                  queue_id = all},
600         #ofp_queue_stats_reply{
601             flags = [],
602             body = 
603                 [#ofp_queue_stats{
604                      port_no = 7,queue_id = 1,tx_bytes = 0,tx_packets = 0,
605                      tx_errors = 0},
606                  #ofp_queue_stats{
607                      port_no = 6,queue_id = 1,tx_bytes = 0,tx_packets = 0,
608                      tx_errors = 0},
609                  #ofp_queue_stats{
610                      port_no = 7,queue_id = 2,tx_bytes = 0,tx_packets = 0,
611                      tx_errors = 0}]},
612         #ofp_port_status{
613             reason = add,
614             desc = #ofp_port{
615                      port_no = 7,hw_addr = <<"\362\v\244\320?p">>,
616                      name = <<"\xe7\xa7\x81\xe3\x81\xae\xe3\x83\x9d\xe3\x83\xbc\xe3\x83\x88">>,  % "my port" in japanese, utf-8
617                      config = [],
618                      state = [live],
619                      curr = ['100mb_fd',copper,autoneg],
620                      advertised = [copper,autoneg],
621                      supported = ['100mb_fd',copper,autoneg],
622                      peer = ['100mb_fd',copper,autoneg],
623                      curr_speed = 5000,max_speed = 5000}
624         },
625         #ofp_flow_removed{
626             cookie = <<0,0,0,0,0,0,0,0>>,
627             priority = 65535,reason = idle_timeout,table_id = 0,
628             duration_sec = 3,duration_nsec = 48825000,idle_timeout = 3,
629             hard_timeout = 0,packet_count = 1,byte_count = 86,
630             match = 
631                 #ofp_match{
632                     fields = 
633                         [#ofp_field{
634                              class = openflow_basic,name = eth_dst,
635                              has_mask = false,
636                              value = <<"\362\v\244}\370\352">>,
637                              mask = undefined}]}},
638         #ofp_error_msg_experimenter{
639             exp_type = 60000,
640             experimenter = 999999,
641             data = <<"jikken data">>
642         },
643         #ofp_get_async_request{},
644         #ofp_get_async_reply{
645             packet_in_mask = {[no_match, invalid_ttl], [no_match]},
646             port_status_mask = {[add, delete, modify], [add, delete]},
647             flow_removed_mask = {
648                 [idle_timeout, hard_timeout, delete, group_delete],
649                 [idle_timeout, hard_timeout]
650             }
651         },
652         #ofp_set_async{
653             packet_in_mask = {[no_match, invalid_ttl], [no_match]},
654             port_status_mask = {[add, delete, modify], [add, delete]},
655             flow_removed_mask = {
656                 [idle_timeout, hard_timeout, delete, group_delete],
657                 [idle_timeout, hard_timeout]
658             }
659         },
660
661         #ofp_meter_mod{
662             command = add,
663             flags = [pktps, burst, stats],
664             meter_id = 100,
665             bands = [
666                 #ofp_meter_band_drop{rate = 1000, burst_size = 10},
667                 #ofp_meter_band_dscp_remark{rate = 1000, burst_size = 10,
668                                             prec_level = 1},
669                 #ofp_meter_band_experimenter{rate = 1000, burst_size = 10,
670                                              experimenter = 999}
671             ]
672         },
673
674         #ofp_flow_mod{
675             cookie = <<0,0,0,0,0,0,0,0>>,
676             cookie_mask = <<0,0,0,0,0,0,0,0>>,
677             table_id = 1,command = add,idle_timeout = 0,
678             hard_timeout = 0,priority = 123,buffer_id = 65535,
679             out_port = any,out_group = any,flags = [],
680             match =
681                 #ofp_match{
682                     fields =
683                         [#ofp_field{
684                              class = openflow_basic,name = eth_dst,
685                              has_mask = false,
686                              value = <<"\362\v\244}\370\352">>,
687                              mask = undefined}]},
688             instructions =
689                 [#ofp_instruction_meter{meter_id = 1},
690                  #ofp_instruction_write_actions{
691                      actions =
692                          [#ofp_action_output{port = 6,max_len = no_buffer}]}]},
693
694         #ofp_meter_config_request{meter_id = all},
695         #ofp_meter_config_reply{
696             body = 
697                 [#ofp_meter_config{
698                      flags = [pktps,burst,stats],
699                      meter_id = 100,
700                      bands = 
701                          [#ofp_meter_band_drop{
702                               type = drop,rate = 1000,burst_size = 10}]}]},
703
704         #ofp_meter_stats_request{meter_id = all},
705         #ofp_meter_stats_reply{
706             body = 
707                 [#ofp_meter_stats{
708                      meter_id = 100,flow_count = 0,packet_in_count = 0,
709                      byte_in_count = 0,duration_sec = 0,duration_nsec = 480000,
710                      band_stats = 
711                          [#ofp_meter_band_stats{
712                               packet_band_count = 0,byte_band_count = 0}]}]},
713
714         #ofp_meter_features_request{},
715         #ofp_meter_features_reply{max_meter = 16777216,
716                                   band_types = [drop,dscp_remark,experimenter],
717                                   capabilities = [kbps,pktps,burst,stats],
718                                   max_bands = 255,max_color = 0},
719         #ofp_port_desc_request{flags = []},
720         #ofp_port_desc_reply{flags = [],
721                              body = [#ofp_port{port_no = 7,hw_addr = <<"\362\v\244\320?p">>,
722                                                name = <<"Port7">>,config = [],
723                                                state = [live],
724                                                curr = ['100mb_fd',copper,autoneg],
725                                                advertised = [copper,autoneg],
726                                                supported = ['100mb_fd',copper,autoneg],
727                                                peer = ['100mb_fd',copper,autoneg],
728                                                curr_speed = 5000,max_speed = 5000},
729                                      #ofp_port{port_no = 6,hw_addr = <<"\362\v\244}\370\352">>,
730                                                name = <<"Port6">>,config = [],
731                                                state = [live],
732                                                curr = ['100mb_fd',copper,autoneg],
733                                                advertised = [copper,autoneg],
734                                                supported = ['100mb_fd',copper,autoneg],
735                                                peer = ['100mb_fd',copper,autoneg],
736                                                curr_speed = 5000,max_speed = 5000}]},
737
738
739        #ofp_table_features_request{
740            flags = [more],
741            body =
742                [#ofp_table_features{
743                     table_id = 0,name = <<"Flow Table 0x00">>,
744                     metadata_match = <<"\377\377\377\377\377\377\377\377">>,
745                     metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
746                     properties =
747                         [#ofp_table_feature_prop_instructions{
748                              instruction_ids =
749                                  [goto_table,write_metadata,write_actions,
750                                   apply_actions,clear_actions,meter]},
751                          #ofp_table_feature_prop_next_tables{
752                              next_table_ids =
753                                  [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,
754                                   18,19,20,21,22,23,24,25,26,27,28,29,30,31,
755                                   32,33,34,35,36,37,38,39,40,41,42,43,44,45,
756                                   46,47,48,49,50,51,52,53,54,55,56,57,58,59,
757                                   60,61,62,63,64,65,66,67,68,69,70,71,72,73,
758                                   74,75,76,77,78,79,80,81,82,83,84,85,86,87,
759                                   88,89,90,91,92,93,94,95,96,97,98,99,100,
760                                   101,102,103,104,105,106,107,108,109,110,
761                                   111,112,113,114,115,116,117,118,119,120,
762                                   121,122,123,124,125,126,127,128,129,130,
763                                   131,132,133,134,135,136,137,138,139,140,
764                                   141,142,143,144,145,146,147,148,149,150,
765                                   151,152,153,154,155,156,157,158,159,160,
766                                   161,162,163,164,165,166,167,168,169,170,
767                                   171,172,173,174,175,176,177,178,179,180,
768                                   181,182,183,184,185,186,187,188,189,190,
769                                   191,192,193,194,195,196,197,198,199,200,
770                                   201,202,203,204,205,206,207,208,209,210,
771                                   211,212,213,214,215,216,217,218,219,220,
772                                   221,222,223,224,225,226,227,228,229,230,
773                                   231,232,233,234,235,236,237,238,239,240,
774                                   241,242,243,244,245,246,247,248,249,250,
775                                   251,252,253,254]},
776                          #ofp_table_feature_prop_write_actions{
777                              action_ids =
778                                  [output,group,set_queue,set_mpls_ttl,
779                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
780                                   copy_ttl_out,copy_ttl_in,push_vlan,
781                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
782                                   pop_pbb,set_field]},
783                          #ofp_table_feature_prop_apply_actions{
784                              action_ids =
785                                  [output,group,set_queue,set_mpls_ttl,
786                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
787                                   copy_ttl_out,copy_ttl_in,push_vlan,
788                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
789                                   pop_pbb,set_field]},
790                          #ofp_table_feature_prop_match{
791                              oxm_ids =
792                                  [in_port,metadata,eth_dst,eth_src,eth_type,
793                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
794                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
795                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
796                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
797                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
798                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
799                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
800                                   mpls_bos,pbb_isid]},
801                          #ofp_table_feature_prop_wildcards{
802                              oxm_ids =
803                                  [in_port,metadata,eth_dst,eth_src,eth_type,
804                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
805                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
806                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
807                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
808                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
809                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
810                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
811                                   mpls_bos,pbb_isid]},
812                          #ofp_table_feature_prop_write_setfield{
813                              oxm_ids =
814                                  [in_port,metadata,eth_dst,eth_src,eth_type,
815                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
816                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
817                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
818                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
819                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
820                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
821                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
822                                   mpls_bos,pbb_isid]},
823                          #ofp_table_feature_prop_apply_setfield{
824                              oxm_ids =
825                                  [in_port,metadata,eth_dst,eth_src,eth_type,
826                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
827                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
828                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
829                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
830                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
831                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
832                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
833                                   mpls_bos,pbb_isid]},
834                          #ofp_table_feature_prop_experimenter{
835                              experimenter = 101,
836                              exp_type = 0,
837                              data = <<>>},
838                          #ofp_table_feature_prop_experimenter{
839                              experimenter = 101,
840                              exp_type = 1,
841                              data = <<1:32>>},
842                          #ofp_table_feature_prop_experimenter{
843                              experimenter = 101,
844                              exp_type = 2,
845                              data = <<1:32,2:32>>}]},
846                 #ofp_table_features{
847                     table_id = 1,name = <<"Flow Table 0x01">>,
848                     metadata_match = <<"\377\377\377\377\377\377\377\377">>,
849                     metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
850                     properties =
851                         [#ofp_table_feature_prop_instructions{
852                              instruction_ids =
853                                  [goto_table,write_metadata,write_actions,
854                                   apply_actions,clear_actions,meter]},
855                          #ofp_table_feature_prop_next_tables{
856                              next_table_ids =
857                                  [2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,
858                                   19,20,21,22,23,24,25,26,27,28,29,30,31,32,
859                                   33,34,35,36,37,38,39,40,41,42,43,44,45,46,
860                                   47,48,49,50,51,52,53,54,55,56,57,58,59,60,
861                                   61,62,63,64,65,66,67,68,69,70,71,72,73,74,
862                                   75,76,77,78,79,80,81,82,83,84,85,86,87,88,
863                                   89,90,91,92,93,94,95,96,97,98,99,100,101,
864                                   102,103,104,105,106,107,108,109,110,111,
865                                   112,113,114,115,116,117,118,119,120,121,
866                                   122,123,124,125,126,127,128,129,130,131,
867                                   132,133,134,135,136,137,138,139,140,141,
868                                   142,143,144,145,146,147,148,149,150,151,
869                                   152,153,154,155,156,157,158,159,160,161,
870                                   162,163,164,165,166,167,168,169,170,171,
871                                   172,173,174,175,176,177,178,179,180,181,
872                                   182,183,184,185,186,187,188,189,190,191,
873                                   192,193,194,195,196,197,198,199,200,201,
874                                   202,203,204,205,206,207,208,209,210,211,
875                                   212,213,214,215,216,217,218,219,220,221,
876                                   222,223,224,225,226,227,228,229,230,231,
877                                   232,233,234,235,236,237,238,239,240,241,
878                                   242,243,244,245,246,247,248,249,250,251,
879                                   252,253,254]},
880                          #ofp_table_feature_prop_write_actions{
881                              action_ids =
882                                  [output,group,set_queue,set_mpls_ttl,
883                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
884                                   copy_ttl_out,copy_ttl_in,push_vlan,
885                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
886                                   pop_pbb,set_field]},
887                          #ofp_table_feature_prop_apply_actions{
888                              action_ids =
889                                  [output,group,set_queue,set_mpls_ttl,
890                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
891                                   copy_ttl_out,copy_ttl_in,push_vlan,
892                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
893                                   pop_pbb,set_field]},
894                          #ofp_table_feature_prop_match{
895                              oxm_ids =
896                                  [in_port,metadata,eth_dst,eth_src,eth_type,
897                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
898                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
899                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
900                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
901                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
902                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
903                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
904                                   mpls_bos,pbb_isid]},
905                          #ofp_table_feature_prop_wildcards{
906                              oxm_ids =
907                                  [in_port,metadata,eth_dst,eth_src,eth_type,
908                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
909                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
910                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
911                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
912                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
913                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
914                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
915                                   mpls_bos,pbb_isid]},
916                          #ofp_table_feature_prop_write_setfield{
917                              oxm_ids =
918                                  [in_port,metadata,eth_dst,eth_src,eth_type,
919                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
920                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
921                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
922                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
923                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
924                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
925                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
926                                   mpls_bos,pbb_isid]},
927                          #ofp_table_feature_prop_apply_setfield{
928                              oxm_ids =
929                                  [in_port,metadata,eth_dst,eth_src,eth_type,
930                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
931                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
932                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
933                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
934                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
935                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
936                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
937                                   mpls_bos,pbb_isid]}]},
938                 #ofp_table_features{
939                     table_id = 2,name = <<"Flow Table 0x02">>,
940                     metadata_match = <<"\377\377\377\377\377\377\377\377">>,
941                     metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
942                     properties =
943                         [#ofp_table_feature_prop_instructions{
944                              instruction_ids =
945                                  [goto_table,write_metadata,write_actions,
946                                   apply_actions,clear_actions,meter]},
947                          #ofp_table_feature_prop_next_tables{
948                              next_table_ids =
949                                  [3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,
950                                   19,20,21,22,23,24,25,26,27,28,29,30,31,32,
951                                   33,34,35,36,37,38,39,40,41,42,43,44,45,46,
952                                   47,48,49,50,51,52,53,54,55,56,57,58,59,60,
953                                   61,62,63,64,65,66,67,68,69,70,71,72,73,74,
954                                   75,76,77,78,79,80,81,82,83,84,85,86,87,88,
955                                   89,90,91,92,93,94,95,96,97,98,99,100,101,
956                                   102,103,104,105,106,107,108,109,110,111,
957                                   112,113,114,115,116,117,118,119,120,121,
958                                   122,123,124,125,126,127,128,129,130,131,
959                                   132,133,134,135,136,137,138,139,140,141,
960                                   142,143,144,145,146,147,148,149,150,151,
961                                   152,153,154,155,156,157,158,159,160,161,
962                                   162,163,164,165,166,167,168,169,170,171,
963                                   172,173,174,175,176,177,178,179,180,181,
964                                   182,183,184,185,186,187,188,189,190,191,
965                                   192,193,194,195,196,197,198,199,200,201,
966                                   202,203,204,205,206,207,208,209,210,211,
967                                   212,213,214,215,216,217,218,219,220,221,
968                                   222,223,224,225,226,227,228,229,230,231,
969                                   232,233,234,235,236,237,238,239,240,241,
970                                   242,243,244,245,246,247,248,249,250,251,
971                                   252,253,254]},
972                          #ofp_table_feature_prop_write_actions{
973                              action_ids =
974                                  [output,group,set_queue,set_mpls_ttl,
975                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
976                                   copy_ttl_out,copy_ttl_in,push_vlan,
977                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
978                                   pop_pbb,set_field]},
979                          #ofp_table_feature_prop_apply_actions{
980                              action_ids =
981                                  [output,group,set_queue,set_mpls_ttl,
982                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
983                                   copy_ttl_out,copy_ttl_in,push_vlan,
984                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
985                                   pop_pbb,set_field]},
986                          #ofp_table_feature_prop_match{
987                              oxm_ids =
988                                  [in_port,metadata,eth_dst,eth_src,eth_type,
989                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
990                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
991                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
992                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
993                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
994                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
995                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
996                                   mpls_bos,pbb_isid]},
997                          #ofp_table_feature_prop_wildcards{
998                              oxm_ids =
999                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1000                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1001                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1002                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1003                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1004                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1005                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1006                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1007                                   mpls_bos,pbb_isid]},
1008                          #ofp_table_feature_prop_write_setfield{
1009                              oxm_ids =
1010                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1011                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1012                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1013                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1014                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1015                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1016                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1017                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1018                                   mpls_bos,pbb_isid]},
1019                          #ofp_table_feature_prop_apply_setfield{
1020                              oxm_ids =
1021                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1022                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1023                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1024                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1025                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1026                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1027                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1028                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1029                                   mpls_bos,pbb_isid]}]},
1030                 #ofp_table_features{
1031                     table_id = 3,name = <<"Flow Table 0x03">>,
1032                     metadata_match = <<"\377\377\377\377\377\377\377\377">>,
1033                     metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
1034                     properties =
1035                         [#ofp_table_feature_prop_instructions{
1036                              instruction_ids =
1037                                  [goto_table,write_metadata,write_actions,
1038                                   apply_actions,clear_actions,meter]},
1039                          #ofp_table_feature_prop_next_tables{
1040                              next_table_ids =
1041                                  [4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,
1042                                   20,21,22,23,24,25,26,27,28,29,30,31,32,33,
1043                                   34,35,36,37,38,39,40,41,42,43,44,45,46,47,
1044                                   48,49,50,51,52,53,54,55,56,57,58,59,60,61,
1045                                   62,63,64,65,66,67,68,69,70,71,72,73,74,75,
1046                                   76,77,78,79,80,81,82,83,84,85,86,87,88,89,
1047                                   90,91,92,93,94,95,96,97,98,99,100,101,102,
1048                                   103,104,105,106,107,108,109,110,111,112,
1049                                   113,114,115,116,117,118,119,120,121,122,
1050                                   123,124,125,126,127,128,129,130,131,132,
1051                                   133,134,135,136,137,138,139,140,141,142,
1052                                   143,144,145,146,147,148,149,150,151,152,
1053                                   153,154,155,156,157,158,159,160,161,162,
1054                                   163,164,165,166,167,168,169,170,171,172,
1055                                   173,174,175,176,177,178,179,180,181,182,
1056                                   183,184,185,186,187,188,189,190,191,192,
1057                                   193,194,195,196,197,198,199,200,201,202,
1058                                   203,204,205,206,207,208,209,210,211,212,
1059                                   213,214,215,216,217,218,219,220,221,222,
1060                                   223,224,225,226,227,228,229,230,231,232,
1061                                   233,234,235,236,237,238,239,240,241,242,
1062                                   243,244,245,246,247,248,249,250,251,252,
1063                                   253,254]},
1064                          #ofp_table_feature_prop_write_actions{
1065                              action_ids =
1066                                  [output,group,set_queue,set_mpls_ttl,
1067                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1068                                   copy_ttl_out,copy_ttl_in,push_vlan,
1069                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
1070                                   pop_pbb,set_field]},
1071                          #ofp_table_feature_prop_apply_actions{
1072                              action_ids =
1073                                  [output,group,set_queue,set_mpls_ttl,
1074                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1075                                   copy_ttl_out,copy_ttl_in,push_vlan,
1076                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
1077                                   pop_pbb,set_field]},
1078                          #ofp_table_feature_prop_match{
1079                              oxm_ids =
1080                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1081                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1082                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1083                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1084                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1085                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1086                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1087                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1088                                   mpls_bos,pbb_isid]},
1089                          #ofp_table_feature_prop_wildcards{
1090                              oxm_ids =
1091                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1092                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1093                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1094                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1095                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1096                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1097                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1098                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1099                                   mpls_bos,pbb_isid]},
1100                          #ofp_table_feature_prop_write_setfield{
1101                              oxm_ids =
1102                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1103                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1104                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1105                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1106                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1107                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1108                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1109                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1110                                   mpls_bos,pbb_isid]},
1111                          #ofp_table_feature_prop_apply_setfield{
1112                              oxm_ids =
1113                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1114                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1115                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1116                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1117                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1118                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1119                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1120                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1121                                   mpls_bos,pbb_isid]}]},
1122                 #ofp_table_features{
1123                     table_id = 4,name = <<"Flow Table 0x04">>,
1124                     metadata_match = <<"\377\377\377\377\377\377\377\377">>,
1125                     metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
1126                     properties =
1127                         [#ofp_table_feature_prop_instructions{
1128                              instruction_ids =
1129                                  [goto_table,write_metadata,write_actions,
1130                                   apply_actions,clear_actions,meter]},
1131                          #ofp_table_feature_prop_next_tables{
1132                              next_table_ids =
1133                                  [5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,
1134                                   21,22,23,24,25,26,27,28,29,30,31,32,33,34,
1135                                   35,36,37,38,39,40,41,42,43,44,45,46,47,48,
1136                                   49,50,51,52,53,54,55,56,57,58,59,60,61,62,
1137                                   63,64,65,66,67,68,69,70,71,72,73,74,75,76,
1138                                   77,78,79,80,81,82,83,84,85,86,87,88,89,90,
1139                                   91,92,93,94,95,96,97,98,99,100,101,102,103,
1140                                   104,105,106,107,108,109,110,111,112,113,
1141                                   114,115,116,117,118,119,120,121,122,123,
1142                                   124,125,126,127,128,129,130,131,132,133,
1143                                   134,135,136,137,138,139,140,141,142,143,
1144                                   144,145,146,147,148,149,150,151,152,153,
1145                                   154,155,156,157,158,159,160,161,162,163,
1146                                   164,165,166,167,168,169,170,171,172,173,
1147                                   174,175,176,177,178,179,180,181,182,183,
1148                                   184,185,186,187,188,189,190,191,192,193,
1149                                   194,195,196,197,198,199,200,201,202,203,
1150                                   204,205,206,207,208,209,210,211,212,213,
1151                                   214,215,216,217,218,219,220,221,222,223,
1152                                   224,225,226,227,228,229,230,231,232,233,
1153                                   234,235,236,237,238,239,240,241,242,243,
1154                                   244,245,246,247,248,249,250,251,252,253,
1155                                   254]},
1156                          #ofp_table_feature_prop_write_actions{
1157                              action_ids =
1158                                  [output,group,set_queue,set_mpls_ttl,
1159                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1160                                   copy_ttl_out,copy_ttl_in,push_vlan,
1161                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
1162                                   pop_pbb,set_field]},
1163                          #ofp_table_feature_prop_apply_actions{
1164                              action_ids =
1165                                  [output,group,set_queue,set_mpls_ttl,
1166                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1167                                   copy_ttl_out,copy_ttl_in,push_vlan,
1168                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
1169                                   pop_pbb,set_field]},
1170                          #ofp_table_feature_prop_match{
1171                              oxm_ids =
1172                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1173                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1174                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1175                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1176                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1177                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1178                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1179                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1180                                   mpls_bos,pbb_isid]},
1181                          #ofp_table_feature_prop_wildcards{
1182                              oxm_ids =
1183                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1184                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1185                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1186                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1187                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1188                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1189                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1190                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1191                                   mpls_bos,pbb_isid]},
1192                          #ofp_table_feature_prop_write_setfield{
1193                              oxm_ids =
1194                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1195                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1196                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1197                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1198                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1199                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1200                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1201                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1202                                   mpls_bos,pbb_isid]},
1203                          #ofp_table_feature_prop_apply_setfield{
1204                              oxm_ids =
1205                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1206                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1207                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1208                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1209                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1210                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1211                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1212                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1213                                   mpls_bos,pbb_isid]}]},
1214                 #ofp_table_features{
1215                     table_id = 5,name = <<"Flow Table 0x05">>,
1216                     metadata_match = <<"\377\377\377\377\377\377\377\377">>,
1217                     metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
1218                     properties =
1219                         [#ofp_table_feature_prop_instructions{
1220                              instruction_ids =
1221                                  [goto_table,write_metadata,write_actions,
1222                                   apply_actions,clear_actions,meter]},
1223                          #ofp_table_feature_prop_next_tables{
1224                              next_table_ids =
1225                                  [6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,
1226                                   21,22,23,24,25,26,27,28,29,30,31,32,33,34,
1227                                   35,36,37,38,39,40,41,42,43,44,45,46,47,48,
1228                                   49,50,51,52,53,54,55,56,57,58,59,60,61,62,
1229                                   63,64,65,66,67,68,69,70,71,72,73,74,75,76,
1230                                   77,78,79,80,81,82,83,84,85,86,87,88,89,90,
1231                                   91,92,93,94,95,96,97,98,99,100,101,102,103,
1232                                   104,105,106,107,108,109,110,111,112,113,
1233                                   114,115,116,117,118,119,120,121,122,123,
1234                                   124,125,126,127,128,129,130,131,132,133,
1235                                   134,135,136,137,138,139,140,141,142,143,
1236                                   144,145,146,147,148,149,150,151,152,153,
1237                                   154,155,156,157,158,159,160,161,162,163,
1238                                   164,165,166,167,168,169,170,171,172,173,
1239                                   174,175,176,177,178,179,180,181,182,183,
1240                                   184,185,186,187,188,189,190,191,192,193,
1241                                   194,195,196,197,198,199,200,201,202,203,
1242                                   204,205,206,207,208,209,210,211,212,213,
1243                                   214,215,216,217,218,219,220,221,222,223,
1244                                   224,225,226,227,228,229,230,231,232,233,
1245                                   234,235,236,237,238,239,240,241,242,243,
1246                                   244,245,246,247,248,249,250,251,252,253,
1247                                   254]},
1248                          #ofp_table_feature_prop_write_actions{
1249                              action_ids =
1250                                  [output,group,set_queue,set_mpls_ttl,
1251                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1252                                   copy_ttl_out,copy_ttl_in,push_vlan,
1253                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
1254                                   pop_pbb,set_field]},
1255                          #ofp_table_feature_prop_apply_actions{
1256                              action_ids =
1257                                  [output,group,set_queue,set_mpls_ttl,
1258                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1259                                   copy_ttl_out,copy_ttl_in,push_vlan,
1260                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
1261                                   pop_pbb,set_field]},
1262                          #ofp_table_feature_prop_match{
1263                              oxm_ids =
1264                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1265                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1266                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1267                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1268                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1269                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1270                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1271                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1272                                   mpls_bos,pbb_isid]},
1273                          #ofp_table_feature_prop_wildcards{
1274                              oxm_ids =
1275                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1276                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1277                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1278                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1279                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1280                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1281                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1282                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1283                                   mpls_bos,pbb_isid]},
1284                          #ofp_table_feature_prop_write_setfield{
1285                              oxm_ids =
1286                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1287                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1288                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1289                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1290                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1291                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1292                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1293                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1294                                   mpls_bos,pbb_isid]},
1295                          #ofp_table_feature_prop_apply_setfield{
1296                              oxm_ids =
1297                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1298                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1299                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1300                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1301                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1302                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1303                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1304                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1305                                   mpls_bos,pbb_isid]}]},
1306                 #ofp_table_features{
1307                     table_id = 6,name = <<"Flow Table 0x06">>,
1308                     metadata_match = <<"\377\377\377\377\377\377\377\377">>,
1309                     metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
1310                     properties =
1311                         [#ofp_table_feature_prop_instructions{
1312                              instruction_ids =
1313                                  [goto_table,write_metadata,write_actions,
1314                                   apply_actions,clear_actions,meter]},
1315                          #ofp_table_feature_prop_next_tables{
1316                              next_table_ids =
1317                                  [7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,
1318                                   22,23,24,25,26,27,28,29,30,31,32,33,34,35,
1319                                   36,37,38,39,40,41,42,43,44,45,46,47,48,49,
1320                                   50,51,52,53,54,55,56,57,58,59,60,61,62,63,
1321                                   64,65,66,67,68,69,70,71,72,73,74,75,76,77,
1322                                   78,79,80,81,82,83,84,85,86,87,88,89,90,91,
1323                                   92,93,94,95,96,97,98,99,100,101,102,103,
1324                                   104,105,106,107,108,109,110,111,112,113,
1325                                   114,115,116,117,118,119,120,121,122,123,
1326                                   124,125,126,127,128,129,130,131,132,133,
1327                                   134,135,136,137,138,139,140,141,142,143,
1328                                   144,145,146,147,148,149,150,151,152,153,
1329                                   154,155,156,157,158,159,160,161,162,163,
1330                                   164,165,166,167,168,169,170,171,172,173,
1331                                   174,175,176,177,178,179,180,181,182,183,
1332                                   184,185,186,187,188,189,190,191,192,193,
1333                                   194,195,196,197,198,199,200,201,202,203,
1334                                   204,205,206,207,208,209,210,211,212,213,
1335                                   214,215,216,217,218,219,220,221,222,223,
1336                                   224,225,226,227,228,229,230,231,232,233,
1337                                   234,235,236,237,238,239,240,241,242,243,
1338                                   244,245,246,247,248,249,250,251,252,253,
1339                                   254]},
1340                          #ofp_table_feature_prop_write_actions{
1341                              action_ids =
1342                                  [output,group,set_queue,set_mpls_ttl,
1343                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1344                                   copy_ttl_out,copy_ttl_in,push_vlan,
1345                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
1346                                   pop_pbb,set_field]},
1347                          #ofp_table_feature_prop_apply_actions{
1348                              action_ids =
1349                                  [output,group,set_queue,set_mpls_ttl,
1350                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1351                                   copy_ttl_out,copy_ttl_in,push_vlan,
1352                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
1353                                   pop_pbb,set_field]},
1354                          #ofp_table_feature_prop_match{
1355                              oxm_ids =
1356                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1357                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1358                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1359                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1360                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1361                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1362                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1363                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1364                                   mpls_bos,pbb_isid]},
1365                          #ofp_table_feature_prop_wildcards{
1366                              oxm_ids =
1367                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1368                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1369                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1370                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1371                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1372                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1373                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1374                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1375                                   mpls_bos,pbb_isid]},
1376                          #ofp_table_feature_prop_write_setfield{
1377                              oxm_ids =
1378                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1379                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1380                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1381                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1382                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1383                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1384                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1385                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1386                                   mpls_bos,pbb_isid]},
1387                          #ofp_table_feature_prop_apply_setfield{
1388                              oxm_ids =
1389                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1390                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1391                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1392                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1393                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1394                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1395                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1396                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1397                                   mpls_bos,pbb_isid]}]},
1398                 #ofp_table_features{
1399                     table_id = 7,name = <<"Flow Table 0x07">>,
1400                     metadata_match = <<"\377\377\377\377\377\377\377\377">>,
1401                     metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
1402                     properties =
1403                         [#ofp_table_feature_prop_instructions{
1404                              instruction_ids =
1405                                  [goto_table,write_metadata,write_actions,
1406                                   apply_actions,clear_actions,meter]},
1407                          #ofp_table_feature_prop_next_tables{
1408                              next_table_ids =
1409                                  [8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,
1410                                   23,24,25,26,27,28,29,30,31,32,33,34,35,36,
1411                                   37,38,39,40,41,42,43,44,45,46,47,48,49,50,
1412                                   51,52,53,54,55,56,57,58,59,60,61,62,63,64,
1413                                   65,66,67,68,69,70,71,72,73,74,75,76,77,78,
1414                                   79,80,81,82,83,84,85,86,87,88,89,90,91,92,
1415                                   93,94,95,96,97,98,99,100,101,102,103,104,
1416                                   105,106,107,108,109,110,111,112,113,114,
1417                                   115,116,117,118,119,120,121,122,123,124,
1418                                   125,126,127,128,129,130,131,132,133,134,
1419                                   135,136,137,138,139,140,141,142,143,144,
1420                                   145,146,147,148,149,150,151,152,153,154,
1421                                   155,156,157,158,159,160,161,162,163,164,
1422                                   165,166,167,168,169,170,171,172,173,174,
1423                                   175,176,177,178,179,180,181,182,183,184,
1424                                   185,186,187,188,189,190,191,192,193,194,
1425                                   195,196,197,198,199,200,201,202,203,204,
1426                                   205,206,207,208,209,210,211,212,213,214,
1427                                   215,216,217,218,219,220,221,222,223,224,
1428                                   225,226,227,228,229,230,231,232,233,234,
1429                                   235,236,237,238,239,240,241,242,243,244,
1430                                   245,246,247,248,249,250,251,252,253,254]},
1431                          #ofp_table_feature_prop_write_actions{
1432                              action_ids =
1433                                  [output,group,set_queue,set_mpls_ttl,
1434                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1435                                   copy_ttl_out,copy_ttl_in,push_vlan,
1436                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
1437                                   pop_pbb,set_field]},
1438                          #ofp_table_feature_prop_apply_actions{
1439                              action_ids =
1440                                  [output,group,set_queue,set_mpls_ttl,
1441                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1442                                   copy_ttl_out,copy_ttl_in,push_vlan,
1443                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
1444                                   pop_pbb,set_field]},
1445                          #ofp_table_feature_prop_match{
1446                              oxm_ids =
1447                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1448                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1449                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1450                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1451                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1452                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1453                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1454                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1455                                   mpls_bos,pbb_isid]},
1456                          #ofp_table_feature_prop_wildcards{
1457                              oxm_ids =
1458                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1459                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1460                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1461                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1462                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1463                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1464                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1465                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1466                                   mpls_bos,pbb_isid]},
1467                          #ofp_table_feature_prop_write_setfield{
1468                              oxm_ids =
1469                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1470                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1471                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1472                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1473                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1474                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1475                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1476                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1477                                   mpls_bos,pbb_isid]},
1478                          #ofp_table_feature_prop_apply_setfield{
1479                              oxm_ids =
1480                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1481                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1482                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1483                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1484                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1485                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1486                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1487                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1488                                   mpls_bos,pbb_isid]}]},
1489                 #ofp_table_features{
1490                     table_id = 8,name = <<"Flow Table 0x08">>,
1491                     metadata_match = <<"\377\377\377\377\377\377\377\377">>,
1492                     metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
1493                     properties =
1494                         [#ofp_table_feature_prop_instructions{
1495                              instruction_ids =
1496                                  [goto_table,write_metadata,write_actions,
1497                                   apply_actions,clear_actions,meter]},
1498                          #ofp_table_feature_prop_next_tables{
1499                              next_table_ids =
1500                                  [9,10,11,12,13,14,15,16,17,18,19,20,21,22,
1501                                   23,24,25,26,27,28,29,30,31,32,33,34,35,36,
1502                                   37,38,39,40,41,42,43,44,45,46,47,48,49,50,
1503                                   51,52,53,54,55,56,57,58,59,60,61,62,63,64,
1504                                   65,66,67,68,69,70,71,72,73,74,75,76,77,78,
1505                                   79,80,81,82,83,84,85,86,87,88,89,90,91,92,
1506                                   93,94,95,96,97,98,99,100,101,102,103,104,
1507                                   105,106,107,108,109,110,111,112,113,114,
1508                                   115,116,117,118,119,120,121,122,123,124,
1509                                   125,126,127,128,129,130,131,132,133,134,
1510                                   135,136,137,138,139,140,141,142,143,144,
1511                                   145,146,147,148,149,150,151,152,153,154,
1512                                   155,156,157,158,159,160,161,162,163,164,
1513                                   165,166,167,168,169,170,171,172,173,174,
1514                                   175,176,177,178,179,180,181,182,183,184,
1515                                   185,186,187,188,189,190,191,192,193,194,
1516                                   195,196,197,198,199,200,201,202,203,204,
1517                                   205,206,207,208,209,210,211,212,213,214,
1518                                   215,216,217,218,219,220,221,222,223,224,
1519                                   225,226,227,228,229,230,231,232,233,234,
1520                                   235,236,237,238,239,240,241,242,243,244,
1521                                   245,246,247,248,249,250,251,252,253,254]},
1522                          #ofp_table_feature_prop_write_actions{
1523                              action_ids =
1524                                  [output,group,set_queue,set_mpls_ttl,
1525                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1526                                   copy_ttl_out,copy_ttl_in,push_vlan,
1527                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
1528                                   pop_pbb,set_field]},
1529                          #ofp_table_feature_prop_apply_actions{
1530                              action_ids =
1531                                  [output,group,set_queue,set_mpls_ttl,
1532                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1533                                   copy_ttl_out,copy_ttl_in,push_vlan,
1534                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
1535                                   pop_pbb,set_field]},
1536                          #ofp_table_feature_prop_match{
1537                              oxm_ids =
1538                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1539                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1540                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1541                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1542                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1543                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1544                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1545                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1546                                   mpls_bos,pbb_isid]},
1547                          #ofp_table_feature_prop_wildcards{
1548                              oxm_ids =
1549                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1550                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1551                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1552                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1553                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1554                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1555                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1556                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1557                                   mpls_bos,pbb_isid]},
1558                          #ofp_table_feature_prop_write_setfield{
1559                              oxm_ids =
1560                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1561                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1562                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1563                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1564                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1565                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1566                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1567                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1568                                   mpls_bos,pbb_isid]},
1569                          #ofp_table_feature_prop_apply_setfield{
1570                              oxm_ids =
1571                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1572                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1573                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1574                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1575                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1576                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1577                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1578                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1579                                   mpls_bos,pbb_isid]}]},
1580                 #ofp_table_features{
1581                     table_id = 9,name = <<"Flow Table 0x09">>,
1582                     metadata_match = <<"\377\377\377\377\377\377\377\377">>,
1583                     metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
1584                     properties =
1585                         [#ofp_table_feature_prop_instructions{
1586                              instruction_ids =
1587                                  [goto_table,write_metadata,write_actions,
1588                                   apply_actions,clear_actions,meter]},
1589                          #ofp_table_feature_prop_next_tables{
1590                              next_table_ids =
1591                                  [10,11,12,13,14,15,16,17,18,19,20,21,22,23,
1592                                   24,25,26,27,28,29,30,31,32,33,34,35,36,37,
1593                                   38,39,40,41,42,43,44,45,46,47,48,49,50,51,
1594                                   52,53,54,55,56,57,58,59,60,61,62,63,64,65,
1595                                   66,67,68,69,70,71,72,73,74,75,76,77,78,79,
1596                                   80,81,82,83,84,85,86,87,88,89,90,91,92,93,
1597                                   94,95,96,97,98,99,100,101,102,103,104,105,
1598                                   106,107,108,109,110,111,112,113,114,115,
1599                                   116,117,118,119,120,121,122,123,124,125,
1600                                   126,127,128,129,130,131,132,133,134,135,
1601                                   136,137,138,139,140,141,142,143,144,145,
1602                                   146,147,148,149,150,151,152,153,154,155,
1603                                   156,157,158,159,160,161,162,163,164,165,
1604                                   166,167,168,169,170,171,172,173,174,175,
1605                                   176,177,178,179,180,181,182,183,184,185,
1606                                   186,187,188,189,190,191,192,193,194,195,
1607                                   196,197,198,199,200,201,202,203,204,205,
1608                                   206,207,208,209,210,211,212,213,214,215,
1609                                   216,217,218,219,220,221,222,223,224,225,
1610                                   226,227,228,229,230,231,232,233,234,235,
1611                                   236,237,238,239,240,241,242,243,244,245,
1612                                   246,247,248,249,250,251,252,253,254]},
1613                          #ofp_table_feature_prop_write_actions{
1614                              action_ids =
1615                                  [output,group,set_queue,set_mpls_ttl,
1616                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1617                                   copy_ttl_out,copy_ttl_in,push_vlan,
1618                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
1619                                   pop_pbb,set_field]},
1620                          #ofp_table_feature_prop_apply_actions{
1621                              action_ids =
1622                                  [output,group,set_queue,set_mpls_ttl,
1623                                   dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1624                                   copy_ttl_out,copy_ttl_in,push_vlan,
1625                                   pop_vlan,push_mpls,pop_mpls,push_pbb,
1626                                   pop_pbb,set_field]},
1627                          #ofp_table_feature_prop_match{
1628                              oxm_ids =
1629                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1630                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1631                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1632                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1633                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1634                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1635                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1636                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1637                                   mpls_bos,pbb_isid]},
1638                          #ofp_table_feature_prop_wildcards{
1639                              oxm_ids =
1640                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1641                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1642                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1643                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1644                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1645                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1646                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1647                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1648                                   mpls_bos,pbb_isid]},
1649                          #ofp_table_feature_prop_write_setfield{
1650                              oxm_ids =
1651                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1652                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1653                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1654                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1655                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1656                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1657                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1658                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1659                                   mpls_bos,pbb_isid]},
1660                          #ofp_table_feature_prop_apply_setfield{
1661                              oxm_ids =
1662                                  [in_port,metadata,eth_dst,eth_src,eth_type,
1663                                   vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1664                                   ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1665                                   udp_dst,sctp_src,sctp_dst,icmpv4_type,
1666                                   icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1667                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1668                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
1669                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1670                                   mpls_bos,pbb_isid]}]}]},
1671         #ofp_table_features_reply{
1672             flags = [more],
1673             body =
1674                 [#ofp_table_features{
1675                      table_id = 0,name = <<"\xe7\xa7\x81\xe3\x81\xae\xe3\x83\x86\xe3\x83\xbc\xe3\x83\x96\xe3\x83\xab">>,  % "my table" in japanese, utf-8
1676                      metadata_match = <<"\377\377\377\377\377\377\377\377">>,
1677                      metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
1678                      properties =
1679                          [#ofp_table_feature_prop_instructions{
1680                               instruction_ids =
1681                                   [goto_table,write_metadata,write_actions,
1682                                    apply_actions,clear_actions,meter]},
1683                           #ofp_table_feature_prop_next_tables{
1684                               next_table_ids =
1685                                   [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,
1686                                    18,19,20,21,22,23,24,25,26,27,28,29,30,31,
1687                                    32,33,34,35,36,37,38,39,40,41,42,43,44,45,
1688                                    46,47,48,49,50,51,52,53,54,55,56,57,58,59,
1689                                    60,61,62,63,64,65,66,67,68,69,70,71,72,73,
1690                                    74,75,76,77,78,79,80,81,82,83,84,85,86,87,
1691                                    88,89,90,91,92,93,94,95,96,97,98,99,100,
1692                                    101,102,103,104,105,106,107,108,109,110,
1693                                    111,112,113,114,115,116,117,118,119,120,
1694                                    121,122,123,124,125,126,127,128,129,130,
1695                                    131,132,133,134,135,136,137,138,139,140,
1696                                    141,142,143,144,145,146,147,148,149,150,
1697                                    151,152,153,154,155,156,157,158,159,160,
1698                                    161,162,163,164,165,166,167,168,169,170,
1699                                    171,172,173,174,175,176,177,178,179,180,
1700                                    181,182,183,184,185,186,187,188,189,190,
1701                                    191,192,193,194,195,196,197,198,199,200,
1702                                    201,202,203,204,205,206,207,208,209,210,
1703                                    211,212,213,214,215,216,217,218,219,220,
1704                                    221,222,223,224,225,226,227,228,229,230,
1705                                    231,232,233,234,235,236,237,238,239,240,
1706                                    241,242,243,244,245,246,247,248,249,250,
1707                                    251,252,253,254]},
1708                           #ofp_table_feature_prop_write_actions{
1709                               action_ids =
1710                                   [output,group,set_queue,set_mpls_ttl,
1711                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1712                                    copy_ttl_out,copy_ttl_in,push_vlan,
1713                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
1714                                    pop_pbb,set_field]},
1715                           #ofp_table_feature_prop_apply_actions{
1716                               action_ids =
1717                                   [output,group,set_queue,set_mpls_ttl,
1718                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1719                                    copy_ttl_out,copy_ttl_in,push_vlan,
1720                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
1721                                    pop_pbb,set_field]},
1722                           #ofp_table_feature_prop_match{
1723                               oxm_ids =
1724                                   [in_port,metadata,eth_dst,eth_src,eth_type,
1725                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1726                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1727                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
1728                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1729                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1730                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
1731                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1732                                    mpls_bos,pbb_isid]},
1733                           #ofp_table_feature_prop_wildcards{
1734                               oxm_ids =
1735                                   [in_port,metadata,eth_dst,eth_src,eth_type,
1736                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1737                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1738                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
1739                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1740                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1741                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
1742                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1743                                    mpls_bos,pbb_isid]},
1744                           #ofp_table_feature_prop_write_setfield{
1745                               oxm_ids =
1746                                   [in_port,metadata,eth_dst,eth_src,eth_type,
1747                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1748                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1749                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
1750                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1751                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1752                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
1753                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1754                                    mpls_bos,pbb_isid]},
1755                           #ofp_table_feature_prop_apply_setfield{
1756                               oxm_ids =
1757                                   [in_port,metadata,eth_dst,eth_src,eth_type,
1758                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1759                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1760                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
1761                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1762                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1763                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
1764                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1765                                    mpls_bos,pbb_isid]},
1766                          #ofp_table_feature_prop_experimenter{
1767                              experimenter = 101,
1768                              exp_type = 0,
1769                              data = <<>>},
1770                          #ofp_table_feature_prop_experimenter{
1771                              experimenter = 101,
1772                              exp_type = 1,
1773                              data = <<1:32>>},
1774                          #ofp_table_feature_prop_experimenter{
1775                              experimenter = 101,
1776                              exp_type = 2,
1777                              data = <<1:32,2:32>>}]},
1778                  #ofp_table_features{
1779                      table_id = 1,name = <<"Flow Table 0x01">>,
1780                      metadata_match = <<"\377\377\377\377\377\377\377\377">>,
1781                      metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
1782                      properties =
1783                          [#ofp_table_feature_prop_instructions{
1784                               instruction_ids =
1785                                   [goto_table,write_metadata,write_actions,
1786                                    apply_actions,clear_actions,meter]},
1787                           #ofp_table_feature_prop_next_tables{
1788                               next_table_ids =
1789                                   [2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,
1790                                    19,20,21,22,23,24,25,26,27,28,29,30,31,32,
1791                                    33,34,35,36,37,38,39,40,41,42,43,44,45,46,
1792                                    47,48,49,50,51,52,53,54,55,56,57,58,59,60,
1793                                    61,62,63,64,65,66,67,68,69,70,71,72,73,74,
1794                                    75,76,77,78,79,80,81,82,83,84,85,86,87,88,
1795                                    89,90,91,92,93,94,95,96,97,98,99,100,101,
1796                                    102,103,104,105,106,107,108,109,110,111,
1797                                    112,113,114,115,116,117,118,119,120,121,
1798                                    122,123,124,125,126,127,128,129,130,131,
1799                                    132,133,134,135,136,137,138,139,140,141,
1800                                    142,143,144,145,146,147,148,149,150,151,
1801                                    152,153,154,155,156,157,158,159,160,161,
1802                                    162,163,164,165,166,167,168,169,170,171,
1803                                    172,173,174,175,176,177,178,179,180,181,
1804                                    182,183,184,185,186,187,188,189,190,191,
1805                                    192,193,194,195,196,197,198,199,200,201,
1806                                    202,203,204,205,206,207,208,209,210,211,
1807                                    212,213,214,215,216,217,218,219,220,221,
1808                                    222,223,224,225,226,227,228,229,230,231,
1809                                    232,233,234,235,236,237,238,239,240,241,
1810                                    242,243,244,245,246,247,248,249,250,251,
1811                                    252,253,254]},
1812                           #ofp_table_feature_prop_write_actions{
1813                               action_ids =
1814                                   [output,group,set_queue,set_mpls_ttl,
1815                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1816                                    copy_ttl_out,copy_ttl_in,push_vlan,
1817                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
1818                                    pop_pbb,set_field]},
1819                           #ofp_table_feature_prop_apply_actions{
1820                               action_ids =
1821                                   [output,group,set_queue,set_mpls_ttl,
1822                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1823                                    copy_ttl_out,copy_ttl_in,push_vlan,
1824                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
1825                                    pop_pbb,set_field]},
1826                           #ofp_table_feature_prop_match{
1827                               oxm_ids =
1828                                   [in_port,metadata,eth_dst,eth_src,eth_type,
1829                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1830                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1831                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
1832                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1833                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1834                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
1835                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1836                                    mpls_bos,pbb_isid]},
1837                           #ofp_table_feature_prop_wildcards{
1838                               oxm_ids =
1839                                   [in_port,metadata,eth_dst,eth_src,eth_type,
1840                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1841                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1842                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
1843                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1844                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1845                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
1846                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1847                                    mpls_bos,pbb_isid]},
1848                           #ofp_table_feature_prop_write_setfield{
1849                               oxm_ids =
1850                                   [in_port,metadata,eth_dst,eth_src,eth_type,
1851                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1852                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1853                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
1854                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1855                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1856                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
1857                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1858                                    mpls_bos,pbb_isid]},
1859                           #ofp_table_feature_prop_apply_setfield{
1860                               oxm_ids =
1861                                   [in_port,metadata,eth_dst,eth_src,eth_type,
1862                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1863                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1864                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
1865                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1866                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1867                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
1868                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1869                                    mpls_bos,pbb_isid]}]},
1870                  #ofp_table_features{
1871                      table_id = 2,name = <<"Flow Table 0x02">>,
1872                      metadata_match = <<"\377\377\377\377\377\377\377\377">>,
1873                      metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
1874                      properties =
1875                          [#ofp_table_feature_prop_instructions{
1876                               instruction_ids =
1877                                   [goto_table,write_metadata,write_actions,
1878                                    apply_actions,clear_actions,meter]},
1879                           #ofp_table_feature_prop_next_tables{
1880                               next_table_ids =
1881                                   [3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,
1882                                    19,20,21,22,23,24,25,26,27,28,29,30,31,32,
1883                                    33,34,35,36,37,38,39,40,41,42,43,44,45,46,
1884                                    47,48,49,50,51,52,53,54,55,56,57,58,59,60,
1885                                    61,62,63,64,65,66,67,68,69,70,71,72,73,74,
1886                                    75,76,77,78,79,80,81,82,83,84,85,86,87,88,
1887                                    89,90,91,92,93,94,95,96,97,98,99,100,101,
1888                                    102,103,104,105,106,107,108,109,110,111,
1889                                    112,113,114,115,116,117,118,119,120,121,
1890                                    122,123,124,125,126,127,128,129,130,131,
1891                                    132,133,134,135,136,137,138,139,140,141,
1892                                    142,143,144,145,146,147,148,149,150,151,
1893                                    152,153,154,155,156,157,158,159,160,161,
1894                                    162,163,164,165,166,167,168,169,170,171,
1895                                    172,173,174,175,176,177,178,179,180,181,
1896                                    182,183,184,185,186,187,188,189,190,191,
1897                                    192,193,194,195,196,197,198,199,200,201,
1898                                    202,203,204,205,206,207,208,209,210,211,
1899                                    212,213,214,215,216,217,218,219,220,221,
1900                                    222,223,224,225,226,227,228,229,230,231,
1901                                    232,233,234,235,236,237,238,239,240,241,
1902                                    242,243,244,245,246,247,248,249,250,251,
1903                                    252,253,254]},
1904                           #ofp_table_feature_prop_write_actions{
1905                               action_ids =
1906                                   [output,group,set_queue,set_mpls_ttl,
1907                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1908                                    copy_ttl_out,copy_ttl_in,push_vlan,
1909                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
1910                                    pop_pbb,set_field]},
1911                           #ofp_table_feature_prop_apply_actions{
1912                               action_ids =
1913                                   [output,group,set_queue,set_mpls_ttl,
1914                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
1915                                    copy_ttl_out,copy_ttl_in,push_vlan,
1916                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
1917                                    pop_pbb,set_field]},
1918                           #ofp_table_feature_prop_match{
1919                               oxm_ids =
1920                                   [in_port,metadata,eth_dst,eth_src,eth_type,
1921                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1922                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1923                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
1924                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1925                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1926                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
1927                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1928                                    mpls_bos,pbb_isid]},
1929                           #ofp_table_feature_prop_wildcards{
1930                               oxm_ids =
1931                                   [in_port,metadata,eth_dst,eth_src,eth_type,
1932                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1933                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1934                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
1935                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1936                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1937                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
1938                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1939                                    mpls_bos,pbb_isid]},
1940                           #ofp_table_feature_prop_write_setfield{
1941                               oxm_ids =
1942                                   [in_port,metadata,eth_dst,eth_src,eth_type,
1943                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1944                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1945                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
1946                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1947                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1948                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
1949                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1950                                    mpls_bos,pbb_isid]},
1951                           #ofp_table_feature_prop_apply_setfield{
1952                               oxm_ids =
1953                                   [in_port,metadata,eth_dst,eth_src,eth_type,
1954                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
1955                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
1956                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
1957                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
1958                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
1959                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
1960                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
1961                                    mpls_bos,pbb_isid]}]},
1962                  #ofp_table_features{
1963                      table_id = 3,name = <<"Flow Table 0x03">>,
1964                      metadata_match = <<"\377\377\377\377\377\377\377\377">>,
1965                      metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
1966                      properties =
1967                          [#ofp_table_feature_prop_instructions{
1968                               instruction_ids =
1969                                   [goto_table,write_metadata,write_actions,
1970                                    apply_actions,clear_actions,meter]},
1971                           #ofp_table_feature_prop_next_tables{
1972                               next_table_ids =
1973                                   [4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,
1974                                    20,21,22,23,24,25,26,27,28,29,30,31,32,33,
1975                                    34,35,36,37,38,39,40,41,42,43,44,45,46,47,
1976                                    48,49,50,51,52,53,54,55,56,57,58,59,60,61,
1977                                    62,63,64,65,66,67,68,69,70,71,72,73,74,75,
1978                                    76,77,78,79,80,81,82,83,84,85,86,87,88,89,
1979                                    90,91,92,93,94,95,96,97,98,99,100,101,102,
1980                                    103,104,105,106,107,108,109,110,111,112,
1981                                    113,114,115,116,117,118,119,120,121,122,
1982                                    123,124,125,126,127,128,129,130,131,132,
1983                                    133,134,135,136,137,138,139,140,141,142,
1984                                    143,144,145,146,147,148,149,150,151,152,
1985                                    153,154,155,156,157,158,159,160,161,162,
1986                                    163,164,165,166,167,168,169,170,171,172,
1987                                    173,174,175,176,177,178,179,180,181,182,
1988                                    183,184,185,186,187,188,189,190,191,192,
1989                                    193,194,195,196,197,198,199,200,201,202,
1990                                    203,204,205,206,207,208,209,210,211,212,
1991                                    213,214,215,216,217,218,219,220,221,222,
1992                                    223,224,225,226,227,228,229,230,231,232,
1993                                    233,234,235,236,237,238,239,240,241,242,
1994                                    243,244,245,246,247,248,249,250,251,252,
1995                                    253,254]},
1996                           #ofp_table_feature_prop_write_actions{
1997                               action_ids =
1998                                   [output,group,set_queue,set_mpls_ttl,
1999                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
2000                                    copy_ttl_out,copy_ttl_in,push_vlan,
2001                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
2002                                    pop_pbb,set_field]},
2003                           #ofp_table_feature_prop_apply_actions{
2004                               action_ids =
2005                                   [output,group,set_queue,set_mpls_ttl,
2006                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
2007                                    copy_ttl_out,copy_ttl_in,push_vlan,
2008                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
2009                                    pop_pbb,set_field]},
2010                           #ofp_table_feature_prop_match{
2011                               oxm_ids =
2012                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2013                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2014                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2015                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2016                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2017                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2018                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2019                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2020                                    mpls_bos,pbb_isid]},
2021                           #ofp_table_feature_prop_wildcards{
2022                               oxm_ids =
2023                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2024                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2025                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2026                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2027                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2028                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2029                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2030                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2031                                    mpls_bos,pbb_isid]},
2032                           #ofp_table_feature_prop_write_setfield{
2033                               oxm_ids =
2034                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2035                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2036                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2037                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2038                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2039                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2040                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2041                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2042                                    mpls_bos,pbb_isid]},
2043                           #ofp_table_feature_prop_apply_setfield{
2044                               oxm_ids =
2045                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2046                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2047                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2048                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2049                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2050                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2051                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2052                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2053                                    mpls_bos,pbb_isid]}]},
2054                  #ofp_table_features{
2055                      table_id = 4,name = <<"Flow Table 0x04">>,
2056                      metadata_match = <<"\377\377\377\377\377\377\377\377">>,
2057                      metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
2058                      properties =
2059                          [#ofp_table_feature_prop_instructions{
2060                               instruction_ids =
2061                                   [goto_table,write_metadata,write_actions,
2062                                    apply_actions,clear_actions,meter]},
2063                           #ofp_table_feature_prop_next_tables{
2064                               next_table_ids =
2065                                   [5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,
2066                                    21,22,23,24,25,26,27,28,29,30,31,32,33,34,
2067                                    35,36,37,38,39,40,41,42,43,44,45,46,47,48,
2068                                    49,50,51,52,53,54,55,56,57,58,59,60,61,62,
2069                                    63,64,65,66,67,68,69,70,71,72,73,74,75,76,
2070                                    77,78,79,80,81,82,83,84,85,86,87,88,89,90,
2071                                    91,92,93,94,95,96,97,98,99,100,101,102,103,
2072                                    104,105,106,107,108,109,110,111,112,113,
2073                                    114,115,116,117,118,119,120,121,122,123,
2074                                    124,125,126,127,128,129,130,131,132,133,
2075                                    134,135,136,137,138,139,140,141,142,143,
2076                                    144,145,146,147,148,149,150,151,152,153,
2077                                    154,155,156,157,158,159,160,161,162,163,
2078                                    164,165,166,167,168,169,170,171,172,173,
2079                                    174,175,176,177,178,179,180,181,182,183,
2080                                    184,185,186,187,188,189,190,191,192,193,
2081                                    194,195,196,197,198,199,200,201,202,203,
2082                                    204,205,206,207,208,209,210,211,212,213,
2083                                    214,215,216,217,218,219,220,221,222,223,
2084                                    224,225,226,227,228,229,230,231,232,233,
2085                                    234,235,236,237,238,239,240,241,242,243,
2086                                    244,245,246,247,248,249,250,251,252,253,
2087                                    254]},
2088                           #ofp_table_feature_prop_write_actions{
2089                               action_ids =
2090                                   [output,group,set_queue,set_mpls_ttl,
2091                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
2092                                    copy_ttl_out,copy_ttl_in,push_vlan,
2093                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
2094                                    pop_pbb,set_field]},
2095                           #ofp_table_feature_prop_apply_actions{
2096                               action_ids =
2097                                   [output,group,set_queue,set_mpls_ttl,
2098                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
2099                                    copy_ttl_out,copy_ttl_in,push_vlan,
2100                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
2101                                    pop_pbb,set_field]},
2102                           #ofp_table_feature_prop_match{
2103                               oxm_ids =
2104                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2105                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2106                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2107                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2108                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2109                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2110                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2111                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2112                                    mpls_bos,pbb_isid]},
2113                           #ofp_table_feature_prop_wildcards{
2114                               oxm_ids =
2115                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2116                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2117                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2118                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2119                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2120                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2121                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2122                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2123                                    mpls_bos,pbb_isid]},
2124                           #ofp_table_feature_prop_write_setfield{
2125                               oxm_ids =
2126                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2127                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2128                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2129                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2130                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2131                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2132                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2133                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2134                                    mpls_bos,pbb_isid]},
2135                           #ofp_table_feature_prop_apply_setfield{
2136                               oxm_ids =
2137                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2138                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2139                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2140                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2141                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2142                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2143                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2144                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2145                                    mpls_bos,pbb_isid]}]},
2146                  #ofp_table_features{
2147                      table_id = 5,name = <<"Flow Table 0x05">>,
2148                      metadata_match = <<"\377\377\377\377\377\377\377\377">>,
2149                      metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
2150                      properties =
2151                          [#ofp_table_feature_prop_instructions{
2152                               instruction_ids =
2153                                   [goto_table,write_metadata,write_actions,
2154                                    apply_actions,clear_actions,meter]},
2155                           #ofp_table_feature_prop_next_tables{
2156                               next_table_ids =
2157                                   [6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,
2158                                    21,22,23,24,25,26,27,28,29,30,31,32,33,34,
2159                                    35,36,37,38,39,40,41,42,43,44,45,46,47,48,
2160                                    49,50,51,52,53,54,55,56,57,58,59,60,61,62,
2161                                    63,64,65,66,67,68,69,70,71,72,73,74,75,76,
2162                                    77,78,79,80,81,82,83,84,85,86,87,88,89,90,
2163                                    91,92,93,94,95,96,97,98,99,100,101,102,103,
2164                                    104,105,106,107,108,109,110,111,112,113,
2165                                    114,115,116,117,118,119,120,121,122,123,
2166                                    124,125,126,127,128,129,130,131,132,133,
2167                                    134,135,136,137,138,139,140,141,142,143,
2168                                    144,145,146,147,148,149,150,151,152,153,
2169                                    154,155,156,157,158,159,160,161,162,163,
2170                                    164,165,166,167,168,169,170,171,172,173,
2171                                    174,175,176,177,178,179,180,181,182,183,
2172                                    184,185,186,187,188,189,190,191,192,193,
2173                                    194,195,196,197,198,199,200,201,202,203,
2174                                    204,205,206,207,208,209,210,211,212,213,
2175                                    214,215,216,217,218,219,220,221,222,223,
2176                                    224,225,226,227,228,229,230,231,232,233,
2177                                    234,235,236,237,238,239,240,241,242,243,
2178                                    244,245,246,247,248,249,250,251,252,253,
2179                                    254]},
2180                           #ofp_table_feature_prop_write_actions{
2181                               action_ids =
2182                                   [output,group,set_queue,set_mpls_ttl,
2183                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
2184                                    copy_ttl_out,copy_ttl_in,push_vlan,
2185                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
2186                                    pop_pbb,set_field]},
2187                           #ofp_table_feature_prop_apply_actions{
2188                               action_ids =
2189                                   [output,group,set_queue,set_mpls_ttl,
2190                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
2191                                    copy_ttl_out,copy_ttl_in,push_vlan,
2192                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
2193                                    pop_pbb,set_field]},
2194                           #ofp_table_feature_prop_match{
2195                               oxm_ids =
2196                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2197                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2198                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2199                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2200                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2201                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2202                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2203                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2204                                    mpls_bos,pbb_isid]},
2205                           #ofp_table_feature_prop_wildcards{
2206                               oxm_ids =
2207                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2208                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2209                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2210                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2211                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2212                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2213                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2214                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2215                                    mpls_bos,pbb_isid]},
2216                           #ofp_table_feature_prop_write_setfield{
2217                               oxm_ids =
2218                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2219                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2220                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2221                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2222                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2223                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2224                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2225                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2226                                    mpls_bos,pbb_isid]},
2227                           #ofp_table_feature_prop_apply_setfield{
2228                               oxm_ids =
2229                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2230                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2231                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2232                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2233                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2234                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2235                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2236                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2237                                    mpls_bos,pbb_isid]}]},
2238                  #ofp_table_features{
2239                      table_id = 6,name = <<"Flow Table 0x06">>,
2240                      metadata_match = <<"\377\377\377\377\377\377\377\377">>,
2241                      metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
2242                      properties =
2243                          [#ofp_table_feature_prop_instructions{
2244                               instruction_ids =
2245                                   [goto_table,write_metadata,write_actions,
2246                                    apply_actions,clear_actions,meter]},
2247                           #ofp_table_feature_prop_next_tables{
2248                               next_table_ids =
2249                                   [7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,
2250                                    22,23,24,25,26,27,28,29,30,31,32,33,34,35,
2251                                    36,37,38,39,40,41,42,43,44,45,46,47,48,49,
2252                                    50,51,52,53,54,55,56,57,58,59,60,61,62,63,
2253                                    64,65,66,67,68,69,70,71,72,73,74,75,76,77,
2254                                    78,79,80,81,82,83,84,85,86,87,88,89,90,91,
2255                                    92,93,94,95,96,97,98,99,100,101,102,103,
2256                                    104,105,106,107,108,109,110,111,112,113,
2257                                    114,115,116,117,118,119,120,121,122,123,
2258                                    124,125,126,127,128,129,130,131,132,133,
2259                                    134,135,136,137,138,139,140,141,142,143,
2260                                    144,145,146,147,148,149,150,151,152,153,
2261                                    154,155,156,157,158,159,160,161,162,163,
2262                                    164,165,166,167,168,169,170,171,172,173,
2263                                    174,175,176,177,178,179,180,181,182,183,
2264                                    184,185,186,187,188,189,190,191,192,193,
2265                                    194,195,196,197,198,199,200,201,202,203,
2266                                    204,205,206,207,208,209,210,211,212,213,
2267                                    214,215,216,217,218,219,220,221,222,223,
2268                                    224,225,226,227,228,229,230,231,232,233,
2269                                    234,235,236,237,238,239,240,241,242,243,
2270                                    244,245,246,247,248,249,250,251,252,253,
2271                                    254]},
2272                           #ofp_table_feature_prop_write_actions{
2273                               action_ids =
2274                                   [output,group,set_queue,set_mpls_ttl,
2275                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
2276                                    copy_ttl_out,copy_ttl_in,push_vlan,
2277                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
2278                                    pop_pbb,set_field]},
2279                           #ofp_table_feature_prop_apply_actions{
2280                               action_ids =
2281                                   [output,group,set_queue,set_mpls_ttl,
2282                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
2283                                    copy_ttl_out,copy_ttl_in,push_vlan,
2284                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
2285                                    pop_pbb,set_field]},
2286                           #ofp_table_feature_prop_match{
2287                               oxm_ids =
2288                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2289                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2290                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2291                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2292                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2293                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2294                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2295                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2296                                    mpls_bos,pbb_isid]},
2297                           #ofp_table_feature_prop_wildcards{
2298                               oxm_ids =
2299                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2300                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2301                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2302                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2303                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2304                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2305                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2306                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2307                                    mpls_bos,pbb_isid]},
2308                           #ofp_table_feature_prop_write_setfield{
2309                               oxm_ids =
2310                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2311                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2312                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2313                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2314                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2315                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2316                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2317                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2318                                    mpls_bos,pbb_isid]},
2319                           #ofp_table_feature_prop_apply_setfield{
2320                               oxm_ids =
2321                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2322                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2323                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2324                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2325                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2326                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2327                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2328                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2329                                    mpls_bos,pbb_isid]}]},
2330                  #ofp_table_features{
2331                      table_id = 7,name = <<"Flow Table 0x07">>,
2332                      metadata_match = <<"\377\377\377\377\377\377\377\377">>,
2333                      metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
2334                      properties =
2335                          [#ofp_table_feature_prop_instructions{
2336                               instruction_ids =
2337                                   [goto_table,write_metadata,write_actions,
2338                                    apply_actions,clear_actions,meter]},
2339                           #ofp_table_feature_prop_next_tables{
2340                               next_table_ids =
2341                                   [8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,
2342                                    23,24,25,26,27,28,29,30,31,32,33,34,35,36,
2343                                    37,38,39,40,41,42,43,44,45,46,47,48,49,50,
2344                                    51,52,53,54,55,56,57,58,59,60,61,62,63,64,
2345                                    65,66,67,68,69,70,71,72,73,74,75,76,77,78,
2346                                    79,80,81,82,83,84,85,86,87,88,89,90,91,92,
2347                                    93,94,95,96,97,98,99,100,101,102,103,104,
2348                                    105,106,107,108,109,110,111,112,113,114,
2349                                    115,116,117,118,119,120,121,122,123,124,
2350                                    125,126,127,128,129,130,131,132,133,134,
2351                                    135,136,137,138,139,140,141,142,143,144,
2352                                    145,146,147,148,149,150,151,152,153,154,
2353                                    155,156,157,158,159,160,161,162,163,164,
2354                                    165,166,167,168,169,170,171,172,173,174,
2355                                    175,176,177,178,179,180,181,182,183,184,
2356                                    185,186,187,188,189,190,191,192,193,194,
2357                                    195,196,197,198,199,200,201,202,203,204,
2358                                    205,206,207,208,209,210,211,212,213,214,
2359                                    215,216,217,218,219,220,221,222,223,224,
2360                                    225,226,227,228,229,230,231,232,233,234,
2361                                    235,236,237,238,239,240,241,242,243,244,
2362                                    245,246,247,248,249,250,251,252,253,254]},
2363                           #ofp_table_feature_prop_write_actions{
2364                               action_ids =
2365                                   [output,group,set_queue,set_mpls_ttl,
2366                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
2367                                    copy_ttl_out,copy_ttl_in,push_vlan,
2368                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
2369                                    pop_pbb,set_field]},
2370                           #ofp_table_feature_prop_apply_actions{
2371                               action_ids =
2372                                   [output,group,set_queue,set_mpls_ttl,
2373                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
2374                                    copy_ttl_out,copy_ttl_in,push_vlan,
2375                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
2376                                    pop_pbb,set_field]},
2377                           #ofp_table_feature_prop_match{
2378                               oxm_ids =
2379                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2380                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2381                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2382                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2383                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2384                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2385                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2386                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2387                                    mpls_bos,pbb_isid]},
2388                           #ofp_table_feature_prop_wildcards{
2389                               oxm_ids =
2390                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2391                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2392                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2393                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2394                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2395                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2396                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2397                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2398                                    mpls_bos,pbb_isid]},
2399                           #ofp_table_feature_prop_write_setfield{
2400                               oxm_ids =
2401                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2402                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2403                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2404                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2405                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2406                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2407                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2408                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2409                                    mpls_bos,pbb_isid]},
2410                           #ofp_table_feature_prop_apply_setfield{
2411                               oxm_ids =
2412                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2413                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2414                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2415                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2416                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2417                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2418                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2419                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2420                                    mpls_bos,pbb_isid]}]},
2421                  #ofp_table_features{
2422                      table_id = 8,name = <<"Flow Table 0x08">>,
2423                      metadata_match = <<"\377\377\377\377\377\377\377\377">>,
2424                      metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
2425                      properties =
2426                          [#ofp_table_feature_prop_instructions{
2427                               instruction_ids =
2428                                   [goto_table,write_metadata,write_actions,
2429                                    apply_actions,clear_actions,meter]},
2430                           #ofp_table_feature_prop_next_tables{
2431                               next_table_ids =
2432                                   [9,10,11,12,13,14,15,16,17,18,19,20,21,22,
2433                                    23,24,25,26,27,28,29,30,31,32,33,34,35,36,
2434                                    37,38,39,40,41,42,43,44,45,46,47,48,49,50,
2435                                    51,52,53,54,55,56,57,58,59,60,61,62,63,64,
2436                                    65,66,67,68,69,70,71,72,73,74,75,76,77,78,
2437                                    79,80,81,82,83,84,85,86,87,88,89,90,91,92,
2438                                    93,94,95,96,97,98,99,100,101,102,103,104,
2439                                    105,106,107,108,109,110,111,112,113,114,
2440                                    115,116,117,118,119,120,121,122,123,124,
2441                                    125,126,127,128,129,130,131,132,133,134,
2442                                    135,136,137,138,139,140,141,142,143,144,
2443                                    145,146,147,148,149,150,151,152,153,154,
2444                                    155,156,157,158,159,160,161,162,163,164,
2445                                    165,166,167,168,169,170,171,172,173,174,
2446                                    175,176,177,178,179,180,181,182,183,184,
2447                                    185,186,187,188,189,190,191,192,193,194,
2448                                    195,196,197,198,199,200,201,202,203,204,
2449                                    205,206,207,208,209,210,211,212,213,214,
2450                                    215,216,217,218,219,220,221,222,223,224,
2451                                    225,226,227,228,229,230,231,232,233,234,
2452                                    235,236,237,238,239,240,241,242,243,244,
2453                                    245,246,247,248,249,250,251,252,253,254]},
2454                           #ofp_table_feature_prop_write_actions{
2455                               action_ids =
2456                                   [output,group,set_queue,set_mpls_ttl,
2457                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
2458                                    copy_ttl_out,copy_ttl_in,push_vlan,
2459                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
2460                                    pop_pbb,set_field]},
2461                           #ofp_table_feature_prop_apply_actions{
2462                               action_ids =
2463                                   [output,group,set_queue,set_mpls_ttl,
2464                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
2465                                    copy_ttl_out,copy_ttl_in,push_vlan,
2466                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
2467                                    pop_pbb,set_field]},
2468                           #ofp_table_feature_prop_match{
2469                               oxm_ids =
2470                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2471                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2472                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2473                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2474                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2475                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2476                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2477                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2478                                    mpls_bos,pbb_isid]},
2479                           #ofp_table_feature_prop_wildcards{
2480                               oxm_ids =
2481                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2482                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2483                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2484                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2485                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2486                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2487                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2488                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2489                                    mpls_bos,pbb_isid]},
2490                           #ofp_table_feature_prop_write_setfield{
2491                               oxm_ids =
2492                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2493                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2494                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2495                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2496                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2497                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2498                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2499                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2500                                    mpls_bos,pbb_isid]},
2501                           #ofp_table_feature_prop_apply_setfield{
2502                               oxm_ids =
2503                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2504                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2505                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2506                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2507                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2508                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2509                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2510                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2511                                    mpls_bos,pbb_isid]}]},
2512                  #ofp_table_features{
2513                      table_id = 9,name = <<"Flow Table 0x09">>,
2514                      metadata_match = <<"\377\377\377\377\377\377\377\377">>,
2515                      metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
2516                      properties =
2517                          [#ofp_table_feature_prop_instructions{
2518                               instruction_ids =
2519                                   [goto_table,write_metadata,write_actions,
2520                                    apply_actions,clear_actions,meter]},
2521                           #ofp_table_feature_prop_next_tables{
2522                               next_table_ids =
2523                                   [10,11,12,13,14,15,16,17,18,19,20,21,22,23,
2524                                    24,25,26,27,28,29,30,31,32,33,34,35,36,37,
2525                                    38,39,40,41,42,43,44,45,46,47,48,49,50,51,
2526                                    52,53,54,55,56,57,58,59,60,61,62,63,64,65,
2527                                    66,67,68,69,70,71,72,73,74,75,76,77,78,79,
2528                                    80,81,82,83,84,85,86,87,88,89,90,91,92,93,
2529                                    94,95,96,97,98,99,100,101,102,103,104,105,
2530                                    106,107,108,109,110,111,112,113,114,115,
2531                                    116,117,118,119,120,121,122,123,124,125,
2532                                    126,127,128,129,130,131,132,133,134,135,
2533                                    136,137,138,139,140,141,142,143,144,145,
2534                                    146,147,148,149,150,151,152,153,154,155,
2535                                    156,157,158,159,160,161,162,163,164,165,
2536                                    166,167,168,169,170,171,172,173,174,175,
2537                                    176,177,178,179,180,181,182,183,184,185,
2538                                    186,187,188,189,190,191,192,193,194,195,
2539                                    196,197,198,199,200,201,202,203,204,205,
2540                                    206,207,208,209,210,211,212,213,214,215,
2541                                    216,217,218,219,220,221,222,223,224,225,
2542                                    226,227,228,229,230,231,232,233,234,235,
2543                                    236,237,238,239,240,241,242,243,244,245,
2544                                    246,247,248,249,250,251,252,253,254]},
2545                           #ofp_table_feature_prop_write_actions{
2546                               action_ids =
2547                                   [output,group,set_queue,set_mpls_ttl,
2548                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
2549                                    copy_ttl_out,copy_ttl_in,push_vlan,
2550                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
2551                                    pop_pbb,set_field]},
2552                           #ofp_table_feature_prop_apply_actions{
2553                               action_ids =
2554                                   [output,group,set_queue,set_mpls_ttl,
2555                                    dec_mpls_ttl,set_nw_ttl,dec_nw_ttl,
2556                                    copy_ttl_out,copy_ttl_in,push_vlan,
2557                                    pop_vlan,push_mpls,pop_mpls,push_pbb,
2558                                    pop_pbb,set_field]},
2559                           #ofp_table_feature_prop_match{
2560                               oxm_ids =
2561                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2562                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2563                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2564                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2565                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2566                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2567                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2568                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2569                                    mpls_bos,pbb_isid]},
2570                           #ofp_table_feature_prop_wildcards{
2571                               oxm_ids =
2572                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2573                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2574                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2575                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2576                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2577                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2578                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2579                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2580                                    mpls_bos,pbb_isid]},
2581                           #ofp_table_feature_prop_write_setfield{
2582                               oxm_ids =
2583                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2584                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2585                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2586                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2587                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2588                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2589                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2590                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2591                                    mpls_bos,pbb_isid]},
2592                           #ofp_table_feature_prop_apply_setfield{
2593                               oxm_ids =
2594                                   [in_port,metadata,eth_dst,eth_src,eth_type,
2595                                    vlan_vid,vlan_pcp,ip_dscp,ip_ecn,ip_proto,
2596                                    ipv4_src,ipv4_dst,tcp_src,tcp_dst,udp_src,
2597                                    udp_dst,sctp_src,sctp_dst,icmpv4_type,
2598                                    icmpv4_code,arp_op,arp_spa,arp_tpa,arp_sha,
2599                                    arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
2600                                    icmpv6_type,icmpv6_code,ipv6_nd_target,
2601                                    ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
2602                                    mpls_bos,pbb_isid]}]}]},
2603         #ofp_group_stats_request{flags = [],group_id = all},
2604         #ofp_group_stats_reply{
2605             flags = [],
2606             body = 
2607                 [#ofp_group_stats{
2608                      group_id = 1,ref_count = 2,packet_count = 123,
2609                      byte_count = 12345,duration_sec = 9,
2610                      duration_nsec = 609036000,
2611                      bucket_stats = 
2612                          [#ofp_bucket_counter{
2613                               packet_count = 234,byte_count = 2345}]}]},
2614         #ofp_packet_in{
2615             buffer_id = 16#f0000000,reason = no_match,table_id = 200,
2616             cookie = <<0,1,2,3,0,0,0,0>>,
2617             match = #ofp_match{fields = AllFields},
2618             data = <<>>},
2619         #ofp_flow_mod{
2620             cookie = <<0,0,0,0,0,0,0,0>>,
2621             cookie_mask = <<0,0,0,0,0,0,0,0>>,
2622             table_id = 1,command = add,idle_timeout = 0,
2623             hard_timeout = 0,priority = 123,buffer_id = 65535,
2624             out_port = any,out_group = any,flags = [],
2625             match = #ofp_match{fields = AllFields},
2626             instructions = []},
2627         #ofp_experimenter_request{
2628             experimenter = 16#deadbeaf,
2629             exp_type = 16#cafe8888,
2630             data = <<"hogehoge">>
2631         },
2632         #ofp_experimenter_reply{
2633             experimenter = 16#deadbeaf,
2634             exp_type = 16#cafe7777,
2635             data = <<"testdata99999999">>
2636         },
2637         #onf_flow_monitor_request{
2638             flags = [],
2639             body = [
2640                 #onf_flow_monitor{
2641                     id = 100000000,
2642                     flags = [initial, add, delete, modify],
2643                     out_port = 22,
2644                     table_id = 33,
2645                     fields = []
2646                 },
2647                 #onf_flow_monitor{
2648                     id = 999,
2649                     flags = [initial, actions, own],
2650                     out_port = any,
2651                     table_id = all,
2652                     fields = AllFields
2653                 }
2654             ]
2655         }
2656     ],
2657     lists:foldl(fun x:do/2, {4, 0}, List).