[dts] [PATCH V1] fix test case can't get ports
huilong,xu
huilongx.xu at intel.com
Thu Jun 18 05:33:33 CEST 2015
From: huilong xu <huilongx.xu at intel.com>
issue:
test case can't get ports when used port config replace port map
fix:
not check dut port ipv6 connect stats
# Please enter the commit message for your changes. Lines starting
Signed-off-by: huilong xu <huilongx.xu at intel.com>
---
framework/dut.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/framework/dut.py b/framework/dut.py
index a9b4ed0..7762958 100644
--- a/framework/dut.py
+++ b/framework/dut.py
@@ -394,9 +394,8 @@ class Dut(Crb):
if (socket is None or
port_info['numa'] == -1 or
socket == port_info['numa']):
- # port has link
- if (port_info['ipv6'] != "Not connected" and
- self.tester.get_local_port(portid) != -1):
+ # port has link,
+ if self.tester.get_local_port(portid) != -1:
ports.append(portid)
return ports
--
1.7.4.4
More information about the dts
mailing list