[dts] [PATCH V3 08/17]tests/TestSuite_ipgre: add carlsville to support nic of ipgre
qifu
qi.fu at intel.com
Tue Aug 20 13:02:12 CEST 2019
Add carlsville to support nic of ipgre.
Signed-off-by: qifu <qi.fu at intel.com>
---
tests/TestSuite_ipgre.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py
index 6f465fa..7fbddf1 100644
--- a/tests/TestSuite_ipgre.py
+++ b/tests/TestSuite_ipgre.py
@@ -63,8 +63,8 @@ class TestIpgre(TestCase):
"""
self.printFlag = self._enable_debug
ports = self.dut.get_ports()
- self.verify(self.nic.startswith("fortville"),
- "GRE tunnel packet type only support by Fortville")
+ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "carlsville"],
+ "GRE tunnel packet type only support by fortville and carlsville")
self.verify(len(ports) >= 1, "Insufficient ports for testing")
valports = [_ for _ in ports if self.tester.get_local_port(_) != -1]
# start testpmd
--
2.17.1
More information about the dts
mailing list