[dts] [PATCH V1] add payload for send eth packet
Dong, ShijieX
shijiex.dong at intel.com
Fri Dec 4 02:48:34 CET 2015
OS : Ubunto 15.10
Python :2.7.10
Scapy :2.2.0
-----Original Message-----
From: Liu, Yong
Sent: Friday, December 04, 2015 8:52 AM
To: Dong, ShijieX; dts at dpdk.org
Subject: Re: [dts] [PATCH V1] add payload for send eth packet
Hi shide, can you supply the information that which version scapy not support raw packet?
We can add it into dts document.
On 12/03/2015 06:34 PM, Shijie Dong wrote:
> scapy can't support send packet only inlcude eth herd in ubutu 15.10
>
> Signed-off-by: Shijie Dong <shijiex.dong at intel.com>
> ---
> tests/TestSuite_dynamic_config.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_dynamic_config.py
> b/tests/TestSuite_dynamic_config.py
> index d1ad49c..ba740b1 100644
> --- a/tests/TestSuite_dynamic_config.py
> +++ b/tests/TestSuite_dynamic_config.py
> @@ -111,7 +111,7 @@ class TestDynamicConfig(TestCase):
>
> self.tester.scapy_foreground()
> self.tester.scapy_append(
> - 'sendp([Ether(dst="%s", src="52:00:00:00:00:00")], iface="%s")' % (destMac, itf))
> + 'sendp([Ether(dst="%s",
> + src="52:00:00:00:00:00")/Raw(load="X"*26)], iface="%s")' % (destMac,
> + itf))
>
> self.tester.scapy_execute()
>
More information about the dts
mailing list