Add support for '/ip dhcp-relay' path (#276)

* Add support for '/ip dhcp-relay' path

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

View file

@ -2579,6 +2579,22 @@ PATHS = {
},
),
),
('ip', 'dhcp-relay'): APIData(
unversioned=VersionedAPIData(
fully_understood=True,
primary_keys=('name',),
fields={
'add-relay-info': KeyInfo(default=False),
'delay-threshold': KeyInfo(can_disable=True, remove_value='none'),
'dhcp-server': KeyInfo(required=True),
'disabled': KeyInfo(default=False),
'interface': KeyInfo(required=True),
'local-address': KeyInfo(can_disable=True, remove_value='0.0.0.0'),
'name': KeyInfo(),
'relay-info-remote-id': KeyInfo(),
},
),
),
('ip', 'dhcp-server', 'config'): APIData(
unversioned=VersionedAPIData(
single_value=True,