Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IPv4 DHCP option matcher, minor fixes #300

Merged
merged 4 commits into from
Jul 21, 2024

Conversation

hansmi
Copy link
Contributor

@hansmi hansmi commented Jul 21, 2024

SUMMARY

RouterOS 7.4 and newer implement matchers for the Vendor ID provided by DHCP clients under ip dhcp-server matcher. The default value for force on options is also set.

ISSUE TYPE
  • Feature Pull Request

Copy link

github-actions bot commented Jul 21, 2024

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and the docs are now incorporated into main:
https://ansible-collections.github.io/community.routeros/branch/main

Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

Without the default value removing it from the options after it's been
set once leads to an error:

> Key "force" cannot be removed for name="…"
RouterOS 7.4 and newer implement matchers for the Vendor ID provided by
DHCP clients. RouterOS 7.16 will add a new `matching-type` property, but
it's not in a stable release yet.

Upstream documentation:
https://help.mikrotik.com/docs/display/ROS/DHCP#DHCP-Genericmatcher
@felixfontein felixfontein merged commit 8c62d46 into ansible-collections:main Jul 21, 2024
44 checks passed
@felixfontein
Copy link
Collaborator

@hansmi thanks!

@hansmi hansmi deleted the dhcpmatcher1 branch August 2, 2024 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants