| Field | Type | Description | Value(s) |
|---|---|---|---|
name | string | Name of the bridge link (interface) to be created. | |
hardwareAddr | HardwareAddr | Override the hardware (MAC) address of the link. | |
links | []string | Names of the links (interfaces) to be aggregated. Link aliases can be used here as well. | |
stp | BridgeSTPConfig | Bridge STP (Spanning Tree Protocol) configuration. | |
vlan | BridgeVLANConfig | Bridge VLAN configuration. | |
up | bool | Bring the link up or down. If not specified, the link will be brought up. | |
mtu | uint32 | Configure LinkMTU (Maximum Transmission Unit) for the link. If not specified, the system default LinkMTU will be used (usually 1500). | |
addresses | AddressConfig | Configure addresses to be statically assigned to the link. | |
routes | RouteConfig | Configure routes to be statically created via the link. | |
multicast | bool | Set the multicast capability of the link. |
stp
BridgeSTPConfig is a bridge STP (Spanning Tree Protocol) configuration.| Field | Type | Description | Value(s) |
|---|---|---|---|
enabled | bool | Enable or disable STP on the bridge. |
vlan
BridgeVLANConfig is a bridge VLAN configuration.| Field | Type | Description | Value(s) |
|---|---|---|---|
filtering | bool | Enable or disable VLAN filtering on the bridge. |
addresses[]
AddressConfig represents a network address configuration.| Field | Type | Description | Value(s) |
|---|---|---|---|
address | Prefix | IP address to be assigned to the link. This field must include the network prefix length (e.g. /24 for IPv4, /64 for IPv6). | |
routePriority | uint32 | Configure the route priority (metric) for routes created for this address. If not specified, the system default route priority will be used. |
routes[]
RouteConfig represents a network route configuration.| Field | Type | Description | Value(s) |
|---|---|---|---|
destination | Prefix | The route’s destination as an address prefix. If not specified, a default route will be created for the address family of the gateway. | |
gateway | Addr | The route’s gateway (if empty, creates link scope route). | |
source | Addr | The route’s source address (optional). | |
metric | uint32 | The optional metric for the route. | |
mtu | uint32 | The optional MTU for the route. | |
table | RoutingTable | The routing table to use for the route. If not specified, the main routing table will be used. |