RoutingConfig¶
The RoutingConfig resource defines tenant-specific routing intent, including BGP neighbors and VXLAN or VRF attachment.
Mutual exclusivity rules:
One of
vxlanReforvrfis required.vxlanRefandvrfare mutually exclusive — specify only one.
spec¶
Field |
Type |
Required |
Description |
|---|---|---|---|
|
object |
Yes |
Reference to the |
|
string |
Conditional |
Soft reference to a VXLAN CR by name. Use for VXLAN/EVPN overlay scenarios. The VRF configuration is read from the referenced VXLAN CR. Mutually exclusive with |
|
string |
Conditional |
VRF name for direct VRF assignment without VXLAN. Use for north–south BGP with tenant VRF scenarios where VXLAN/EVPN overlays are not required. Mutually exclusive with |
|
array |
Optional |
List of tenant-specific BGP neighbor definitions. Defaults to |
|
array |
Optional |
List of BGP neighbor authentication secrets. Defaults to |
|
array |
Optional |
List of Integrated Routing and Bridging (IRB) interfaces for this tenant. |
spec.templateRef¶
Field |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
The |
spec.neighbors[]¶
Each neighbor must specify either ip or interface, but not both.
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Conditional |
Must be a valid IPv4 or IPv6 address. |
The IP address of the BGP neighbor. |
|
string |
Conditional |
Minimum length is 1. |
The interface name of the BGP neighbor. |
|
integer (int64) |
Yes |
Minimum length is 1 and maximum length is 4294967295 |
The remote ASN of the BGP neighbor. |
|
array of strings |
Optional |
— |
The address families to enable for this neighbor. |
Note
ip and interface are not mutually exclusive. You can define either one or both for a single neighbor.
spec.neighborSecrets[]¶
Field |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
The address of the BGP neighbor to authenticate. |
|
object |
Yes |
Reference to the Kubernetes Secret containing the authentication password. |
spec.irbInterfaces[]¶
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
Minimum length is 1 |
Unique identifier for the IRB interface. |
|
string |
Conditional |
Must be a valid IPv4 address. Required if |
IPv4 address for the IRB interface. |
|
integer (int64) |
Conditional |
Minimum value is 1, Maximum value is 32. Required if |
Prefix length for the IPv4 IRB address. |
|
array |
Optional |
— |
List of IPv6 addresses for the IRB interface. IPv6 supports multiple addresses per interface (RFC 4291). |
Note
ipv4Address and ipv4Prefix must both be specified or both be omitted.
spec.irbInterfaces[].ipv6Addresses[]¶
Field |
Type |
Required |
Constraints |
Description |
|---|---|---|---|---|
|
string |
Yes |
Must be a valid IPv6 address. |
IPv6 address for the IRB interface. |
|
integer |
Yes |
— |
Prefix length for the IPv6 address. |