diff --git a/inventory_provider/tasks/worker.py b/inventory_provider/tasks/worker.py index 11d2c2e2c16bd616e91435d0ba37e0b4349943c9..39832cb6355612bee20572a9eeabb9671c4d8591 100644 --- a/inventory_provider/tasks/worker.py +++ b/inventory_provider/tasks/worker.py @@ -489,6 +489,11 @@ def launch_refresh_cache_all(config): update_equipment_locations.apply_async(), ] for hostname in _derive_router_hostnames(config): + # TODO: remove this filter when the qfx* switches are configured + if not hostname.startswith('mx'): + logger.error( + 'TEMP TEMP!!! skipping loading of host: %r' % hostname) + continue logger.debug('queueing router refresh jobs for %r' % hostname) subtasks.append(reload_router_config.apply_async(args=[hostname]))