Vxlan

The Vxlan resource configures VXLAN tunnel encapsulation for tenant traffic.

spec

Field

Type

Required

Default

Constraints

Description

vlan

string

No

—

Minimum length is 0 and maximum length is 255. Must match ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$.

The metadata.name of the underlay VLAN CR upon which the VXLAN interface is created.

localIpSubnet

string

No

—

Minimum length is 2 and maximum length is 39. Must be a valid IPv4 or IPv6 address.

IPv4 or IPv6 subnet from which addresses are assigned to VXLAN tunnel endpoints in TMM. Must be unique across all VXLAN CRs.

localIpPrefixlen

integer

No

—

Minimum is 8 and maximum is 114

Prefix length for the local IP subnet.

mtu

integer

No

1430

Minimum is 68 and maximum is 65515

Tunnel Maximum Transmission Unit (MTU) size in bytes.

port

integer

No

4789

Minimum is 1024 and maximum is 65535

VXLAN destination UDP port for communication between tunnel endpoints.

vni

integer

No

0

Minimum is 0 and maximum is 16777215

Virtual Network Identifier for the tunnel. If set to 0 (default), a unique VNI is generated automatically. If set to a non-zero value, it must be unique across all VXLAN CRs.

ipv4Subnet

string

No

—

Minimum length is 7 and maximum length is 15. Must be a valid IPv4 address.

IPv4 subnet from which addresses are assigned to VXLAN tunnel endpoints in TMM. Must be unique across all VXLAN CRs.

ipv4PrefixLen

integer

No

—

Minimum is 8 and maximum is 18

Prefix length for the IPv4 subnet.

ipv6Subnet

string

No

—

Minimum length is 2 and maximum length is 39. Must be a valid IPv6 address.

IPv6 subnet from which addresses are assigned to VXLAN tunnel endpoints in TMM. Must be unique across all VXLAN CRs.

ipv6PrefixLen

integer

No

—

Minimum is 104 and maximum is 114

Prefix length for the IPv6 subnet.

vrf

string

No

—

Max length: 255. Must match ^[a-zA-Z0-9._-]*$.

The name of the VRF (tenant) this VXLAN belongs to. If not specified, the VXLAN is created in the default route domain. This field is immutable after creation.

evpn

boolean

No

false

—

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