{{define "configure-interfaces.html"}} {{template "base" .}} {{end}} {{define "content"}}
| Name | Type | Status | Member of | Config | |
|---|---|---|---|---|---|
| {{.TypeDisplay}} | {{if eq .OperStatus "up"}} up {{else if eq .OperStatus "down"}} down {{else}} {{.OperStatus}} {{end}} | {{if .MemberOf}}{{.MemberOf}}{{else}}—{{end}} | {{range .ConfigTags}}{{.}}{{end}} {{if .AddrSummary}}{{.AddrSummary}}{{end}} {{if and (not .ConfigTags) (not .AddrSummary)}}—{{end}} | {{if ne .TypeSlug "loopback"}} {{end}} | |
|
{{/* ── General ──────────────────────────────────────────── */}}
{{$ip := printf "/ietf-interfaces:interfaces/interface=%s" .Name}}
{{/* ── IP Addresses ──────────────────────────────────────── */}}
{{if .HasIP}}
{{/* key-detail-body */}}
IP Addresses{{/* IPv4. Toggles, DHCP foldout, address list, and add-address row visually compose one IPv4 group; the Save button at the bottom is bound to the toggles form via the HTML5 `form` attribute, so users see the whole group before clicking Save. */}} {{template "iface-ipv4-block" .}} {{/* IPv6 — mirrors the IPv4 form structure above. */}} {{/* IPv6 — mirrors the IPv4 layout above. */}} {{template "iface-ipv6-block" .}}Bridge Port SettingsLAG Port SettingsLACP state is operational-only; configure the LAG itself on its own row. Ethernet |
|||||