From e83c6eb5f29ba486bd485ad10cc234dc7cc925e1 Mon Sep 17 00:00:00 2001
From: Robert Latta <robert.latta@geant.org>
Date: Thu, 4 Apr 2019 18:05:06 +0100
Subject: [PATCH] Removed geant lambdas from data

---
 inventory_provider/routes/classifier.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/inventory_provider/routes/classifier.py b/inventory_provider/routes/classifier.py
index 2e33ff6d..2c9f7f41 100644
--- a/inventory_provider/routes/classifier.py
+++ b/inventory_provider/routes/classifier.py
@@ -68,14 +68,6 @@ def get_trap_metadata(source_equipment, interface):
             'opsdb:interface_services:%s:%s' % (source_equipment, interface))
         if services:
             result['services'] = json.loads(services.decode('utf=8'))
-            geant_lambdas = []
-            for s in result['services']:
-                gl = r.get('opsdb:geant_lambdas:%s' % s['name'])
-                if gl:
-                    geant_lambdas.append(json.loads(gl.decode('utf=8')))
-
-            if geant_lambdas:
-                result['geant_lambdas'] = geant_lambdas
 
         ifc_info = r.get(
             'netconf-interfaces:%s:%s' % (source_equipment, interface))
-- 
GitLab