* [dts] [PATCH V1] Fix master branch ixia connect to tester ssh connection refused bug.
@ 2017-09-22 13:26 Yuwei Zhang
0 siblings, 0 replies; only message in thread
From: Yuwei Zhang @ 2017-09-22 13:26 UTC (permalink / raw)
To: dts; +Cc: Yuwei Zhang
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-09-22 13:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-22 13:26 [dts] [PATCH V1] Fix master branch ixia connect to tester ssh connection refused bug Yuwei Zhang
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).