diff --git a/inventory_provider/db/ims_data.py b/inventory_provider/db/ims_data.py index ddd80b800ef49f8135a15fc5f2ac3ed2f62ec7b4..d78e7628fc33051170d60c7b17cf70d5528d9ae0 100644 --- a/inventory_provider/db/ims_data.py +++ b/inventory_provider/db/ims_data.py @@ -101,7 +101,10 @@ def get_port_id_services(ds: IMS): f'product.name == "{st}"', circuit_nav_props, step_count=2000): - c['circuit_type'] = 'service' + if c['product']['name'] in IMS_SERVICE_NAMES: + c['circuit_type'] = 'service' + else: + c['circuit_type'] = 'circuit' yield c for spd in speeds: