| Field | Type | Description | Value(s) |
|---|---|---|---|
name | string | Alias for the link. Don’t use system interface names like “eth0”, “ens3”, “enp0s2”, etc. as those may conflict with existing physical interfaces. The name can contain a single integer format verb ( %d) to create multiple aliasesfrom a single config document. When a format verb is detected, each matched link receives a sequential alias (e.g. net0, net1, …) based on hardware address order of the links.Links already aliased by a previous config are automatically skipped. | |
selector | LinkSelector | Selector to match the link to alias. When the alias name is a fixed string, the selector must match exactly one link. When the alias name contains a format verb (e.g. net%d), the selector may match multiple linksand each match receives a sequential alias. If multiple selectors match the same link, the first one is used. |
selector
LinkSelector selects a link to alias.| Field | Type | Description | Value(s) |
|---|---|---|---|
match | Expression | The Common Expression Language (CEL) expression to match the link. |