From f939f4eb05f55e7e4c81e1b5dc954c3fc06d2389 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 31 Oct 2026 11:53:23 +0100 Subject: T3871: bind interface names to hardware slots instead of hw-id (#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. --- docs/automation/vyos-api.md | 3 --- 1 file changed, 3 deletions(-) (limited to 'docs/automation') diff --git a/docs/automation/vyos-api.md b/docs/automation/vyos-api.md index 19524d7f..ffbd92f3 100644 --- a/docs/automation/vyos-api.md +++ b/docs/automation/vyos-api.md @@ -172,12 +172,10 @@ response (shortened) "eth0": { "address": "dhcp", "duplex": "auto", - "hw-id": "50:00:00:01:00:00", "speed": "auto" }, "eth1": { "duplex": "auto", - "hw-id": "50:00:00:01:00:01", "speed": "auto" ... }, @@ -435,7 +433,6 @@ response (shortened): { "success": true, "data": "set interfaces ethernet eth0 address 'dhcp'\n - set interfaces ethernet eth0 hw-id '50:00:00:01:00:00'\n set system host-name 'vyos'\n ...", "error": null -- cgit v1.2.3