0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-08-22 19:38:35 +00:00
terraform-provider-proxmox/docs/resources/virtual_environment_sdn_zone_evpn.md
Pavel Boldyrev 6b73d822a5
feat(sdn): add support for zone resources and datasources (#2046)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-07-31 20:30:18 -04:00

2.4 KiB

layout title parent subcategory description
page proxmox_virtual_environment_sdn_zone_evpn Resources Virtual Environment EVPN Zone in Proxmox SDN. The EVPN zone creates a routable Layer 3 network, capable of spanning across multiple clusters.

Resource: proxmox_virtual_environment_sdn_zone_evpn

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.
  • nodes (Set of String) The Proxmox nodes which the zone and associated VNets should be deployed on
  • 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.
  • primary_exit_node (String) Primary exit node for EVPN.
  • reverse_dns (String) Reverse DNS API server address.
  • rt_import (String) Route target import for EVPN.

Import

Import is supported using the following syntax:

#!/usr/bin/env sh
# EVPN SDN zone can be imported using its unique identifier (zone ID)
terraform import proxmox_virtual_environment_sdn_zone_evpn.example evpn1