mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-23 10:18:45 +02:00
community-list for /routing/filter (#331)
* Update _api_data.py added ('routing', 'filter', 'community-list') * Update api_info.py added routing filter community-list * Update api_modify.py added routing filter community-list * Create 331-add-routing-filter-community-list.yml * Update api_info.py * Update api_modify.py
This commit is contained in:
parent
0bf4b3ef8c
commit
a7340eae1a
4 changed files with 18 additions and 0 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- api_info, api_modify - add support for the ``routing filter community-list`` path implemented by RouterOS 7 and newer (https://github.com/ansible-collections/community.routeros/pull/331).
|
|
@ -895,6 +895,20 @@ PATHS = {
|
||||||
)),
|
)),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
('routing', 'filter', 'community-list'): APIData(
|
||||||
|
versioned=[
|
||||||
|
('7', '>=', VersionedAPIData(
|
||||||
|
fully_understood=True,
|
||||||
|
fields={
|
||||||
|
'list': KeyInfo(required=True),
|
||||||
|
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||||
|
'disabled': KeyInfo(can_disable=True),
|
||||||
|
'communities': KeyInfo(can_disable=True),
|
||||||
|
'regexp': KeyInfo(can_disable=True),
|
||||||
|
},
|
||||||
|
)),
|
||||||
|
],
|
||||||
|
),
|
||||||
('routing', 'ospf', 'instance'): APIData(
|
('routing', 'ospf', 'instance'): APIData(
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
fully_understood=True,
|
fully_understood=True,
|
||||||
|
|
|
@ -205,6 +205,7 @@ options:
|
||||||
- routing bgp peer
|
- routing bgp peer
|
||||||
- routing bgp template
|
- routing bgp template
|
||||||
- routing filter
|
- routing filter
|
||||||
|
- routing filter community-list
|
||||||
- routing filter num-list
|
- routing filter num-list
|
||||||
- routing filter rule
|
- routing filter rule
|
||||||
- routing filter select-rule
|
- routing filter select-rule
|
||||||
|
|
|
@ -214,6 +214,7 @@ options:
|
||||||
- routing bgp peer
|
- routing bgp peer
|
||||||
- routing bgp template
|
- routing bgp template
|
||||||
- routing filter
|
- routing filter
|
||||||
|
- routing filter community-list
|
||||||
- routing filter num-list
|
- routing filter num-list
|
||||||
- routing filter rule
|
- routing filter rule
|
||||||
- routing filter select-rule
|
- routing filter select-rule
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue