#162: Add 'routing rule' path (#246)

This commit is contained in:
Johannes Münch 2024-01-06 16:52:17 +01:00 committed by GitHub
parent 56ce47aef5
commit 79dabbb67e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 0 deletions

View file

@ -960,6 +960,24 @@ PATHS = {
},
),
),
('routing', 'rule'): APIData(
versioned=[
('7', '>=', VersionedAPIData(
fully_understood=True,
fields={
'action': KeyInfo(can_disable=True),
'comment': KeyInfo(can_disable=True, remove_value=''),
'disabled': KeyInfo(default=False),
'dst-address': KeyInfo(can_disable=True),
'interface': KeyInfo(can_disable=True),
'min-prefix': KeyInfo(can_disable=True),
'routing-mark': KeyInfo(can_disable=True),
'src-address': KeyInfo(can_disable=True),
'table': KeyInfo(can_disable=True),
},
)),
],
),
('routing', 'table'): APIData(
versioned=[
('7', '>=', VersionedAPIData(