diff --git a/inv_cisco_wlc_clients.mkp b/inv_cisco_wlc_clients.mkp index 082acef88ba6f8e974494ae362e82c871ffdca8e..95211efc06e549fe87a79c3e0fedf3089016cf60 100644 Binary files a/inv_cisco_wlc_clients.mkp and b/inv_cisco_wlc_clients.mkp differ diff --git a/web/plugins/views/inv_cisco_wlc_clients.py b/web/plugins/views/inv_cisco_wlc_clients.py index d566027003a3390a36b13056833926b96e377a8a..5123d51341688dff201663d6564d23b102241b0e 100644 --- a/web/plugins/views/inv_cisco_wlc_clients.py +++ b/web/plugins/views/inv_cisco_wlc_clients.py @@ -5,6 +5,7 @@ import cmk.gui.utils from cmk.gui.plugins.views import ( inventory_displayhints, ) from cmk.gui.i18n import _ +from cmk.gui.plugins.views.inventory import declare_invtable_view inventory_displayhints.update({ '.networking.wlan.controller.clients:': {'title': _('WLC clients'), @@ -14,7 +15,6 @@ inventory_displayhints.update({ ], 'view': 'invwlcclients_of_host'}, - '.networking.wlan.controller.clients:*.index': {'title': _('Index'), }, '.networking.wlan.controller.clients:*.macaddress': {'title': _('MAC Addresse'), }, '.networking.wlan.controller.clients:*.status': {'title': _('Status'), }, @@ -61,11 +61,6 @@ inventory_displayhints.update({ '.networking.wlan.controller.clients:*.aaarole': {'title': _('AAA role'), }, '.networking.wlan.controller.clients:*.devicetype': {'title': _('Device type'), }, '.networking.wlan.controller.clients:*.userauthtype': {'title': _('User auth type'), }, - - # '.networking.wlan.controller.clients:*.certificate_type' : { 'title' : _('Certificate type'), 'short' : _('Cert type'), 'filter' : visuals.FilterInvtableWLCCertType, 'paint' : 'wlc_cert_type' }, - }) -from cmk.gui.plugins.views.inventory import declare_invtable_view - declare_invtable_view('invwlcclients', '.networking.wlan.controller.clients:', _('WLC clients'), _('WLC clients')) diff --git a/web/plugins/wato/inv_cisco_wlc_clients.py b/web/plugins/wato/inv_cisco_wlc_clients.py index 7da5516d4dc74ac4f0a0884b902ac815473ed089..7d25b08280cf18d0a8809d86f080ac806fecf92f 100644 --- a/web/plugins/wato/inv_cisco_wlc_clients.py +++ b/web/plugins/wato/inv_cisco_wlc_clients.py @@ -16,7 +16,7 @@ from cmk.gui.plugins.wato.inventory import ( RulespecGroupInventory, ) -removecolumns = [ +_removecolumns = [ ('ieee80211ucapable', '802.11u capable'), ('aaaoverrideaclapplied', 'AAA overide ACL applied'), ('aaaoverrideaclname', 'AAA overide ACL name'), @@ -24,19 +24,15 @@ removecolumns = [ ('accessvlan', 'Access VLAN'), ('aclapplied', 'ACL applied'), ('aclname', 'ACL name'), - # ('apmacaddress' ,'AP MAC address'), ('aproammacaddress', 'AP roam MAC address'), ('associationmode', 'Association mode'), ('authentication', 'Authentication'), ('authmode', 'Auth mode'), - # ('channel' ,'Channel'), ('currenttxrateset', 'Current TX rate (MBit/s)'), ('datarateset', 'Data rate set'), ('dataswitching', 'Data switching'), - # ('devicetype' ,'Device type'), ('hreapapauth', 'HREAP AP auth'), ('iftype', 'Interface type'), - # ('ipaddress' ,'IP address'), ('ipv6aclapplied', 'IPv6 ACL applied'), ('ipv6aclname', 'IPv6 ACL name'), ('logintime', 'Login time'), @@ -47,18 +43,13 @@ removecolumns = [ ('policyname', 'Policy name'), ('posturestate', 'Posture state'), ('powersavemode', 'Power save mode'), - # ('protocol' ,'Protocol'), ('quarantinevlan', 'Quarantine VLAN'), ('reasoncode', 'Reason code'), ('redirecturl', 'Redirect URL'), ('securitytagid', 'Security tag ID'), ('sessionid', 'Session ID'), - # ('ssid' ,'SSID'), - # ('status' ,'Status'), ('typekts', 'NEC KTS SIP client'), - # ('uptime' ,'Uptime'), ('userauthtype', 'User auth type'), - # ('username' ,'Username'), ('wgbmacaddress', 'WGB MAC address'), ('wgbstatus', 'WGB status'), ('wlanprofilename', 'WLAN profile name'), @@ -76,7 +67,7 @@ def _valuespec_inv_cisco_wlc_clients(): ListChoice( title=_('list of columns to remove'), help=_('information to remove from inventory'), - choices=removecolumns, + choices=_removecolumns, default_value=[ ], )),