test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] framework etgen: fix init error
@ 2017-07-27  7:33 Marvin Liu
  0 siblings, 0 replies; only message in thread
From: Marvin Liu @ 2017-07-27  7:33 UTC (permalink / raw)
  To: dts; +Cc: Marvin Liu

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

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()
 
-- 
1.9.3

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-27  7:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-27  7:33 [dts] [PATCH] framework etgen: fix init error Marvin Liu

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).