From 53e9731ea6a2ea699d14abf4bd6ec6c5991b48bb Mon Sep 17 00:00:00 2001 From: Robert Latta <robert.latta@geant.org> Date: Wed, 23 Jan 2019 14:38:19 +0000 Subject: [PATCH] Restricted circuits retrieved by circuit type --- inventory_provider/opsdb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/inventory_provider/opsdb.py b/inventory_provider/opsdb.py index 88fdd52e..7848f09d 100644 --- a/inventory_provider/opsdb.py +++ b/inventory_provider/opsdb.py @@ -166,6 +166,7 @@ retrieve_services_query = """SELECT * c.status != 'terminated' AND is_circuit = 1) AS inner_query + WHERE circuit_type IN ('path', 'service', 'l2circuit') ORDER BY FIELD(status, 'spare', -- GitLab