[ovs-dev] [PATCH v8 01/10] Add useful information to ovn E2E tests
Ryan Moats
us.ibm.com at oc7146733065.ibm.com
Wed Mar 9 19:44:25 UTC 2016
From: RYAN D. MOATS <rmoats at us.ibm.com>
Modify test 1739 to output the OF flows from all three
hypervisors to help debug when something goes wrong.
Signed-off-by: RYAN D. MOATS <rmoats at us.ibm.com>
---
tests/ovn.at | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/tests/ovn.at b/tests/ovn.at
index 5cb7d8b..6fcec99 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -1022,8 +1022,22 @@ ovn_populate_arp
# Allow some time for ovn-northd and ovn-controller to catch up.
# XXX This should be more systematic.
sleep 1
+echo "------ OVN dump ------"
+ovn-nbctl show
ovn-sbctl show
+echo "------ hv1 dump ------"
+as hv1 ovs-vsctl show
+as hv1 ovs-ofctl -O OpenFlow13 dump-flows br-int
+
+echo "------ hv2 dump ------"
+as hv2 ovs-vsctl show
+as hv2 ovs-ofctl -O OpenFlow13 dump-flows br-int
+
+echo "------ hv3 dump ------"
+as hv3 ovs-vsctl show
+as hv3 ovs-ofctl -O OpenFlow13 dump-flows br-int
+
# test_packet INPORT DST SRC ETHTYPE OUTPORT...
#
# This shell function causes a packet to be received on INPORT. The packet's
--
1.7.1
More information about the dev
mailing list