Skip to content

state: label DHCPv4 using networkd ConfigSource#575

Open
guilherme-puida wants to merge 1 commit intocanonical:mainfrom
guilherme-puida:push-wllupmptqmwv
Open

state: label DHCPv4 using networkd ConfigSource#575
guilherme-puida wants to merge 1 commit intocanonical:mainfrom
guilherme-puida:push-wllupmptqmwv

Conversation

@guilherme-puida
Copy link
Copy Markdown

Description

netplan status did not label addresses as (dhcp) when systemd-networkd installs no dhcp protocol routes.

DHCPv6 already uses networkd's ConfigSource to apply the (dhcp) label. This patch extends this behavior to DHCPv4 as well, keeping the already existing route-based detection for DHCPv4 as a fallback.

LP: #2147446

Checklist

  • Runs make check successfully.
  • Retains code coverage (make check-coverage).
  • New/changed keys in YAML format are documented.
  • (Optional) Adds example YAML for new feature.
  • (Optional) Closes an open bug in Launchpad.

`netplan status` did not label addresses as (dhcp) when systemd-networkd
installs no dhcp protocol routes.

DHCPv6 already uses networkd's ConfigSource to apply the (dhcp) label.
This patch extends this behavior to DHCPv4 as well, keeping the already
existing route-based detection for DHCPv4 as a fallback.

LP: #2147446
@guilherme-puida
Copy link
Copy Markdown
Author

This was uploaded to Ubuntu as part of netplan.io 1.2-1ubuntu5

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.

1 participant