From 2430c336c37794029f59de600aa5d22f728bcb94 Mon Sep 17 00:00:00 2001
From: thl-cmk <thl-cmk@outlook.com>
Date: Wed, 7 Jun 2023 15:21:35 +0000
Subject: [PATCH] Delete inv_cisco_wlc_ap_cdp_cache.py

---
 .../wato/inv_cisco_wlc_ap_cdp_cache.py        | 69 -------------------
 1 file changed, 69 deletions(-)
 delete mode 100644 web/plugins/wato/inv_cisco_wlc_ap_cdp_cache.py

diff --git a/web/plugins/wato/inv_cisco_wlc_ap_cdp_cache.py b/web/plugins/wato/inv_cisco_wlc_ap_cdp_cache.py
deleted file mode 100644
index 8d797bf..0000000
--- a/web/plugins/wato/inv_cisco_wlc_ap_cdp_cache.py
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
-#
-#
-
-from cmk.gui.i18n import _
-from cmk.gui.plugins.wato import (
-    HostRulespec,
-    rulespec_registry,
-)
-from cmk.gui.valuespec import (
-    Dictionary,
-    FixedValue,
-    TextAscii,
-    ListChoice,
-)
-
-from cmk.gui.plugins.wato.inventory import (
-    RulespecGroupInventory,
-)
-
-_removecolumns_cisco_wlc_ap_cdp_cache = [
-    ('duplex', 'Duplex'),
-    ('speed', 'Speed'),
-]
-
-
-def _valuespec_inv_cisco_wlc_ap_cdp_cache():
-    return Dictionary(
-        title=_('Cisco WLC AP CDP cache'),
-        elements=[
-            ('remove_domain',
-             FixedValue(
-                 True,
-                 title=_('Remove domain name from neighbour device name'),
-                 totext=_('Remove the domain name enabled'),
-                 default_value=False,
-             )),
-            ('domain_name',
-             TextAscii(
-                 title=_('Specific domain name to remove from neighbour device name'),
-                 allow_empty=False,
-                 default_value='',
-             )),
-            ('removecolumns',
-             ListChoice(
-                 title=_('List of columns to remove'),
-                 help=_('information to remove from inventory'),
-                 choices=_removecolumns_cisco_wlc_ap_cdp_cache,
-                 default_value=[],
-             )),
-            ('use_short_if_name',
-             FixedValue(
-                 True,
-                 title=_('use short interface names (i.e. Gi0/0 for GigabitEthernet0/0)'),
-                 totext=_('use short interface names enabled'),
-                 default_value=False,
-             )),
-        ],
-    )
-
-
-rulespec_registry.register(
-    HostRulespec(
-        group=RulespecGroupInventory,
-        match_type='dict',
-        name='inv_parameters:inv_cisco_wlc_ap_cdp_cache',
-        valuespec=_valuespec_inv_cisco_wlc_ap_cdp_cache,
-    ))
-- 
GitLab