GlobalRoutingConfig¶
Overview¶
Function¶
Declares the global routing configuration for a CNE instance, linking a RoutingTemplate resource with Border Gateway Protocol (BGP) settings, peer groups, and virtual IP addressing to render OcNOS CLI routing configuration across all TMM instances.
Names¶
Singular name |
Plural name |
Short name |
|---|---|---|
globalroutingconfig |
globalroutingconfigs |
— |
API group and version¶
k8s.f5net.com/v1alpha1
Scope¶
Namespace
Specification¶
spec¶
Field |
Required |
Default |
Description |
|---|---|---|---|
|
Yes |
— |
Reference to a |
|
No |
— |
Soft reference to a |
|
Yes |
— |
BGP configuration settings including autonomous system (AS) numbers, router ID derivation, neighbors, and peer groups. |
|
No |
— |
Specifies the IPv4 or IPv6 subnet from which OcNOS assigns an IP address to each TMM instance to establish BGP-VPN sessions. Must match a valid IPv4 or IPv6 address pattern. Minimum length: 2 characters. Maximum length: 39 characters. |
|
No |
— |
Specifies the prefix length for the virtual IP subnet. Minimum: |
|
No |
|
List of secrets used for BGP neighbor authentication. Each entry maps a neighbor address to a Kubernetes |
Note
This resource is immutable after creation. To update, delete the existing resource and create a new one.
spec.templateRef¶
Field |
Required |
Description |
|---|---|---|
|
Yes |
Name of the |
spec.bgp¶
Field |
Required |
Default |
Description |
|---|---|---|---|
|
Yes |
— |
Start of the autonomous system number (ASN) range. Minimum: |
|
No |
— |
Optional end of the ASN range. When set, the controller assigns ASNs per TMM slot. Must be greater than or equal to |
|
No |
— |
Base subnet used for BGP addressing derivation when needed by templates. Must be a valid IPv4 or IPv6 address. Must be at least one character. |
|
No |
— |
Prefix length for the router ID subnet. Valid range depends on the IP version: |
|
No |
— |
Alternative router ID source. When set to |
|
No |
|
List of BGP neighbors for this global routing configuration. Each entry defines a neighbor by either IP address or interface name. |
|
No |
|
BGP peer-group configuration for Top-of-Rack (ToR) style per-node peering. |
Note
You must specify at least one of routerIdSource or routerIdSubnet together with routerIdPrefix.
spec.bgp.neighbors[]¶
Field |
Required |
Default |
Description |
|---|---|---|---|
|
No |
— |
IPv4 or IPv6 address of the BGP neighbor. Mutually exclusive with |
|
No |
— |
Interface name for the BGP neighbor (unnumbered BGP). Mutually exclusive with |
|
No |
— |
BGP AS number for the neighbor. Required when |
|
No |
— |
List of address family identifiers for the BGP neighbor session. |
Note
You must specify either ip or interface, but not both. When you specify ip, the remoteAs field is required.
spec.bgp.peerGroups[]¶
Field |
Required |
Default |
Description |
|---|---|---|---|
|
Yes |
— |
Logical name of the BGP peer group. For example, |
|
Yes |
— |
Remote AS number for this peer group. Minimum: |
|
No |
— |
Enables connectivity between external peers that do not have a direct connection. Minimum: |
|
No |
— |
Enables advertising IPv4 virtual server addresses to the peer. Defaults to |
|
No |
— |
Enables advertising IPv6 virtual server addresses to the peer. |
|
No |
— |
Enables BGP4 policies to be activated without clearing the BGP session. |
|
Yes |
— |
Per-node BGP peer mapping. The controller binds peers from |
spec.bgp.peerGroups[].nodePeers[]¶
Field |
Required |
Description |
|---|---|---|
|
Yes |
Kubernetes node name. For example, |
|
Yes |
List of BGP neighbor IP addresses (IPv4 or IPv6) for this node. You can specify multiple addresses per node for primary and backup ToR peers. Minimum items: 1. |
spec.neighborSecrets[]¶
Field |
Required |
Description |
|---|---|---|
|
Yes |
Address of the BGP neighbor that this secret applies to. |
|
Yes |
Reference to a Kubernetes |
spec.neighborSecrets[].secretRef¶
Field |
Required |
Description |
|---|---|---|
|
Yes |
Name of the Kubernetes |
|
Yes |
Key within the |