mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
Add support for the "ip dhcp-server option" path (#223)
Make it possible to manage IPv4 DHCP server options. Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
parent
efbc05ef73
commit
29a01ea240
4 changed files with 28 additions and 0 deletions
|
@ -1847,6 +1847,28 @@ PATHS = {
|
|||
},
|
||||
),
|
||||
),
|
||||
('ip', 'dhcp-server', 'option'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
fully_understood=True,
|
||||
primary_keys=('name',),
|
||||
fields={
|
||||
'code': KeyInfo(required=True),
|
||||
'name': KeyInfo(),
|
||||
'value': KeyInfo(default=''),
|
||||
'force': KeyInfo(),
|
||||
},
|
||||
),
|
||||
),
|
||||
('ip', 'dhcp-server', 'option', 'sets'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
fully_understood=True,
|
||||
primary_keys=('name',),
|
||||
fields={
|
||||
'name': KeyInfo(required=True),
|
||||
'options': KeyInfo(),
|
||||
},
|
||||
),
|
||||
),
|
||||
('ip', 'dns'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
single_value=True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue