projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
241e826
)
tests: Add test for printing NXT_FLOW_MOD_TABLE_ID.
author
Ben Pfaff
<blp@nicira.com>
Fri, 10 Jun 2011 16:18:58 +0000
(09:18 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 10 Jun 2011 16:19:25 +0000
(09:19 -0700)
tests/ofp-print.at
patch
|
blob
|
history
diff --git
a/tests/ofp-print.at
b/tests/ofp-print.at
index b5653d93d27a190553e1c88028de59bd1fe64a8e..9b7a962d5a336dff3e7c69d007ce89428ac35090 100644
(file)
--- a/
tests/ofp-print.at
+++ b/
tests/ofp-print.at
@@
-685,6
+685,16
@@
NXT_FLOW_REMOVED (xid=0x0): priority=65535,arp,in_port=3,vlan_tci=0x0000,dl_src=
])
AT_CLEANUP
+AT_SETUP([NXT_FLOW_MOD_TABLE_ID])
+AT_KEYWORDS([ofp-print])
+AT_CHECK([ovs-ofctl ofp-print "\
+01 04 00 18 01 02 03 04 00 00 23 20 00 00 00 0f \
+01 00 00 00 00 00 00 00 \
+"], [0], [dnl
+NXT_FLOW_MOD_TABLE_ID (xid=0x1020304): enable
+])
+AT_CLEANUP
+
AT_SETUP([NXST_FLOW request])
AT_KEYWORDS([ofp-print OFPT_STATS_REQUEST])
AT_CHECK([ovs-ofctl ofp-print "\