Add missing options for 'ip dhcp-server network'. (#106)

This commit is contained in:
Felix Fontein 2022-08-13 10:54:48 +02:00 committed by GitHub
parent 96c6feff8e
commit a2ace3fb79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

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

View file

@ -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=''),
}, },