Add NAC columns to UI (#941)

* Add NAC columns to UI

* Compact variant with a "NAC Summary" column

* display PAE stuff as very short summary in web and full columbs in csv

* add tooltips for actual port status and state detail

* minor naming tweaks

Co-authored-by: Oliver Gorwits <oliver@cpan.org>
This commit is contained in:
Christian Ramseyer
2022-12-13 09:16:32 +01:00
committed by GitHub
parent 3dc302b445
commit 8cc8bdcd19
6 changed files with 108 additions and 5 deletions

View File

@@ -20,6 +20,13 @@
[% ELSIF item.name == 'c_power' %]
[% headers.push('PoE Status') %]
[% headers.push('PoE Power (mW)') %]
[% ELSIF item.name == 'c_nac_summary' %]
[% headers.push('PAE AuthConfig Port Control') %]
[% headers.push('PAE AuthConfig State') %]
[% headers.push('PAE AuthConfig Port Status') %]
[% headers.push('PAE AuthSession User') %]
[% headers.push('PAE AuthSession MAB') %]
[% headers.push('PAE Last EAPOL Frame Source') %]
[% ELSIF item.name == 'c_neighbors' %]
[% headers.push('Neighbor IP') %]
[% headers.push('Neighbor DNS') %]
@@ -137,6 +144,15 @@
[% END %]
[% END %]
[% IF params.c_nac_summary %]
[% myport.push( row.pae_authconfig_port_control ) %]
[% myport.push( row.pae_authconfig_state ) %]
[% myport.push( row.pae_authconfig_port_status ) %]
[% myport.push( row.pae_authsess_user ) %]
[% myport.push( row.pae_authsess_mab ) %]
[% myport.push( row.pae_last_eapol_frame_source ) %]
[% END %]
[% IF params.c_nodes %]
[% myport.push('') %]
[% myport.push('') %]