V2:
  Fix type of NEXT_TABLE_MISS

V1:
  Implement the at for OFPMP_TABLE_FEATURES.
  (I've tested it via NOX-OF1.3 too.)

Signed-off-by: Alexander Wu <alexander...@huawei.com>
---
 tests/ofp-print.at |  187 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/ofproto.at   |   25 +++++++
 2 files changed, 212 insertions(+), 0 deletions(-)

diff --git a/tests/ofp-print.at b/tests/ofp-print.at
index 8701f54..0822e5d 100644
--- a/tests/ofp-print.at
+++ b/tests/ofp-print.at
@@ -1922,6 +1922,193 @@ meter:2 flow_count:2 packet_in_count:512 
byte_in_count:12288 duration:391.170094
 ])
 AT_CLEANUP

+AT_SETUP([OFPST_TABLE_FEATURES request - OF1.3])
+AT_KEYWORDS([ofp-print OFPT_STATS_REQUEST])
+AT_CHECK([ovs-ofctl ofp-print "\
+04 13 0a 30 00 00 00 d5  00 0c 00 00 00 00 00 00 \
+0a 20 00 00 00 00 00 00  74 61 62 6c 65 30 00 00 \
+00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 \
+00 00 00 00 00 00 00 00  ff ff ff ff ff ff ff ff \
+ff ff ff ff ff ff ff ff  00 00 00 03 00 0f 42 40 \
+00 00 00 34 00 01 00 08  00 00 00 00 00 02 00 08 \
+00 00 00 00 00 03 00 08  00 00 00 00 00 04 00 08 \
+00 00 00 00 00 05 00 08  00 00 00 00 00 06 00 08 \
+00 00 00 00 00 00 00 00  00 01 00 34 00 01 00 08 \
+00 00 00 00 00 02 00 08  00 00 00 00 00 03 00 08 \
+00 00 00 00 00 04 00 08  00 00 00 00 00 05 00 08 \
+00 00 00 00 00 06 00 08  00 00 00 00 00 00 00 00 \
+00 02 01 02 01 02 03 04  05 06 07 08 09 0a 0b 0c \
+0d 0e 0f 10 11 12 13 14  15 16 17 18 19 1a 1b 1c \
+1d 1e 1f 20 21 22 23 24  25 26 27 28 29 2a 2b 2c \
+2d 2e 2f 30 31 32 33 34  35 36 37 38 39 3a 3b 3c \
+3d 3e 3f 40 41 42 43 44  45 46 47 48 49 4a 4b 4c \
+4d 4e 4f 50 51 52 53 54  55 56 57 58 59 5a 5b 5c \
+5d 5e 5f 60 61 62 63 64  65 66 67 68 69 6a 6b 6c \
+6d 6e 6f 70 71 72 73 74  75 76 77 78 79 7a 7b 7c \
+7d 7e 7f 80 81 82 83 84  85 86 87 88 89 8a 8b 8c \
+8d 8e 8f 90 91 92 93 94  95 96 97 98 99 9a 9b 9c \
+9d 9e 9f a0 a1 a2 a3 a4  a5 a6 a7 a8 a9 aa ab ac \
+ad ae af b0 b1 b2 b3 b4  b5 b6 b7 b8 b9 ba bb bc \
+bd be bf c0 c1 c2 c3 c4  c5 c6 c7 c8 c9 ca cb cc \
+cd ce cf d0 d1 d2 d3 d4  d5 d6 d7 d8 d9 da db dc \
+dd de df e0 e1 e2 e3 e4  e5 e6 e7 e8 e9 ea eb ec \
+ed ee ef f0 f1 f2 f3 f4  f5 f6 f7 f8 f9 fa fb fc \
+fd fe 00 00 00 00 00 00  00 03 01 02 01 02 03 04 \
+05 06 07 08 09 0a 0b 0c  0d 0e 0f 10 11 12 13 14 \
+15 16 17 18 19 1a 1b 1c  1d 1e 1f 20 21 22 23 24 \
+25 26 27 28 29 2a 2b 2c  2d 2e 2f 30 31 32 33 34 \
+35 36 37 38 39 3a 3b 3c  3d 3e 3f 40 41 42 43 44 \
+45 46 47 48 49 4a 4b 4c  4d 4e 4f 50 51 52 53 54 \
+55 56 57 58 59 5a 5b 5c  5d 5e 5f 60 61 62 63 64 \
+65 66 67 68 69 6a 6b 6c  6d 6e 6f 70 71 72 73 74 \
+75 76 77 78 79 7a 7b 7c  7d 7e 7f 80 81 82 83 84 \
+85 86 87 88 89 8a 8b 8c  8d 8e 8f 90 91 92 93 94 \
+95 96 97 98 99 9a 9b 9c  9d 9e 9f a0 a1 a2 a3 a4 \
+a5 a6 a7 a8 a9 aa ab ac  ad ae af b0 b1 b2 b3 b4 \
+b5 b6 b7 b8 b9 ba bb bc  bd be bf c0 c1 c2 c3 c4 \
+c5 c6 c7 c8 c9 ca cb cc  cd ce cf d0 d1 d2 d3 d4 \
+d5 d6 d7 d8 d9 da db dc  dd de df e0 e1 e2 e3 e4 \
+e5 e6 e7 e8 e9 ea eb ec  ed ee ef f0 f1 f2 f3 f4 \
+f5 f6 f7 f8 f9 fa fb fc  fd fe 00 00 00 00 00 00 \
+00 04 00 e4 00 00 00 08  00 00 00 00 00 01 00 08 \
+00 00 00 00 00 02 00 08  00 00 00 00 00 03 00 08 \
+00 00 00 00 00 04 00 08  00 00 00 00 00 05 00 08 \
+00 00 00 00 00 06 00 08  00 00 00 00 00 07 00 08 \
+00 00 00 00 00 08 00 08  00 00 00 00 00 09 00 08 \
+00 00 00 00 00 0a 00 08  00 00 00 00 00 0b 00 08 \
+00 00 00 00 00 0c 00 08  00 00 00 00 00 0d 00 08 \
+00 00 00 00 00 0e 00 08  00 00 00 00 00 0f 00 08 \
+00 00 00 00 00 10 00 08  00 00 00 00 00 11 00 08 \
+00 00 00 00 00 12 00 08  00 00 00 00 00 13 00 08 \
+00 00 00 00 00 14 00 08  00 00 00 00 00 15 00 08 \
+00 00 00 00 00 16 00 08  00 00 00 00 00 17 00 08 \
+00 00 00 00 00 18 00 08  00 00 00 00 00 19 00 08 \
+00 00 00 00 00 1a 00 08  00 00 00 00 00 1b 00 08 \
+00 00 00 00 00 00 00 00  00 05 00 e4 00 00 00 08 \
+00 00 00 00 00 01 00 08  00 00 00 00 00 02 00 08 \
+00 00 00 00 00 03 00 08  00 00 00 00 00 04 00 08 \
+00 00 00 00 00 05 00 08  00 00 00 00 00 06 00 08 \
+00 00 00 00 00 07 00 08  00 00 00 00 00 08 00 08 \
+00 00 00 00 00 09 00 08  00 00 00 00 00 0a 00 08 \
+00 00 00 00 00 0b 00 08  00 00 00 00 00 0c 00 08 \
+00 00 00 00 00 0d 00 08  00 00 00 00 00 0e 00 08 \
+00 00 00 00 00 0f 00 08  00 00 00 00 00 10 00 08 \
+00 00 00 00 00 11 00 08  00 00 00 00 00 12 00 08 \
+00 00 00 00 00 13 00 08  00 00 00 00 00 14 00 08 \
+00 00 00 00 00 15 00 08  00 00 00 00 00 16 00 08 \
+00 00 00 00 00 17 00 08  00 00 00 00 00 18 00 08 \
+00 00 00 00 00 19 00 08  00 00 00 00 00 1a 00 08 \
+00 00 00 00 00 1b 00 08  00 00 00 00 00 00 00 00 \
+00 06 00 e4 00 00 00 08  00 00 00 00 00 01 00 08 \
+00 00 00 00 00 02 00 08  00 00 00 00 00 03 00 08 \
+00 00 00 00 00 04 00 08  00 00 00 00 00 05 00 08 \
+00 00 00 00 00 06 00 08  00 00 00 00 00 07 00 08 \
+00 00 00 00 00 08 00 08  00 00 00 00 00 09 00 08 \
+00 00 00 00 00 0a 00 08  00 00 00 00 00 0b 00 08 \
+00 00 00 00 00 0c 00 08  00 00 00 00 00 0d 00 08 \
+00 00 00 00 00 0e 00 08  00 00 00 00 00 0f 00 08 \
+00 00 00 00 00 10 00 08  00 00 00 00 00 11 00 08 \
+00 00 00 00 00 12 00 08  00 00 00 00 00 13 00 08 \
+00 00 00 00 00 14 00 08  00 00 00 00 00 15 00 08 \
+00 00 00 00 00 16 00 08  00 00 00 00 00 17 00 08 \
+00 00 00 00 00 18 00 08  00 00 00 00 00 19 00 08 \
+00 00 00 00 00 1a 00 08  00 00 00 00 00 1b 00 08 \
+00 00 00 00 00 00 00 00  00 07 00 e4 00 00 00 08 \
+00 00 00 00 00 01 00 08  00 00 00 00 00 02 00 08 \
+00 00 00 00 00 03 00 08  00 00 00 00 00 04 00 08 \
+00 00 00 00 00 05 00 08  00 00 00 00 00 06 00 08 \
+00 00 00 00 00 07 00 08  00 00 00 00 00 08 00 08 \
+00 00 00 00 00 09 00 08  00 00 00 00 00 0a 00 08 \
+00 00 00 00 00 0b 00 08  00 00 00 00 00 0c 00 08 \
+00 00 00 00 00 0d 00 08  00 00 00 00 00 0e 00 08 \
+00 00 00 00 00 0f 00 08  00 00 00 00 00 10 00 08 \
+00 00 00 00 00 11 00 08  00 00 00 00 00 12 00 08 \
+00 00 00 00 00 13 00 08  00 00 00 00 00 14 00 08 \
+00 00 00 00 00 15 00 08  00 00 00 00 00 16 00 08 \
+00 00 00 00 00 17 00 08  00 00 00 00 00 18 00 08 \
+00 00 00 00 00 19 00 08  00 00 00 00 00 1a 00 08 \
+00 00 00 00 00 1b 00 08  00 00 00 00 00 00 00 00 \
+00 08 00 a0 80 00 00 04  80 00 02 04 80 00 04 08 \
+80 00 06 06 80 00 08 06  80 00 0a 02 80 00 0c 02 \
+80 00 0e 01 80 00 10 01  80 00 12 01 80 00 14 01 \
+80 00 16 04 80 00 18 04  80 00 1a 02 80 00 1c 02 \
+80 00 1e 02 80 00 20 02  80 00 22 02 80 00 24 02 \
+80 00 26 01 80 00 28 01  80 00 2a 02 80 00 2c 04 \
+80 00 2e 04 80 00 30 06  80 00 32 06 80 00 34 10 \
+80 00 36 10 80 00 38 04  80 00 3a 01 80 00 3c 01 \
+80 00 3e 10 80 00 40 06  80 00 42 06 80 00 44 04 \
+80 00 46 01 80 00 48 01  80 00 4c 08 80 00 4e 02 \
+00 0a 00 a0 80 00 00 04  80 00 02 04 80 00 04 08 \
+80 00 06 06 80 00 08 06  80 00 0a 02 80 00 0c 02 \
+80 00 0e 01 80 00 10 01  80 00 12 01 80 00 14 01 \
+80 00 16 04 80 00 18 04  80 00 1a 02 80 00 1c 02 \
+80 00 1e 02 80 00 20 02  80 00 22 02 80 00 24 02 \
+80 00 26 01 80 00 28 01  80 00 2a 02 80 00 2c 04 \
+80 00 2e 04 80 00 30 06  80 00 32 06 80 00 34 10 \
+80 00 36 10 80 00 38 04  80 00 3a 01 80 00 3c 01 \
+80 00 3e 10 80 00 40 06  80 00 42 06 80 00 44 04 \
+80 00 46 01 80 00 48 01  80 00 4c 08 80 00 4e 02 \
+00 0c 00 a0 80 00 00 04  80 00 02 04 80 00 04 08 \
+80 00 06 06 80 00 08 06  80 00 0a 02 80 00 0c 02 \
+80 00 0e 01 80 00 10 01  80 00 12 01 80 00 14 01 \
+80 00 16 04 80 00 18 04  80 00 1a 02 80 00 1c 02 \
+80 00 1e 02 80 00 20 02  80 00 22 02 80 00 24 02 \
+80 00 26 01 80 00 28 01  80 00 2a 02 80 00 2c 04 \
+80 00 2e 04 80 00 30 06  80 00 32 06 80 00 34 10 \
+80 00 36 10 80 00 38 04  80 00 3a 01 80 00 3c 01 \
+80 00 3e 10 80 00 40 06  80 00 42 06 80 00 44 04 \
+80 00 46 01 80 00 48 01  80 00 4c 08 80 00 4e 02 \
+00 0d 00 a0 80 00 00 04  80 00 02 04 80 00 04 08 \
+80 00 06 06 80 00 08 06  80 00 0a 02 80 00 0c 02 \
+80 00 0e 01 80 00 10 01  80 00 12 01 80 00 14 01 \
+80 00 16 04 80 00 18 04  80 00 1a 02 80 00 1c 02 \
+80 00 1e 02 80 00 20 02  80 00 22 02 80 00 24 02 \
+80 00 26 01 80 00 28 01  80 00 2a 02 80 00 2c 04 \
+80 00 2e 04 80 00 30 06  80 00 32 06 80 00 34 10 \
+80 00 36 10 80 00 38 04  80 00 3a 01 80 00 3c 01 \
+80 00 3e 10 80 00 40 06  80 00 42 06 80 00 44 04 \
+80 00 46 01 80 00 48 01  80 00 4c 08 80 00 4e 02 \
+00 0e 00 a0 80 00 00 04  80 00 02 04 80 00 04 08 \
+80 00 06 06 80 00 08 06  80 00 0a 02 80 00 0c 02 \
+80 00 0e 01 80 00 10 01  80 00 12 01 80 00 14 01 \
+80 00 16 04 80 00 18 04  80 00 1a 02 80 00 1c 02 \
+80 00 1e 02 80 00 20 02  80 00 22 02 80 00 24 02 \
+80 00 26 01 80 00 28 01  80 00 2a 02 80 00 2c 04 \
+80 00 2e 04 80 00 30 06  80 00 32 06 80 00 34 10 \
+80 00 36 10 80 00 38 04  80 00 3a 01 80 00 3c 01 \
+80 00 3e 10 80 00 40 06  80 00 42 06 80 00 44 04 \
+80 00 46 01 80 00 48 01  80 00 4c 08 80 00 4e 02 \
+00 0f 00 a0 80 00 00 04  80 00 02 04 80 00 04 08 \
+80 00 06 06 80 00 08 06  80 00 0a 02 80 00 0c 02 \
+80 00 0e 01 80 00 10 01  80 00 12 01 80 00 14 01 \
+80 00 16 04 80 00 18 04  80 00 1a 02 80 00 1c 02 \
+80 00 1e 02 80 00 20 02  80 00 22 02 80 00 24 02 \
+80 00 26 01 80 00 28 01  80 00 2a 02 80 00 2c 04 \
+80 00 2e 04 80 00 30 06  80 00 32 06 80 00 34 10 \
+80 00 36 10 80 00 38 04  80 00 3a 01 80 00 3c 01 \
+80 00 3e 10 80 00 40 06  80 00 42 06 80 00 44 04 \
+80 00 46 01 80 00 48 01  80 00 4c 08 80 00 4e 02 \
+"], [0], [dnl
+OFPST_TABLE_FEATURES reply (OF1.3) (xid=0xd5):
+  0: name:table0 metadata_match:ffffffffffffffff 
metadata_write:ffffffffffffffff config:3 max_entries:1000000
+    Properties:
+      OFPTFPT13_INSTRUCTIONS: 1,2,3,4,5,6
+      OFPTFPT13_INSTRUCTIONS_MISS: 1,2,3,4,5,6
+      OFPTFPT13_NEXT_TABLES: 
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254
+      OFPTFPT13_NEXT_TABLES_MISS: 
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254
+      OFPTFPT13_WRITE_ACTIONS: 
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27
+      OFPTFPT13_WRITE_ACTIONS_MISS: 
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27
+      OFPTFPT13_APPLY_ACTIONS: 
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27
+      OFPTFPT13_APPLY_ACTIONS_MISS: 
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27
+      OFPTFPT13_MATCH: 
IN_PORT,IN_PHY_PORT,METADATA,ETH_DST,ETH_SRC,ETH_TYPE,VLAN_VID,VLAN_PCP,IP_DSCP,IP_ECN,IP_PROTO,IPV4_SR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ND_TARGET,IPV6_ND_SLL,IPV6_ND_TLL,MPLS_LABEL,MPLS_TC,MPLS_BOS,TUNNEL_ID,IPV6_EXTHDR
+])
+AT_CLEANUP
+
 AT_SETUP([OFPT_BARRIER_REQUEST - OF1.0])
 AT_KEYWORDS([ofp-print])
 AT_CHECK([ovs-ofctl ofp-print '01 12 00 08 00 00 00 01'], [0], [dnl
diff --git a/tests/ofproto.at b/tests/ofproto.at
index 27b6b34..d0dfd3f 100644
--- a/tests/ofproto.at
+++ b/tests/ofproto.at
@@ -335,6 +335,31 @@ OFPST_GROUP reply (OF1.1):
 OVS_VSWITCHD_STOP
 AT_CLEANUP

+AT_SETUP([ofproto - table feature - (OpenFlow 1.3)])
+OVS_VSWITCHD_START
+AT_CHECK([ovs-ofctl -O OpenFlow13 -vwarn dump-table-features br0], [0], 
[stdout])
+AT_CHECK([[grep -B 1 -C 15 -w table0 stdout]], [0], [dnl
+OFPST_TABLE_FEATURES reply (OF1.3) (xid=0x2):
+  0: name:table0 metadata_match:ffffffffffffffff 
metadata_write:ffffffffffffffff config:3 max_entries:1000000
+    Properties:
+      OFPTFPT13_INSTRUCTIONS: 1,2,3,4,5,6
+      OFPTFPT13_INSTRUCTIONS_MISS: 1,2,3,4,5,6
+      OFPTFPT13_NEXT_TABLES: 
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254
+      OFPTFPT13_NEXT_TABLES_MISS: 
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254
+      OFPTFPT13_WRITE_ACTIONS: 
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27
+      OFPTFPT13_WRITE_ACTIONS_MISS: 
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27
+      OFPTFPT13_APPLY_ACTIONS: 
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27
+      OFPTFPT13_APPLY_ACTIONS_MISS: 
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27
+      OFPTF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ICMPV4_CODE,ARP_OP,ARP_SPA,ARP_TPA,ARP_SHA,ARP_THA,IPV6_SRC,IPV6_DST,IPV6_FLABEL,ICMPV6_TYPE,ICMPV6_CODE,IPV6_ND_TARGET,IPV6_ND_SLL,IPV6_ND_TLL,MPLS_LABEL,MPLS_TC,MPLS_BOS,TUNNEL_ID,IPV6_EXTHDR
+])
+OVS_VSWITCHD_STOP
+AT_CLEANUP
+
 AT_SETUP([ofproto - mod-port (OpenFlow 1.0)])
 OVS_VSWITCHD_START
 for command_config_state in \
--
1.7.3.1.msysgit.0


_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to