Skip to content

Commit

Permalink
Support DHCP matching type added in RouterOS 7.16 (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
hansmi authored Oct 10, 2024
1 parent c864078 commit 5adc664
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- api_info, api_modify - add support for the ``matching-type`` property in ``ip dhcp-server matcher`` introduced by RouterOS 7.16 (https://github.com/ansible-collections/community.routeros/pull/321).
3 changes: 3 additions & 0 deletions plugins/module_utils/_api_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -2798,6 +2798,9 @@ def join_path(path):
('7.4', '>=', VersionedAPIData(
fully_understood=True,
primary_keys=('name', ),
versioned_fields=[
([('7.16', '>=')], 'matching-type', KeyInfo()),
],
fields={
'address-pool': KeyInfo(default='none'),
'code': KeyInfo(required=True),
Expand Down

0 comments on commit 5adc664

Please sign in to comment.