-
Notifications
You must be signed in to change notification settings - Fork 105
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
Vendor Option plugin #85
Comments
Hi @fitzy101, thanks for your interest in the project. The library that CoreDHCP is using (https://github.com/insomniacslk/dhcp/) already supports the vendor specific options from the RFCs that you mentioned. However, if I remember correctly, those options are not being used in CoreDHCP. There is no problem in adding an official plugin that makes use of those options. No work is currently happening in that direction. What will be the behavior of such plugin be? What are you trying to accomplish? Regards |
Hey @pmazzini, thanks for the quick response. I've been looking for an extensible and approachable DHCP server and CoreDHCP is exactly that; and I'd like to contribute to the project if possible. The idea for the plugin is below, based on having done a bit of isc-dhcp-server configuration with vendor options as a part of my job, mainly for configuring servers for zero touch provisioning of network devices. From what I can tell, there is no way to configure CoreDHCP with vendor-specific options (that is option 43) to be provided alongside the appropriate DHCPOFFER packet in response to a DHCPDISCOVER coming from the client side with a matching vendor identifier. The behaviour that I'm thinking is something :
The equivalent configuration in isc-dhcp-server looks somewhat like:
These are just some initial thoughts, let me know if you'd like some extra information. |
You are more than welcome to contribute to the project and it would be nice to have a ZTP plugin. The library also provides functions to parse the options provided by some vendors: And docs of where it is being used: If you have any question please let me know. I am glad to help with it if needed. |
Thanks for the information, I'll start doing some work on this over the next few weeks and let you know if I have any questions. |
Hi there,
I'm interested in adding support for vendor specific options, as specified in RFCs 2132, 3925 et al. and wanted to gauge the interest for this as an 'official' plugin, and also to confirm that work on this is not already happening. I've only briefly started thinking about how this might work, so I don't have any code or design notes to show yet.
Thanks
The text was updated successfully, but these errors were encountered: