mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-27 20:18:58 +02:00
Add support for "user settings" (#201)
The `user settings` path contains settings related to passwords. Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
parent
343c4883c0
commit
b0a4743de8
4 changed files with 12 additions and 0 deletions
2
changelogs/fragments/201-add-user-settings.yml
Normal file
2
changelogs/fragments/201-add-user-settings.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- api_info, api_modify - add support for the ``user settings`` path (https://github.com/ansible-collections/community.routeros/pull/201).
|
|
@ -2749,6 +2749,14 @@ PATHS = {
|
|||
'use-radius': KeyInfo(default=False),
|
||||
},
|
||||
),
|
||||
('user', 'settings'): APIData(
|
||||
single_value=True,
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'minimum-categories': KeyInfo(),
|
||||
'minimum-password-length': KeyInfo(),
|
||||
},
|
||||
),
|
||||
('queue', 'interface'): APIData(
|
||||
primary_keys=('interface', ),
|
||||
fully_understood=True,
|
||||
|
|
|
@ -191,6 +191,7 @@ options:
|
|||
- tool traffic-generator
|
||||
- user aaa
|
||||
- user group
|
||||
- user settings
|
||||
# END PATH LIST
|
||||
unfiltered:
|
||||
description:
|
||||
|
|
|
@ -196,6 +196,7 @@ options:
|
|||
- tool traffic-generator
|
||||
- user aaa
|
||||
- user group
|
||||
- user settings
|
||||
# END PATH LIST
|
||||
data:
|
||||
description:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue