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 protocol update #1254

Open
wants to merge 93 commits into
base: master
Choose a base branch
from
Open

dhcp protocol update #1254

wants to merge 93 commits into from

Conversation

svinota
Copy link
Owner

@svinota svinota commented Jan 21, 2025

Bug-Url: #1250

@svinota
Copy link
Owner Author

svinota commented Jan 21, 2025

@etene moved the branch and created a new PR for that.

@svinota svinota marked this pull request as draft January 21, 2025 22:44
@svinota
Copy link
Owner Author

svinota commented Jan 21, 2025

@etene I will not diverge the code on the branch without letting you know, so you can safely use git push --force on this branch.

@etene etene self-assigned this Jan 22, 2025
@etene etene linked an issue Jan 22, 2025 that may be closed by this pull request
@etene etene force-pushed the p10-dhcp-protocol branch from 022d4eb to 4b855c8 Compare January 23, 2025 09:15
pyroute2/compat.py Outdated Show resolved Hide resolved
pyroute2/dhcp/enums/dhcp.py Outdated Show resolved Hide resolved
pyroute2/dhcp/enums/dhcp.py Outdated Show resolved Hide resolved
'message_type': DHCPDISCOVER,
'parameter_list': [1, 3, 6, 12, 15, 28],
'message_type': MessageType.DISCOVER,
'parameter_list': [1, 3, 6, 12, 15, 28], # FIXME
Copy link
Owner Author

Choose a reason for hiding this comment

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

In some coming PRs I have to change to parameter values from the enums

Copy link
Collaborator

Choose a reason for hiding this comment

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

I could do it but i'm starting to think maybe the parameter list should be left empty at this level by default, since there are already default parameters set at the client & cli levels, and one might very well want to send DHCP messages without parameters for testing purposes.

pyroute2/dhcp/leases.py Outdated Show resolved Hide resolved
pyroute2/dhcp/xids.py Show resolved Hide resolved
pyroute2/ext/rawsocket.py Show resolved Hide resolved
@svinota svinota changed the title [WIP] dhcp protocol update dhcp protocol update Feb 6, 2025
@svinota svinota marked this pull request as ready for review February 6, 2025 09:22
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.

DHCP client
3 participants