[ovs-dev] [PATCH v7 1/6] [ovn-controller] Add useful information to ovn E2E test

Ryan Moats rmoats at us.ibm.com
Fri Feb 19 17:25:07 UTC 2016


From: RYAN D. MOATS <rmoats at us.ibm.com>

Make test 1737 output the OF flows from all three hypervisors to help
in case something goes wrong.

Signed-off-by: RYAN D. MOATS <rmoats at us.ibm.com>
---
 tests/ovn.at |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/tests/ovn.at b/tests/ovn.at
index f4117b6..e13a9c3 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -559,6 +559,18 @@ ovn_populate_arp
 sleep 1
 ovn-sbctl dump-flows -- list multicast_group
 
+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
+
 # Given the name of a logical port, prints the name of the hypervisor
 # on which it is located.
 vif_to_hv() {
-- 
1.7.1




More information about the dev mailing list