Skip to content

Commit

Permalink
Add useful information to ovn E2E test
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
jayhawk87 authored and blp committed Feb 25, 2016
1 parent a97eef9 commit 611099d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ Robert Åkerblom-Andersson [email protected]
Rob Hoes [email protected]
Romain Lenglet [email protected]
Russell Bryant [email protected]
RYAN D. MOATS [email protected]
Ryan Wilson [email protected]
Sairam Venugopal [email protected]
Sajjad Lateef [email protected]
Expand Down
12 changes: 12 additions & 0 deletions tests/ovn.at
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 611099d

Please sign in to comment.