From f0b23fa6f252b7b9a41277bc5d0af7bacb52c6fb Mon Sep 17 00:00:00 2001 From: Robert Latta <robert.latta@geant.org> Date: Fri, 26 Mar 2021 15:49:10 +0000 Subject: [PATCH] removed redundant code --- inventory_provider/tasks/worker.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/inventory_provider/tasks/worker.py b/inventory_provider/tasks/worker.py index c87da938..5db07a30 100644 --- a/inventory_provider/tasks/worker.py +++ b/inventory_provider/tasks/worker.py @@ -560,13 +560,6 @@ def update_circuit_hierarchy_and_port_id_services(self, use_current=False): if c: def _is_tls(candidate): - if 'circuit-type' in candidate: - if candidate['product'] == 'IP PEERING - NON R&E (PUBLIC)': - return False - if candidate['circuit-type'] == 'service': - return True - if candidate['speed'] == 'BGP': - return True if candidate['product'] in tls_names: return True if candidate['speed'] == 'BGP': -- GitLab