Skip to content

Commit

Permalink
Merge pull request #7000 from inverse-inc/feature/meraki-wired-role-e…
Browse files Browse the repository at this point in the history
…nforcement

Add support for Role Based Enforcement for Meraki wired devices
  • Loading branch information
JeGoi authored Jun 21, 2022
2 parents 7465f85 + 69a297d commit 567b389
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/pf/Switch/Meraki/MS220_8.pm
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ use pf::SwitchSupports qw(
WiredMacAuth
WiredDot1x
RadiusVoip
RoleBasedEnforcement
);

sub isVoIPEnabled {
Expand Down Expand Up @@ -157,6 +158,17 @@ sub radiusDisconnect {
pf::Switch::Meraki::MR_v2::radiusDisconnect(@_);
}

=item returnRoleAttribute
What RADIUS Attribute (usually VSA) should the role returned into.
=cut

sub returnRoleAttribute {
my ($self) = @_;

return 'Filter-Id';
}

=head1 AUTHOR
Expand Down

0 comments on commit 567b389

Please sign in to comment.