Skip to content

docs: define member interfaces in bonding example - #605

Merged
JegadishD merged 1 commit into
canonical:mainfrom
Krishnanand-G:fix-bonding-example-interfaces
Aug 21, 2026
Merged

JegadishD merged 1 commit into
canonical:mainfrom
Krishnanand-G:fix-bonding-example-interfaces

Conversation

@Krishnanand-G

@Krishnanand-G Krishnanand-G commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • The first bonding example in doc/examples.md looked like a complete Netplan file but never defined the member interfaces under ethernets.
  • That causes netplan generate to fail with interface '...' is not defined.
  • Define enp3s0 / enp4s0 the same way the multi-bond example already does, and note that bond members must be declared.

Fixes canonical/netplan.io#84

Test plan

  • Copy the updated example into a Netplan YAML file and run sudo netplan generate (with matching interface names available or after adapting names)
  • Confirm the example still matches the style of neighbouring snippets in doc/examples.md

The first bonding example looked complete but omitted the ethernets
entries for the bond members, so netplan generate rejected it. Match
the fuller multi-bond example and note that members must be defined.
@Krishnanand-G

Copy link
Copy Markdown
Contributor Author

Note on the docs linkcheck failure: it looks unrelated to this change. The failing URL is https://askubuntu.com/questions/tagged/netplan (403 from Ask Ubuntu), referenced from doc/index.md, not from doc/examples.md. Read the Docs for this PR succeeded.

@benhoyt benhoyt added the review-list review-list tag is applied to PR that are to be considered for review with priority. label Aug 10, 2026
@axinojolais

Copy link
Copy Markdown

As the bug reporter : +1 ! Thank you for fixing this :)

@JegadishD
JegadishD self-requested a review August 21, 2026 06:00
@JegadishD
JegadishD merged commit 4e3bae3 into canonical:main Aug 21, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-list review-list tag is applied to PR that are to be considered for review with priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bonding example is wrong

4 participants