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

DHCP client #1243

Open
etene opened this issue Jan 10, 2025 · 4 comments · May be fixed by #1250
Open

DHCP client #1243

etene opened this issue Jan 10, 2025 · 4 comments · May be fixed by #1250

Comments

@etene
Copy link
Contributor

etene commented Jan 10, 2025

Hello,

I'm currently working on an async DHCP client for our needs. Florent pointed me to the existing DHCP code in pyroute2, it looks like a great base to start from. Would you be okay with me "taking over" this part of the code in a PR ?

Here's my current plan:

  • Switch the existing raw / DHCP socket implementation to asyncio (i got this working locally)
  • Write an async client with states and hooks, using the aforementioned DHCP socket for communication (got a basic POC working already)

I'm trying to adapt & write some tests before I push anything. I saw you used udhcpd for this purpose previously, would you mind me using dnsmasq in tests ?

Thanks,
Étienne

@svinota
Copy link
Owner

svinota commented Jan 10, 2025

Feel free to take over, it would be great to have some reinforcement with this part. If there will be anything I can help with, just ping me. We can also establish some more convenient communication channel than GH issue tracker, might be an IRC channel or something.

@etene
Copy link
Contributor Author

etene commented Jan 10, 2025

IRC would be perfect ! I saw a mention of channel pyroute2 on freenode in issue #304, is it still up to date ? I'll join you there because I indeed have a few questions :)

@svinota
Copy link
Owner

svinota commented Jan 10, 2025

I didn't use IRC for years, so I need some time to revive the channel, if it's possible at all, or to create a new one.

@svinota
Copy link
Owner

svinota commented Jan 10, 2025

@etene I've registered #pyroute2 channel on libera.chat, but still no bouncer, I will set it asap.

@etene etene linked a pull request Jan 14, 2025 that will close this issue
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 a pull request may close this issue.

2 participants