Resource: proxmox_virtual_environment_sdn_zone_evpn¶
Warning
Deprecated: Use proxmox_sdn_zone_evpn instead. This resource will be removed in v1.0.
EVPN Zone in Proxmox SDN. The EVPN zone creates a routable Layer 3 network, capable of spanning across multiple clusters.
Example Usage¶
resource "proxmox_virtual_environment_sdn_zone_evpn" "example" {
id = "evpn1"
nodes = ["pve"]
controller = "evpn-controller1"
vrf_vxlan = 4000
# Optional attributes
advertise_subnets = true
disable_arp_nd_suppression = false
exit_nodes = ["pve-exit1", "pve-exit2"]
exit_nodes_local_routing = true
primary_exit_node = "pve-exit1"
rt_import = "65000:65000"
mtu = 1450
# Generic optional attributes
dns = "1.1.1.1"
dns_zone = "example.com"
ipam = "pve"
reverse_dns = "1.1.1.1"
}
Schema¶
Required¶
controller(String) EVPN controller address.id(String) The unique identifier of the SDN zone.vrf_vxlan(Number) VRF VXLAN-ID used for dedicated routing interconnect between VNets. It must be different than the VXLAN-ID of the VNets.
Optional¶
advertise_subnets(Boolean) Enable subnet advertisement for EVPN.disable_arp_nd_suppression(Boolean) Disable ARP/ND suppression for EVPN.dns(String) DNS API server address.dns_zone(String) DNS domain name. Used to register hostnames, such as<hostname>.<domain>. The DNS zone must already exist on the DNS server.exit_nodes(Set of String) List of exit nodes for EVPN.exit_nodes_local_routing(Boolean) Enable local routing for EVPN exit nodes.ipam(String) IP Address Management system.mtu(Number) MTU value for the zone. There is no support to reset this value back to PVE default once set due to API limitation.nodes(Set of String) The Proxmox nodes which the zone and associated VNets should be deployed onprimary_exit_node(String) Primary exit node for EVPN.reverse_dns(String) Reverse DNS API server address.rt_import(String) Route target import for EVPN.
Read-Only¶
pending(Boolean) Indicates if the zone has pending configuration changes that need to be applied.state(String) Indicates the current state of the zone.
Import¶
Import is supported using the following syntax: