mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
Add support for "routing filter {rule|select-rule}" (#200)
RouterOS 7 added route selections and filters (https://help.mikrotik.com/docs/display/ROS/Route+Selection+and+Filters). Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
parent
2164261e09
commit
343c4883c0
4 changed files with 30 additions and 0 deletions
|
@ -591,6 +591,30 @@ PATHS = {
|
|||
'use-radius': KeyInfo(default=False),
|
||||
},
|
||||
),
|
||||
('routing', 'filter', 'rule'): APIData(
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'chain': KeyInfo(required=True),
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'disabled': KeyInfo(can_disable=True),
|
||||
'rule': KeyInfo(can_disable=True),
|
||||
},
|
||||
),
|
||||
('routing', 'filter', 'select-rule'): APIData(
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'chain': KeyInfo(required=True),
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'disabled': KeyInfo(can_disable=True),
|
||||
'do-group-num': KeyInfo(can_disable=True),
|
||||
'do-group-prfx': KeyInfo(can_disable=True),
|
||||
'do-jump': KeyInfo(can_disable=True),
|
||||
'do-select-num': KeyInfo(can_disable=True),
|
||||
'do-select-prfx': KeyInfo(can_disable=True),
|
||||
'do-take': KeyInfo(can_disable=True),
|
||||
'do-where': KeyInfo(can_disable=True),
|
||||
},
|
||||
),
|
||||
('routing', 'ospf', 'instance'): APIData(
|
||||
fully_understood=True,
|
||||
primary_keys=('name', ),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue