mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
Add support for the "user" path (#211)
Make it possible to manage users via the `user` path. Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
parent
f6ed27c588
commit
d235437f8f
4 changed files with 18 additions and 0 deletions
|
@ -3282,6 +3282,20 @@ PATHS = {
|
|||
},
|
||||
),
|
||||
),
|
||||
('user',): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
primary_keys=('name', ),
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'address': KeyInfo(),
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'disabled': KeyInfo(default=False),
|
||||
'group': KeyInfo(),
|
||||
'name': KeyInfo(),
|
||||
'password': KeyInfo(write_only=True),
|
||||
},
|
||||
),
|
||||
),
|
||||
('user', 'aaa'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
single_value=True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue