From 611099dc3017879efd9ccede68307e8a24c47894 Mon Sep 17 00:00:00 2001 From: "RYAN D. MOATS" Date: Fri, 19 Feb 2016 11:25:07 -0600 Subject: [PATCH] Add useful information to ovn E2E test 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 Signed-off-by: Ben Pfaff --- AUTHORS | 1 + tests/ovn.at | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/AUTHORS b/AUTHORS index db68bf1f9..96bdc4f37 100644 --- 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 diff --git a/tests/ovn.at b/tests/ovn.at index 0bc5e5814..d0200e4e8 100644 --- a/tests/ovn.at +++ b/tests/ovn.at @@ -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() { -- 2.20.1