Vxlan

Note

Deprecated as of 2.4.0. Use an Infra resource instead.

Overview

Function

Declares the VXLAN tunnel configuration for a CNE instance.

Names

Singular name

Plural name

vxlan

vxlans

API group and version

k8s.f5net.com/v1

Scope

Namespace

Specification

spec

Field

Required

Default

Description

vlan
string

No

—

Specifies the VLAN name upon which the VXLAN interface is created. This is the metadata.name from the corresponding VLAN custom resource. For example, internal. Must match the pattern ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$. Maximum length: 255 characters.

localIpSubnet
string

No

—

Specifies the IPv4 or IPv6 subnet from which addresses are assigned to VXLAN tunnel endpoints in TMM. The subnet must be unique across all vxlans.f5net.com custom resources. For example, 192.168.0.0. Minimum length: 2 characters. Maximum length: 39 characters.

localIpPrefixlen
integer

No

—

Specifies the prefix length for the IPv4 subnet from which local IP addresses are generated. Minimum: 8. Maximum: 114.

mtu
integer

No

1430

Specifies the MTU for the VXLAN tunnel. The default value of 1430 accounts for the VXLAN overhead. Minimum: 68. Maximum: 65515.

port
integer

No

4789

Specifies the UDP port number for VXLAN traffic used for communication between tunnel endpoints. Minimum: 1024. Maximum: 65535.

vni
integer

No

0

Specifies the VXLAN Network Identifier (VNI) for the tunnel. When set to the default value of 0, a unique VNI is generated and assigned automatically. When set to a valid VNI, the value must be unique across all vxlans.f5net.com custom resources. Minimum: 0. Maximum: 16777215.

ipv4Subnet
string

No

—

Specifies the IPv4 subnet from which addresses are assigned to VXLAN tunnel endpoints in TMM. The subnet must be unique across all vxlans.f5net.com custom resources. For example, 192.168.0.0. Minimum length: 7 characters. Maximum length: 15 characters.

ipv4PrefixLen
integer

No

—

Specifies the prefix length for the IPv4 subnet from which IPv4 VXLAN IP addresses are generated. Minimum: 8. Maximum: 18.

ipv6Subnet
string

No

—

Specifies the IPv6 subnet from which addresses are assigned to VXLAN tunnel endpoints in TMM. The subnet must be unique across all vxlans.f5net.com custom resources. For example, fd50::. Minimum length: 2 characters. Maximum length: 39 characters.

ipv6PrefixLen
integer

No

—

Specifies the prefix length for the IPv6 subnet from which IPv6 VXLAN IP addresses are generated. Minimum: 104. Maximum: 114.

vrf
string

No

—

Specifies the name of the VRF (tenant) this VLAN belongs to. When you leave this field empty, the VLAN is created in the default RouteDomain. This field is immutable after creation. Must match the pattern ^[a-zA-Z0-9._-]*$. Maximum length: 255 characters.

evpn
boolean

No

false

Marks this VXLAN instance as the EVPN-enabled instance for GlobalRoutingConfig. Only one VXLAN custom resource can have evpn set to true at any given time. When set to true, the VXLAN instance is used for EVPN overlay scenarios.