mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-27 20:18:58 +02:00
Add missing options for 'ip dhcp-server network'. (#106)
This commit is contained in:
parent
96c6feff8e
commit
a2ace3fb79
2 changed files with 7 additions and 0 deletions
2
changelogs/fragments/106-api-path-ip-dhcp-network.yml
Normal file
2
changelogs/fragments/106-api-path-ip-dhcp-network.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- "api_modify, api_info - make API path ``ip dhcp-server network`` support missing options ``boot-file-name``, ``dhcp-option-set``, ``dns-none``, ``domain``, and ``next-server`` (https://github.com/ansible-collections/community.routeros/issues/104, https://github.com/ansible-collections/community.routeros/pull/106)."
|
|
@ -763,12 +763,17 @@ PATHS = {
|
||||||
primary_keys=('address', ),
|
primary_keys=('address', ),
|
||||||
fields={
|
fields={
|
||||||
'address': KeyInfo(),
|
'address': KeyInfo(),
|
||||||
|
'boot-file-name': KeyInfo(default=''),
|
||||||
'caps-manager': KeyInfo(default=''),
|
'caps-manager': KeyInfo(default=''),
|
||||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||||
'dhcp-option': KeyInfo(default=''),
|
'dhcp-option': KeyInfo(default=''),
|
||||||
|
'dhcp-option-set': KeyInfo(default=''),
|
||||||
|
'dns-none': KeyInfo(default=''),
|
||||||
'dns-server': KeyInfo(default=''),
|
'dns-server': KeyInfo(default=''),
|
||||||
|
'domain': KeyInfo(default=''),
|
||||||
'gateway': KeyInfo(automatically_computed_from=('address', )),
|
'gateway': KeyInfo(automatically_computed_from=('address', )),
|
||||||
'netmask': KeyInfo(automatically_computed_from=('address', )),
|
'netmask': KeyInfo(automatically_computed_from=('address', )),
|
||||||
|
'next-server': KeyInfo(default=''),
|
||||||
'ntp-server': KeyInfo(default=''),
|
'ntp-server': KeyInfo(default=''),
|
||||||
'wins-server': KeyInfo(default=''),
|
'wins-server': KeyInfo(default=''),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue