From 5eae980d37d5761879aeeb36dedceb3f26c51f62 Mon Sep 17 00:00:00 2001
From: Erik Reid <erik.reid@geant.org>
Date: Wed, 1 Jul 2020 19:40:43 +0200
Subject: [PATCH] reverted previous changes

these were debugging changes that were accidentally committed
---
 inventory_provider/db/opsdb.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/inventory_provider/db/opsdb.py b/inventory_provider/db/opsdb.py
index 081e7a11..e41748fd 100644
--- a/inventory_provider/db/opsdb.py
+++ b/inventory_provider/db/opsdb.py
@@ -111,7 +111,7 @@ WHERE
 
 def get_circuits(connection):
     _sql = """
-SELECT equipment, other_end_equipment
+SELECT *
 FROM (SELECT
   c.absid AS id,
   c.name,
@@ -197,7 +197,6 @@ WHERE
     AND equipment != ''
     AND circuit_type IN (
       'path', 'service', 'l2circuit', 'link-aggr-group')
-    and (equipment like '%tal.ee%' or other_end_equipment like '%tal.ee%')
 ORDER BY
 name,
  FIELD(status,
-- 
GitLab