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

added some progress messages

parent e61e5eab
No related branches found
No related tags found
No related merge requests found
......@@ -601,10 +601,15 @@ def _build_interface_services(update_callback=lambda s: None):
return 'lhcone'
return None
r = get_next_redis(InventoryTask.config)
rp = r.pipeline()
for ifc in list(_interfaces()):
update_callback('loading all known interfaces')
interfaces = list(_interfaces())
update_callback(f'loaded {len(interfaces)} interfaces, '
'saving by service category')
for ifc in interfaces:
service_type = _classify(ifc)
if not service_type:
continue
......
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