Add useful information to ovn E2E test
authorRYAN D. MOATS <rmoats@us.ibm.com>
Fri, 19 Feb 2016 17:25:07 +0000 (11:25 -0600)
committerBen Pfaff <blp@ovn.org>
Thu, 25 Feb 2016 21:00:07 +0000 (13:00 -0800)
Make test 2002 "ovn -- 3 HVs, 1 LS, 3 lports/HV" output the OF flows from
all three hypervisors to help in case something goes wrong.

Signed-off-by: RYAN D. MOATS <rmoats@us.ibm.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
AUTHORS
tests/ovn.at

diff --git a/AUTHORS b/AUTHORS
index db68bf1..96bdc4f 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -173,6 +173,7 @@ Robert Ã…kerblom-Andersson Robert.nr1@gmail.com
 Rob Hoes                rob.hoes@citrix.com
 Romain Lenglet          romain.lenglet@berabera.info
 Russell Bryant          russell@ovn.org
+RYAN D. MOATS           rmoats@us.ibm.com
 Ryan Wilson             wryan@nicira.com
 Sairam Venugopal        vsairam@vmware.com
 Sajjad Lateef           slateef@nicira.com
index 0bc5e58..d0200e4 100644 (file)
@@ -570,6 +570,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() {