mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-27 03:59:05 +02:00
Add support for the "ip dns adlist" path (#310)
Upstream documentation: https://help.mikrotik.com/docs/display/ROS/DNS#DNS-Adlist
This commit is contained in:
parent
274e249f26
commit
6c2101d4d8
4 changed files with 20 additions and 0 deletions
2
changelogs/fragments/310-add-ip-dns-adlist.yml
Normal file
2
changelogs/fragments/310-add-ip-dns-adlist.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- api_info, api_modify - add support for the ``ip dns adlist`` path implemented by RouterOS 7.15 and newer (https://github.com/ansible-collections/community.routeros/pull/310).
|
|
@ -2818,6 +2818,22 @@ PATHS = {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
('ip', 'dns', 'adlist'): APIData(
|
||||||
|
versioned=[
|
||||||
|
('7.15', '>=', VersionedAPIData(
|
||||||
|
fully_understood=True,
|
||||||
|
fields={
|
||||||
|
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||||
|
'disabled': KeyInfo(default=False),
|
||||||
|
'file': KeyInfo(default=''),
|
||||||
|
'match-count': KeyInfo(read_only=True),
|
||||||
|
'name-count': KeyInfo(read_only=True),
|
||||||
|
'ssl-verify': KeyInfo(default=True),
|
||||||
|
'url': KeyInfo(default=''),
|
||||||
|
},
|
||||||
|
)),
|
||||||
|
],
|
||||||
|
),
|
||||||
('ip', 'dns', 'static'): APIData(
|
('ip', 'dns', 'static'): APIData(
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
fully_understood=True,
|
fully_understood=True,
|
||||||
|
|
|
@ -131,6 +131,7 @@ options:
|
||||||
- ip dhcp-server option
|
- ip dhcp-server option
|
||||||
- ip dhcp-server option sets
|
- ip dhcp-server option sets
|
||||||
- ip dns
|
- ip dns
|
||||||
|
- ip dns adlist
|
||||||
- ip dns static
|
- ip dns static
|
||||||
- ip firewall address-list
|
- ip firewall address-list
|
||||||
- ip firewall connection tracking
|
- ip firewall connection tracking
|
||||||
|
|
|
@ -140,6 +140,7 @@ options:
|
||||||
- ip dhcp-server option
|
- ip dhcp-server option
|
||||||
- ip dhcp-server option sets
|
- ip dhcp-server option sets
|
||||||
- ip dns
|
- ip dns
|
||||||
|
- ip dns adlist
|
||||||
- ip dns static
|
- ip dns static
|
||||||
- ip firewall address-list
|
- ip firewall address-list
|
||||||
- ip firewall connection tracking
|
- ip firewall connection tracking
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue