diff --git a/tests/common/plugins/sanity_check/checks.py b/tests/common/plugins/sanity_check/checks.py index d18c64bd020..7beedc462dc 100644 --- a/tests/common/plugins/sanity_check/checks.py +++ b/tests/common/plugins/sanity_check/checks.py @@ -239,6 +239,10 @@ def _check_bgp_status_helper(): logger.info("No VMs in topology, skip checking bgp status on host %s ..." % dut.hostname) results[dut.hostname] = check_result return + if 'tgen' in tbinfo['topo'] or 'ixia' in tbinfo['topo']: + logger.info("TGEN/IXIA topology, skip checking bgp status on host %s ..." % dut.hostname) + results[dut.hostname] = check_result + return networking_uptime = dut.get_networking_uptime().seconds if SYSTEM_STABILIZE_MAX_TIME - networking_uptime + 480 > 500: diff --git a/tests/conftest.py b/tests/conftest.py index 1c3a991986e..59bed33f2a8 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -650,7 +650,8 @@ def nbrhosts(enhance_inventory, ansible_adhoc, tbinfo, creds, request): """ logger.info("Fixture nbrhosts started") devices = {} - if (not tbinfo['vm_base'] and 'tgen' in tbinfo['topo']['name']) or 'ptf' in tbinfo['topo']['name']: + if (not tbinfo['vm_base'] and 'tgen' in tbinfo['topo']['name']) or 'ptf' in tbinfo['topo']['name'] or \ + 'ixia' in tbinfo['topo']['name']: logger.info("No VMs exist for this topology: {}".format(tbinfo['topo']['name'])) return devices