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

DHCPv4: Add support of client ID #1905

Merged
merged 1 commit into from Jun 1, 2022
Merged

Conversation

cathay4t
Copy link
Member

Per RFC 2132 and 4361, we add Dhcpv4ClientId to InterfaceIpv4:

  • Dhcpv4ClientId::LinkLayerAddress, shown as ll.
  • Dhcpv4ClientId::IaidPlusDuid, show as iaid+duid.
  • Dhcpv4ClientId::Other(String) for hex string or backend specific
    client id type.

For NetworkManager, ll is converted to mac, the iaid+duis is converted to
duid.

Integration test case included.

@cathay4t cathay4t requested a review from ffmancera as a code owner May 23, 2022 08:55
@cathay4t cathay4t force-pushed the dhcpv4_id branch 3 times, most recently from 84e269b to 99aae33 Compare May 24, 2022 00:55
@kubevirt-bot
Copy link
Collaborator

@cathay4t: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-nmstate-integ_tier1-k8s 99aae33 link false /test pull-nmstate-integ_tier1-k8s

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Per RFC 2132 and 4361, we add `Dhcpv4ClientId` to `InterfaceIpv4`:
 * `Dhcpv4ClientId::LinkLayerAddress`, shown as `ll`.
 * `Dhcpv4ClientId::IaidPlusDuid`, show as `iaid+duid`.
 * `Dhcpv4ClientId::Other(String)` for hex string or backend specific
   client id type.

For NetworkManager, `ll` is converted to `mac`, the `iaid+duis` is
converted to `duid`.

Integration test case included.

Signed-off-by: Gris Ge <fge@redhat.com>
@cathay4t cathay4t enabled auto-merge (rebase) June 1, 2022 08:48
@cathay4t cathay4t merged commit cda236c into nmstate:base Jun 1, 2022
@cathay4t cathay4t deleted the dhcpv4_id branch June 1, 2022 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants