aboutsummaryrefslogtreecommitdiffstats
path: root/TLDK-tests/tldk_testconfig
diff options
context:
space:
mode:
authorQun Wan <qun.wan@intel.com>2017-03-30 14:36:56 -0400
committerPeter Mikus <pmikus@cisco.com>2017-06-07 05:24:57 +0000
commit7436d8bdf60bca9b80fb76781e1f709bbcd435da (patch)
tree53a49da5dd22a88cf70c22848468f6d3a336a050 /TLDK-tests/tldk_testconfig
parentd058458cb57eaa68c9aafe03fa823e7489664bf0 (diff)
TLDK udwfwd test case:
- ip fragement for ipv4 - ip reassemble for ipv4 - ip checksum for ipv4 - ip checksum for ipv6 - ip fragment for ipv6 added the genpcap.py script to generate the pcap files and corresponding test scripts Change-Id: I01329dbb0ecd3c3a5dd7a63ef1dea01b2e717da5 Signed-off-by: qun wan <qun.wan@intel.com>
Diffstat (limited to 'TLDK-tests/tldk_testconfig')
-rw-r--r--TLDK-tests/tldk_testconfig/test_ipv4_assemble_be.cfg1
-rw-r--r--TLDK-tests/tldk_testconfig/test_ipv4_assemble_fe.cfg2
-rw-r--r--TLDK-tests/tldk_testconfig/test_ipv4_checksum_be.cfg2
-rw-r--r--TLDK-tests/tldk_testconfig/test_ipv4_checksum_fe.cfg3
-rw-r--r--TLDK-tests/tldk_testconfig/test_ipv4_fragment_be.cfg2
-rw-r--r--TLDK-tests/tldk_testconfig/test_ipv4_fragment_fe.cfg3
-rw-r--r--TLDK-tests/tldk_testconfig/test_ipv6_checksum_be.cfg2
-rw-r--r--TLDK-tests/tldk_testconfig/test_ipv6_checksum_fe.cfg3
-rw-r--r--TLDK-tests/tldk_testconfig/test_ipv6_fragment_be.cfg2
-rw-r--r--TLDK-tests/tldk_testconfig/test_ipv6_fragment_fe.cfg3
10 files changed, 23 insertions, 0 deletions
diff --git a/TLDK-tests/tldk_testconfig/test_ipv4_assemble_be.cfg b/TLDK-tests/tldk_testconfig/test_ipv4_assemble_be.cfg
new file mode 100644
index 0000000000..7f7cb8e8fe
--- /dev/null
+++ b/TLDK-tests/tldk_testconfig/test_ipv4_assemble_be.cfg
@@ -0,0 +1 @@
+port=0,masklen=24,addr=192.168.1.56,mac=68:05:ca:27:d1:6a
diff --git a/TLDK-tests/tldk_testconfig/test_ipv4_assemble_fe.cfg b/TLDK-tests/tldk_testconfig/test_ipv4_assemble_fe.cfg
new file mode 100644
index 0000000000..f3531e0b3a
--- /dev/null
+++ b/TLDK-tests/tldk_testconfig/test_ipv4_assemble_fe.cfg
@@ -0,0 +1,2 @@
+#udpfwd config file
+lcore=0,op=echo,laddr=0.0.0.0,lport=0x8000,raddr=0.0.0.0,rport=0
diff --git a/TLDK-tests/tldk_testconfig/test_ipv4_checksum_be.cfg b/TLDK-tests/tldk_testconfig/test_ipv4_checksum_be.cfg
new file mode 100644
index 0000000000..c4e39e064f
--- /dev/null
+++ b/TLDK-tests/tldk_testconfig/test_ipv4_checksum_be.cfg
@@ -0,0 +1,2 @@
+port=0,masklen=24,addr=192.168.1.56,mac=68:05:ca:27:d1:6a
+port=0,addr=2001:4860:b002::56,masklen=64,mac=68:05:ca:27:d1:6a
diff --git a/TLDK-tests/tldk_testconfig/test_ipv4_checksum_fe.cfg b/TLDK-tests/tldk_testconfig/test_ipv4_checksum_fe.cfg
new file mode 100644
index 0000000000..a8cd61b82c
--- /dev/null
+++ b/TLDK-tests/tldk_testconfig/test_ipv4_checksum_fe.cfg
@@ -0,0 +1,3 @@
+#udpfwd config file
+lcore=0,op=echo,laddr=0.0.0.0,lport=0x8000,raddr=0.0.0.0,rport=0
+lcore=0,op=echo,laddr=::,lport=0x8000,raddr=::,rport=0
diff --git a/TLDK-tests/tldk_testconfig/test_ipv4_fragment_be.cfg b/TLDK-tests/tldk_testconfig/test_ipv4_fragment_be.cfg
new file mode 100644
index 0000000000..e769994319
--- /dev/null
+++ b/TLDK-tests/tldk_testconfig/test_ipv4_fragment_be.cfg
@@ -0,0 +1,2 @@
+port=0,masklen=24,addr=192.168.1.56,mac=68:05:ca:27:d1:6a,mtu=1024
+port=0,addr=2001:4860:b002::56,masklen=64,mac=68:05:ca:27:d1:6a,mtu=1024
diff --git a/TLDK-tests/tldk_testconfig/test_ipv4_fragment_fe.cfg b/TLDK-tests/tldk_testconfig/test_ipv4_fragment_fe.cfg
new file mode 100644
index 0000000000..a8cd61b82c
--- /dev/null
+++ b/TLDK-tests/tldk_testconfig/test_ipv4_fragment_fe.cfg
@@ -0,0 +1,3 @@
+#udpfwd config file
+lcore=0,op=echo,laddr=0.0.0.0,lport=0x8000,raddr=0.0.0.0,rport=0
+lcore=0,op=echo,laddr=::,lport=0x8000,raddr=::,rport=0
diff --git a/TLDK-tests/tldk_testconfig/test_ipv6_checksum_be.cfg b/TLDK-tests/tldk_testconfig/test_ipv6_checksum_be.cfg
new file mode 100644
index 0000000000..c4e39e064f
--- /dev/null
+++ b/TLDK-tests/tldk_testconfig/test_ipv6_checksum_be.cfg
@@ -0,0 +1,2 @@
+port=0,masklen=24,addr=192.168.1.56,mac=68:05:ca:27:d1:6a
+port=0,addr=2001:4860:b002::56,masklen=64,mac=68:05:ca:27:d1:6a
diff --git a/TLDK-tests/tldk_testconfig/test_ipv6_checksum_fe.cfg b/TLDK-tests/tldk_testconfig/test_ipv6_checksum_fe.cfg
new file mode 100644
index 0000000000..9553b7085c
--- /dev/null
+++ b/TLDK-tests/tldk_testconfig/test_ipv6_checksum_fe.cfg
@@ -0,0 +1,3 @@
+#udpfwd config file
+lcore=0,op=echo,laddr=0.0.0.0,lport=0x8000,raddr=0.0.0.0,rport=0
+lcore=0,op=echo,laddr=::,lport=0x8000,raddr=::,rport=0
diff --git a/TLDK-tests/tldk_testconfig/test_ipv6_fragment_be.cfg b/TLDK-tests/tldk_testconfig/test_ipv6_fragment_be.cfg
new file mode 100644
index 0000000000..e769994319
--- /dev/null
+++ b/TLDK-tests/tldk_testconfig/test_ipv6_fragment_be.cfg
@@ -0,0 +1,2 @@
+port=0,masklen=24,addr=192.168.1.56,mac=68:05:ca:27:d1:6a,mtu=1024
+port=0,addr=2001:4860:b002::56,masklen=64,mac=68:05:ca:27:d1:6a,mtu=1024
diff --git a/TLDK-tests/tldk_testconfig/test_ipv6_fragment_fe.cfg b/TLDK-tests/tldk_testconfig/test_ipv6_fragment_fe.cfg
new file mode 100644
index 0000000000..9553b7085c
--- /dev/null
+++ b/TLDK-tests/tldk_testconfig/test_ipv6_fragment_fe.cfg
@@ -0,0 +1,3 @@
+#udpfwd config file
+lcore=0,op=echo,laddr=0.0.0.0,lport=0x8000,raddr=0.0.0.0,rport=0
+lcore=0,op=echo,laddr=::,lport=0x8000,raddr=::,rport=0