Execution time: 3.329s Execution time on "main" branch: 2.794s Signed-off-by: Mark Michelson <mmich...@redhat.com> --- tests/ovn.at | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/tests/ovn.at b/tests/ovn.at index 44b2c1650..a394e67bf 100644 --- a/tests/ovn.at +++ b/tests/ovn.at @@ -6095,6 +6095,7 @@ AT_CLEANUP OVN_FOR_EACH_NORTHD([ AT_SETUP([1 HV, 2 LSs, 1 lport/LS, 1 LR]) AT_KEYWORDS([router-admin-state]) +AT_SKIP_IF([test $HAVE_SCAPY = no]) ovn_start # Logical network: @@ -6152,11 +6153,13 @@ AT_CAPTURE_FILE([sbflows]) # Send ip packets between the two ports. # Packet to send. -src_mac="f00000010203" -dst_mac="000000010203" -src_ip=`ip_to_hex 192 168 1 2` -dst_ip=`ip_to_hex 172 16 1 2` -packet=${dst_mac}${src_mac}08004500001c0000000040110000${src_ip}${dst_ip}0035111100080000 +src_mac="f0:00:00:01:02:03" +dst_mac="00:00:00:01:02:03" +src_ip=192.168.1.2 +dst_ip=172.16.1.2 +packet=$(fmt_pkt "Ether(dst='${dst_mac}', src='${src_mac}')/ \ + IP(src='${src_ip}', dst='${dst_ip}')/ \ + UDP(sport=53, dport=4369)") as hv1 ovs-appctl netdev-dummy/receive vif1 $packet #Disable router R1 @@ -6168,9 +6171,11 @@ AT_CAPTURE_FILE([sbflows2]) as hv1 ovs-appctl netdev-dummy/receive vif1 $packet # Packet to Expect -expect_src_mac="000000010204" -expect_dst_mac="f00000010204" -echo "${expect_dst_mac}${expect_src_mac}08004500001c000000003f110100${src_ip}${dst_ip}0035111100080000" > expected +expect_src_mac="00:00:00:01:02:04" +expect_dst_mac="f0:00:00:01:02:04" +echo $(fmt_pkt "Ether(dst='${expect_dst_mac}', src='${expect_src_mac}')/ \ + IP(src='${src_ip}', dst='${dst_ip}', ttl=0x3f)/ \ + UDP(sport=53, dport=4369)") > expected OVN_CHECK_PACKETS([hv1/vif2-tx.pcap], [expected]) -- 2.40.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev