mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-08-04 18:24:52 +02:00
Add regexp field to ip dns static (#142)
* Add regexp field to "ip dns static" * Change test_invalid_required_missing to use "ip dhcp-server" "ip dns static" requires name or regexp so it cannot be used in this test. * Add required_one_of attribute to APIData Used by "ip dns static" which requires either "name" or "regexp. * Add mutually_exclusive attribute to APIData Used by "ip dns static" where only one of "name" or "regexp" can be used. * Add changelog fragment
This commit is contained in:
parent
62da7dd4e3
commit
586edbc211
5 changed files with 98 additions and 4 deletions
6
changelogs/fragments/142-dns-regexp.yml
Normal file
6
changelogs/fragments/142-dns-regexp.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
minor_changes:
|
||||
- api_modify, api_info - add field ``regexp`` to ``ip dns static`` (https://github.com/ansible-collections/community.routeros/issues/141).
|
||||
|
||||
bugfixes:
|
||||
- api_modify, api_info - do not crash if router contains ``regexp`` DNS entries in ``ip dns static`` (https://github.com/ansible-collections/community.routeros/issues/141).
|
||||
- api_modify - do not use ``name`` as a unique key in ``ip dns static`` (https://github.com/ansible-collections/community.routeros/issues/141).
|
Loading…
Add table
Add a link
Reference in a new issue