summaryrefslogtreecommitdiff
path: root/docs/contributing
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-10-31 11:53:23 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2026-10-31 13:36:49 +0000
commit85a68daba040410f1f2cb5e9ded80d23643e61c8 (patch)
tree217d9373440ad761b46699fdb31f523690a05731 /docs/contributing
parent807c76a71683b462818befae8806a463e4f9aeed (diff)
downloadvyos-documentation-mergify/bp/scutum/pr-2246.tar.gz
vyos-documentation-mergify/bp/scutum/pr-2246.zip
T3871: bind interface names to hardware slots instead of hw-id (#2246)mergify/bp/scutum/pr-2246
* docs: T3871: describe how interface names are assigned Names are no longer derived from the hw-id node. They are bound to the slot the hardware occupies and recorded in a mapping file, so document what decides a name, what happens when a card is replaced or added, and how to rename an interface. The troubleshooting page said to pin a MAC with hw-id when interfaces were renamed after a VM migration or a clone. That node no longer exists and the situation it describes no longer arises, so replace it with a pointer to the new section and a note on where to look when an interface really is missing. * docs: T3871: drop hw-id from the example output The node is gone from the CLI, so example configuration dumps which still show it no longer match what a reader sees on their own system. Remove it from the shown output only; no prose changes. The comparison shown on the testing page is rewritten rather than trimmed, as deleting the lines would have left an edit level behind with nothing under it. (cherry picked from commit f939f4eb05f55e7e4c81e1b5dc954c3fc06d2389)
Diffstat (limited to 'docs/contributing')
-rw-r--r--docs/contributing/testing.md6
1 files changed, 0 insertions, 6 deletions
diff --git a/docs/contributing/testing.md b/docs/contributing/testing.md
index b68cad1b..46e6a881 100644
--- a/docs/contributing/testing.md
+++ b/docs/contributing/testing.md
@@ -178,16 +178,10 @@ Loading configuration from '/usr/libexec/vyos/tests/config/ospf-small'
Load complete. Use 'commit' to make changes effective.
[edit]
vyos@vyos# compare
-[edit interfaces ethernet eth0]
--hw-id 00:50:56:bf:c5:6d
[edit interfaces ethernet eth1]
+duplex auto
--hw-id 00:50:56:b3:38:c5
+speed auto
[edit interfaces]
--ethernet eth2 {
-- hw-id 00:50:56:b3:9c:1d
--}
-vti vti1 {
- address 192.0.2.1/30
-}