From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 734617CDE for ; Fri, 22 Sep 2017 15:26:48 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Sep 2017 06:26:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,427,1500966000"; d="scan'208";a="315076811" Received: from yuweizh1-mobl2.ccr.corp.intel.com ([10.255.29.80]) by fmsmga004.fm.intel.com with ESMTP; 22 Sep 2017 06:26:43 -0700 From: Yuwei Zhang To: dts@dpdk.org Cc: Yuwei Zhang Date: Fri, 22 Sep 2017 21:26:42 +0800 Message-Id: <20170922132642.16892-1-yuwei1.zhang@intel.com> X-Mailer: git-send-email 2.14.1.windows.1 Subject: [dts] [PATCH V1] Fix master branch ixia connect to tester ssh connection refused bug. X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2017 13:26:48 -0000 Signed-off-by: Yuwei Zhang --- 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