[dts] [PATCH V1] Fix master branch ixia connect to tester ssh connection refused bug.

Yuwei Zhang yuwei1.zhang at intel.com
Fri Sep 22 15:26:42 CEST 2017


Signed-off-by: Yuwei Zhang <yuwei1.zhang at 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



More information about the dts mailing list