Skip to content
Snippets Groups Projects
Commit c569cfef authored by Erik Reid's avatar Erik Reid
Browse files

temporarily filter all but routers matching mx*

parent e775695a
No related branches found
No related tags found
No related merge requests found
......@@ -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]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment