Add RouterOS 6.x support for '/ip route rule' path (#278)

* Add RouterOS 6.x support for '/ip route rule' path

* add changelogs fragments
This commit is contained in:
Igor 2024-04-18 14:29:58 +04:00 committed by GitHub
parent 018125ddfa
commit 9d34cca66b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 21 additions and 0 deletions

View file

@ -729,6 +729,23 @@ PATHS = {
},
),
),
('ip', 'route', 'rule'): APIData(
versioned=[
('7', '<', VersionedAPIData(
fully_understood=True,
fields={
'action': KeyInfo(default='lookup'),
'comment': KeyInfo(can_disable=True, remove_value=''),
'disabled': KeyInfo(default=False),
'dst-address': KeyInfo(can_disable=True),
'interface': KeyInfo(can_disable=True),
'routing-mark': KeyInfo(can_disable=True),
'src-address': KeyInfo(can_disable=True),
'table': KeyInfo(default='main'),
},
)),
],
),
('ip', 'vrf'): APIData(
versioned=[
('7', '>=', VersionedAPIData(