test suite reviews and discussions
 help / color / mirror / Atom feed
From: Marvin Liu <yong.liu@intel.com>
To: dts@dpdk.org
Cc: Marvin Liu <yong.liu@intel.com>
Subject: [dts] [PATCH] tests cloud_filter: show filter type in validation process
Date: Thu,  7 Jul 2016 13:45:15 +0800	[thread overview]
Message-ID: <1467870315-31202-1-git-send-email-yong.liu@intel.com> (raw)

Show validating cloud filter type in the validation process. This
information will help with user to get to known that which filter caused
failure.

Signed-off-by: Marvin Liu <yong.liu@intel.com>

diff --git a/tests/TestSuite_cloud_filter.py b/tests/TestSuite_cloud_filter.py
index 59d0038..7348aea 100644
--- a/tests/TestSuite_cloud_filter.py
+++ b/tests/TestSuite_cloud_filter.py
@@ -308,9 +308,11 @@ class TestCloudFilter(TestCase):
         """
         Send packet match cloud filter rule and verify packet received
         """
+        self.logger.info("Verifying vxlan %s filter" % cloud_cfg.cf_rule['type'])
         if dpdk:
             cloud_cfg.transmit_packet()
             out = self.pmdout.get_output()
+            print out
             queue = cloud_cfg.cf_rule['queue']
             self.verify("queue %d" %
                         queue in out, "Vxlan not received in queue %d" % queue)
@@ -356,6 +358,8 @@ class TestCloudFilter(TestCase):
                 print "Kernel VF captured packet not match rule"
                 raise
 
+        self.logger.info("Verified vxlan %s filter pass" % cloud_cfg.cf_rule['type'])
+
     def test_cloud_filter(self):
         """
         Verify dpdk work with linux driver added cloud filter rule
-- 
1.9.3

                 reply	other threads:[~2016-07-07  5:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1467870315-31202-1-git-send-email-yong.liu@intel.com \
    --to=yong.liu@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).