From ac9ffd6cd21072302481aa3c651924e8aa4d3efb Mon Sep 17 00:00:00 2001
From: thl-cmk <thl-cmk@outlook.com>
Date: Mon, 6 Mar 2023 14:04:59 +0000
Subject: [PATCH] Delete cisco_asyncos_updates.py

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

diff --git a/web/plugins/wato/cisco_asyncos_updates.py b/web/plugins/wato/cisco_asyncos_updates.py
deleted file mode 100644
index 9344a58..0000000
--- a/web/plugins/wato/cisco_asyncos_updates.py
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
-#
-#
-from cmk.gui.i18n import _
-from cmk.gui.valuespec import (
-    Dictionary,
-    Integer,
-    TextAscii,
-    ListOfStrings,
-    Tuple,
-)
-
-from cmk.gui.plugins.wato import (
-    CheckParameterRulespecWithItem,
-    rulespec_registry,
-    RulespecGroupCheckParametersNetworking,
-)
-
-
-def _parameter_valuespec_cisco_asyncos_updates():
-    return Dictionary(elements=[
-        ('features_ignore',
-         ListOfStrings(
-             title=_('Update features to ignore'),
-             orientation='vertical',
-             help=_('there will be no warning/critical if this features are not updated'
-                    'Examples: geo_countries, timezones, etc.'),
-         )
-         ),
-        ('failedLevel',
-         Tuple(
-             title=_('Levels for failed attempts'),
-             elements=[
-                 Integer(title=_('Warning'), default_value=5, unit=_('# of failed attempts')),
-                 Integer(title=_('Critical'), default_value=10, unit=_('# of failed attempts')),
-             ])),
-    ])
-
-
-rulespec_registry.register(
-    CheckParameterRulespecWithItem(
-        check_group_name='cisco_asyncos_updates',
-        group=RulespecGroupCheckParametersNetworking,
-        item_spec=lambda: TextAscii(title=_('Cisco AsyncOS updates'), ),
-        match_type='dict',
-        parameter_valuespec=_parameter_valuespec_cisco_asyncos_updates,
-        title=lambda: _('Cisco AsyncOS updates'),
-    ))
-- 
GitLab