From 88ff90f0f8868568b343e5635d3f71bb5a2c3f43 Mon Sep 17 00:00:00 2001
From: thl-cmk <thl-cmk@outlook.com>
Date: Sun, 25 Jul 2021 07:41:59 +0000
Subject: [PATCH] Delete inv_cisco_suggestion.py

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

diff --git a/web/plugins/wato/inv_cisco_suggestion.py b/web/plugins/wato/inv_cisco_suggestion.py
deleted file mode 100644
index 8b4aac9..0000000
--- a/web/plugins/wato/inv_cisco_suggestion.py
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
-#
-# License: GNU General Public License v2
-
-# Author: thl-cmk[at]outlook[dot]com
-# URL   : https://thl-cmk.hopto.org
-# Date  :
-#
-# 2021-07-23: rewritten for CMK 2.0
-#
-
-from cmk.gui.i18n import _
-from cmk.gui.plugins.wato import (
-    HostRulespec,
-    rulespec_registry,
-)
-from cmk.gui.valuespec import (
-    Dictionary,
-    ListOfStrings,
-    ListChoice,
-)
-
-from cmk.gui.plugins.wato.inventory import (
-    RulespecGroupInventory,
-)
-
-_removecolumns = [
-    ('isSuggested', 'is suggested'),
-    ('majorRelease', 'major release'),
-    ('relDispName', 'release display name'),
-    ('releaseFormat1', 'release format1'),
-    ('releaseTrain', 'release train'),
-    ('trainDispName', 'train display name'),
-    ('mdfId', 'Metadata Framework ID '),
-]
-
-
-def _valuespec_inv_cisco_suggestion():
-    return Dictionary(
-        title=_('Cisco software suggestion'),
-        elements=[
-            ('removecolumns',
-             ListChoice(
-                 title=_('remove columns'),
-                 help=_('remove information from report'),
-                 choices=_removecolumns,
-                 default_value=[
-                     'isSuggested',
-                     'majorRelease',
-                     'relDispName',
-                     'releaseFormat1',
-                     'releaseTrain',
-                     'trainDispName',
-                     'mdfId',
-                 ],
-             )),
-            ('PID_black_list',
-             ListOfStrings(
-                 title=_('drop Product IDs beginning with'),
-                 orientation='horizontal',
-                 help=_('there will be no request for the following PID(s)'),
-             )),
-        ],
-    )
-
-
-rulespec_registry.register(
-    HostRulespec(
-        group=RulespecGroupInventory,
-        match_type='dict',
-        name='inv_parameters:inv_cisco_suggestion',
-        valuespec=_valuespec_inv_cisco_suggestion,
-    ))
-- 
GitLab