[#110] rules for IP Phone and Wireless AP identification now configurable
This commit is contained in:
@@ -177,6 +177,18 @@ ignore_interfaces:
|
||||
- '(E|T)\d \d\/\d\/\d'
|
||||
ignore_private_nets: false
|
||||
reverse_sysname: false
|
||||
phone_capabilities:
|
||||
- '(?i:phone)'
|
||||
phone_platforms:
|
||||
- '(?i:mitel.5\d{3})'
|
||||
phone_ouis: []
|
||||
wap_capabilities:
|
||||
- 'wlanAccessPoint'
|
||||
wap_platforms:
|
||||
- '(?i:\bw?ap\b)'
|
||||
- 'cisco\s+AIR-[L|C]?AP'
|
||||
- '-K9W8-'
|
||||
wap_ouis: []
|
||||
|
||||
# --------------
|
||||
# BACKEND DAEMON
|
||||
|
||||
@@ -265,7 +265,7 @@
|
||||
<i class="icon-link[% ' text-warning' IF row.manual_topo %]"></i>
|
||||
[% IF row.remote_type AND row.remote_type.match('(?i)ip.phone') %]
|
||||
<i class="icon-phone"></i>
|
||||
[% ELSIF row.remote_type AND row.remote_type.match('(cisco\s+AIR-[L|C]?AP|-K9W8-|^AP:\s)') %]
|
||||
[% ELSIF row.remote_type AND row.remote_type.match('^AP:\s') %]
|
||||
<i class="icon-signal"></i>
|
||||
[% END %]
|
||||
<a href="[% uri_for('/device', self_options) %]&q=[% row.neighbor.ip | uri %]">
|
||||
@@ -284,7 +284,7 @@
|
||||
<i class="icon-unlink text-error"></i>
|
||||
[% IF row.remote_type AND row.remote_type.match('(?i)ip.phone') %]
|
||||
<i class="icon-phone"></i>
|
||||
[% ELSIF row.remote_type AND row.remote_type.match('(cisco\s+AIR-[L|C]?AP|-K9W8-|^AP:\s)') %]
|
||||
[% ELSIF row.remote_type AND row.remote_type.match('^AP:\s') %]
|
||||
<i class="icon-signal"></i>
|
||||
[% END %]
|
||||
<a href="[% search_node %]&q=[% row.remote_ip | uri %]">
|
||||
@@ -305,7 +305,7 @@
|
||||
[% IF row.remote_type AND row.remote_type.match('(?i)ip.phone') %]
|
||||
<i class="icon-phone"></i>
|
||||
[% ELSIF node.wireless.defined
|
||||
OR (row.remote_type AND row.remote_type.match('(cisco\s+AIR-[L|c]?AP|-K9W8-|^AP:\s)')) %]
|
||||
OR (row.remote_type AND row.remote_type.match('^AP:\s')) %]
|
||||
<i class="icon-signal"></i>
|
||||
[% END %]
|
||||
<a href="[% search_node %]&q=[% node.net_mac.$mac_format_call | uri %]">
|
||||
|
||||
Reference in New Issue
Block a user