From 6326324fb18cb52a7848535e4202b8d235eba581 Mon Sep 17 00:00:00 2001
From: Robert Latta <robert.latta@geant.org>
Date: Wed, 14 Sep 2022 09:45:08 +0100
Subject: [PATCH] updated MTC classification to use whole interface name. RE
 DBOARD3-661

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

diff --git a/inventory_provider/routes/classifier.py b/inventory_provider/routes/classifier.py
index 18e1553f..b9fc8c4f 100644
--- a/inventory_provider/routes/classifier.py
+++ b/inventory_provider/routes/classifier.py
@@ -617,10 +617,6 @@ def get_mtc_interface_info(node, interface):
     """
 
     r = common.get_current_redis()
-    interface = interface.rsplit('-', 1)[0]
-
-    # ims_source_equipment = get_ims_equipment_name(equipment_name, r)
-    # ims_interface = get_ims_interface(entity_string)
 
     cache_key = f'classifier-cache:mtc:{node}:{interface}'
 
-- 
GitLab