From 5ce772f3b2d83c31eda5c2abdcd6cc4547ecc6c8 Mon Sep 17 00:00:00 2001 From: Fangyin Hu Date: Tue, 11 Apr 2017 00:31:33 -0700 Subject: Add the NSH SFC functional test cases. 1. Proxy Inbound test with 152/256/512/1024/1280/1518 Bytes VxLAN-GPE + NSH packet 2. Proxy Outbound test with 128/256/512/1024/1280/1518 Bytes VxLAN packet 3. SFC SFF test with 152/256/512/1024/1280/1518 Bytes VxLAN-GPE + NSH packet Separate the functional test bootstrap file to another code review. Change-Id: I05cf6ab1d01c1b41c1c61044d6d31fd6219b86af Signed-off-by: Fangyin Hu --- nsh_sfc_tests/sfc_scripts/start_tcpdump.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 nsh_sfc_tests/sfc_scripts/start_tcpdump.sh (limited to 'nsh_sfc_tests/sfc_scripts/start_tcpdump.sh') diff --git a/nsh_sfc_tests/sfc_scripts/start_tcpdump.sh b/nsh_sfc_tests/sfc_scripts/start_tcpdump.sh new file mode 100755 index 0000000000..9d51e667bd --- /dev/null +++ b/nsh_sfc_tests/sfc_scripts/start_tcpdump.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +ROOTDIR=/tmp/openvpp-testing +PWDDIR=$(pwd) + +cd ${ROOTDIR}/nsh_sfc_tests/sfc_scripts/ +sudo rm -f temp_packet.pcap + +sudo tcpdump -i $1 -c 1 -w temp_packet.pcap dst host $2 >/dev/null 2>&1 & + +cd ${PWDDIR} -- cgit 1.2.3-korg