test suite reviews and discussions
 help / color / mirror / Atom feed
From: Yufen Mo <yufengx.mo@intel.com>
To: dts@dpdk.org
Cc: yufengmx <yufengx.mo@intel.com>
Subject: [dts] [PATCH V1]quota_watermark: update automation testing script
Date: Tue, 26 Jul 2016 15:36:06 +0800	[thread overview]
Message-ID: <1469518566-31457-2-git-send-email-yufengx.mo@intel.com> (raw)
In-Reply-To: <1469518566-31457-1-git-send-email-yufengx.mo@intel.com>

From: yufengmx <yufengx.mo@intel.com>

set packet src mac with a non-zero value

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 tests/TestSuite_quota_watermark.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_quota_watermark.py b/tests/TestSuite_quota_watermark.py
index ba7262d..6811714 100644
--- a/tests/TestSuite_quota_watermark.py
+++ b/tests/TestSuite_quota_watermark.py
@@ -215,7 +215,7 @@ class TestQuotaWatermark(TestCase, IxiaPacketGenerator):
         Creates a simple scapy packet to run the tests with
         """
 
-        self.tester.scapy_append('flow=[Ether()/IP()/("X"*26)]*%d'%pkt_cnt)
+        self.tester.scapy_append('flow=[Ether(src="11:22:33:44:55:66")/IP()/("X"*26)]*%d'%pkt_cnt)
         self.tester.scapy_append('wrpcap("file.pcap", flow)')
         self.tester.scapy_execute()
 
-- 
1.9.3

  reply	other threads:[~2016-07-26  7:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-26  7:36 [dts] [PATCH V1]quota_watermark: automation testing script update Yufen Mo
2016-07-26  7:36 ` Yufen Mo [this message]
2016-07-28  0:37 ` Liu, Yong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1469518566-31457-2-git-send-email-yufengx.mo@intel.com \
    --to=yufengx.mo@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).