Add support for the "routing igmp-proxy" path (#309)

Upstream documentation:
https://help.mikrotik.com/docs/display/ROS/IGMP+Proxy
This commit is contained in:
hansmi 2024-08-15 12:12:25 +02:00 committed by GitHub
parent 5fb0bf0212
commit b4ea8b2fe7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 31 additions and 0 deletions

View file

@ -3942,6 +3942,31 @@ PATHS = {
},
),
),
('routing', 'igmp-proxy'): APIData(
unversioned=VersionedAPIData(
single_value=True,
fully_understood=True,
fields={
'query-interval': KeyInfo(),
'query-response-interval': KeyInfo(),
'quick-leave': KeyInfo(default=False),
},
),
),
('routing', 'igmp-proxy', 'interface'): APIData(
unversioned=VersionedAPIData(
fully_understood=True,
primary_keys=('interface', ),
fields={
'alternative-subnets': KeyInfo(default=''),
'comment': KeyInfo(can_disable=True, remove_value=''),
'disabled': KeyInfo(default=False),
'interface': KeyInfo(),
'threshold': KeyInfo(),
'upstream': KeyInfo(default=False),
},
),
),
('routing', 'bfd', 'interface'): APIData(
unversioned=VersionedAPIData(
unknown_mechanism=True,