Skip to content

Commit

Permalink
Fixes #338: Add require-message-auth in radius path (#339)
Browse files Browse the repository at this point in the history
* Fixes #338: Add require-message-auth in radius path

Add changelog fragment

* Update changelogs/fragments/339-add-require-message-auth-for-radius.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
  • Loading branch information
derdeagle and felixfontein authored Jan 21, 2025
1 parent 1466c9f commit 364ef6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- api_info, api_modify - add missing attribute ``require-message-auth`` for the ``radius`` path which exists since RouterOS version 7.15 (https://github.com/ansible-collections/community.routeros/issues/338, https://github.com/ansible-collections/community.routeros/pull/339).
3 changes: 3 additions & 0 deletions plugins/module_utils/_api_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -4018,6 +4018,9 @@ def join_path(path):
'src-address': KeyInfo(default='0.0.0.0'),
'timeout': KeyInfo(default='300ms'),
},
versioned_fields=[
([('7.15', '>=')], 'require-message-auth', KeyInfo(default='yes-for-request-resp')),
],
),
),
('radius', 'incoming'): APIData(
Expand Down

0 comments on commit 364ef6c

Please sign in to comment.