test suite reviews and discussions
 help / color / mirror / Atom feed
From: Yuwei Zhang <yuwei1.zhang@intel.com>
To: dts@dpdk.org
Cc: Yuwei Zhang <yuwei1.zhang@intel.com>
Subject: [dts] [PATCH V1] Fix master branch ixia connect to tester ssh connection refused bug.
Date: Fri, 22 Sep 2017 21:26:42 +0800	[thread overview]
Message-ID: <20170922132642.16892-1-yuwei1.zhang@intel.com> (raw)

Signed-off-by: Yuwei Zhang <yuwei1.zhang@intel.com>
---
 framework/etgen.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/framework/etgen.py b/framework/etgen.py
index b3a5931..b48f438 100644
--- a/framework/etgen.py
+++ b/framework/etgen.py
@@ -141,6 +141,7 @@ class IxiaPacketGenerator(SSHConnection):
         self.logger = getLogger(self.NAME)
         super(IxiaPacketGenerator, self).__init__(self.get_ip_address(),
                                                   self.NAME,
+                                                  self.get_username(),
                                                   self.get_password())
         super(IxiaPacketGenerator, self).init_log(self.logger)
 
@@ -187,6 +188,9 @@ class IxiaPacketGenerator(SSHConnection):
     def get_ip_address(self):
         return self.tester.get_ip_address()
 
+    def get_username(self):
+        return self.tester.get_username()
+
     def get_password(self):
         return self.tester.get_password()
 
-- 
2.14.1.windows.1

                 reply	other threads:[~2017-09-22 13:26 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=20170922132642.16892-1-yuwei1.zhang@intel.com \
    --to=yuwei1.zhang@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).