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 module to manage Kea DHCP subnets #135

Open
wants to merge 4 commits into
base: latest
Choose a base branch
from

Conversation

woelfle
Copy link

@woelfle woelfle commented Jan 6, 2025

Prior to this change, it was not possible to manage the subnets in the Kea DHCP service. I.e. it was not possible to add/remove subnets.

This change adds a new module that allows to manage subnets. The code is split in two python files. 'plugins/modules/dhcp_subnet.py' and 'plugins/module_utils/main/dhcp_subnet_v4.py'

@ansibleguy I'd consider this PullRequest a draft only. I am not that much familiar with the codebase. Can you please do a review and give me feedback on what is missing from your point of view?

Prior to this change, it was not possible to manage the subnets in the
Kea DHCP service. I.e. it was not possible to add/remove subnets.

This change adds a new module that allows to manage subnets. The code is
split in two python files. 'plugins/modules/dhcp_subnet.py' and
'plugins/module_utils/main/dhcp_subnet_v4.py'
@woelfle woelfle force-pushed the manage-dhcp-subnets branch from 74e42f0 to 8e2d72c Compare January 6, 2025 12:09
@ansibleguy
Copy link
Owner

Thank you - will take a look later that week 👍🏼

@ansibleguy
Copy link
Owner

Yeah - a lot of the API functionality was still missing in the draft.
Have added it - should work now.

Would you mind adding the documentation? At: https://github.com/ansibleguy/collection_opnsense/blob/latest/docs/source/modules/dhcp.rst

@ansibleguy ansibleguy marked this pull request as ready for review January 11, 2025 18:39
@woelfle
Copy link
Author

woelfle commented Jan 24, 2025

Would you mind adding the documentation? At: https://github.com/ansibleguy/collection_opnsense/blob/latest/docs/source/modules/dhcp.rst

Sure. Try to get this done this weekend. Thanks for reviewing.

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.

3 participants