summaryrefslogtreecommitdiff
path: root/tests/nsh.at
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2018-05-10 16:21:50 -0700
committerBen Pfaff <blp@ovn.org>2018-05-17 08:16:08 -0700
commitfac4786a1b94ffc85eeb32a2b6b98f7b40740975 (patch)
tree8ca0a2cd956931c251c4a2274b0db1ab8178faeb /tests/nsh.at
parente428148a1fb0f2bf8e7d2829220b849a82cd081c (diff)
downloadopenvswitch-fac4786a1b94ffc85eeb32a2b6b98f7b40740975.tar.gz
ofproto-dpif-xlate: Improve tracing through groups.
This makes it clear which buckets from a group are executed and why. The update to nsh.at provides an example. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Justin Pettit <jpettit@ovn.org>
Diffstat (limited to 'tests/nsh.at')
-rw-r--r--tests/nsh.at41
1 files changed, 22 insertions, 19 deletions
diff --git a/tests/nsh.at b/tests/nsh.at
index 7539e91e9..70d8b4836 100644
--- a/tests/nsh.at
+++ b/tests/nsh.at
@@ -331,25 +331,28 @@ bridge("br0")
-------------
0. ip,in_port=1, priority 32768
group:100
- encap(nsh(md_type=1))
- set_field:0x1234->nsh_spi
- set_field:0x11223344->nsh_c1
- group:200
- encap(nsh(md_type=1))
- set_field:0x5678->nsh_spi
- set_field:0x55667788->nsh_c1
- group:300
- encap(ethernet)
- set_field:11:22:33:44:55:66->eth_dst
- output:3
-
-bridge("br0")
--------------
- 0. in_port=4,dl_type=0x894f,nsh_mdtype=1,nsh_spi=0x5678,nsh_c1=0x55667788, priority 32768
- decap()
- goto_table:1
- 1. packet_type=(1,0x894f),nsh_mdtype=1,nsh_spi=0x5678,nsh_c1=0x55667788, priority 32768
- decap()
+ bucket 0
+ encap(nsh(md_type=1))
+ set_field:0x1234->nsh_spi
+ set_field:0x11223344->nsh_c1
+ group:200
+ bucket 0
+ encap(nsh(md_type=1))
+ set_field:0x5678->nsh_spi
+ set_field:0x55667788->nsh_c1
+ group:300
+ bucket 0
+ encap(ethernet)
+ set_field:11:22:33:44:55:66->eth_dst
+ output:3
+
+ bridge("br0")
+ -------------
+ 0. in_port=4,dl_type=0x894f,nsh_mdtype=1,nsh_spi=0x5678,nsh_c1=0x55667788, priority 32768
+ decap()
+ goto_table:1
+ 1. packet_type=(1,0x894f),nsh_mdtype=1,nsh_spi=0x5678,nsh_c1=0x55667788, priority 32768
+ decap()
Final flow: unchanged
Megaflow: recirc_id=0,eth,ip,in_port=1,dl_dst=66:77:88:99:aa:bb,nw_frag=no