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:
hansmi 2023-08-20 14:20:16 +02:00 committed by GitHub
parent 343c4883c0
commit b0a4743de8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 0 deletions

View 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).

View file

@ -2749,6 +2749,14 @@ PATHS = {
'use-radius': KeyInfo(default=False), '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( ('queue', 'interface'): APIData(
primary_keys=('interface', ), primary_keys=('interface', ),
fully_understood=True, fully_understood=True,

View file

@ -191,6 +191,7 @@ options:
- tool traffic-generator - tool traffic-generator
- user aaa - user aaa
- user group - user group
- user settings
# END PATH LIST # END PATH LIST
unfiltered: unfiltered:
description: description:

View file

@ -196,6 +196,7 @@ options:
- tool traffic-generator - tool traffic-generator
- user aaa - user aaa
- user group - user group
- user settings
# END PATH LIST # END PATH LIST
data: data:
description: description: