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/data-sources/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

3.3 KiB

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

Data Source: proxmox_virtual_environment_sdn_zone_evpn

Retrieves information about an EVPN Zone in Proxmox SDN. The EVPN zone creates a routable Layer 3 network, capable of spanning across multiple clusters.

Example Usage

data "proxmox_virtual_environment_sdn_zone_evpn" "example" {
  id = "evpn1"
}

output "data_proxmox_virtual_environment_sdn_zone_evpn" {
  value = {
    id                         = data.proxmox_virtual_environment_sdn_zone_evpn.example.id
    nodes                      = data.proxmox_virtual_environment_sdn_zone_evpn.example.nodes
    controller                 = data.proxmox_virtual_environment_sdn_zone_evpn.example.controller
    vrf_vxlan                  = data.proxmox_virtual_environment_sdn_zone_evpn.example.vrf_vxlan
    advertise_subnets          = data.proxmox_virtual_environment_sdn_zone_evpn.example.advertise_subnets
    disable_arp_nd_suppression = data.proxmox_virtual_environment_sdn_zone_evpn.example.disable_arp_nd_suppression
    exit_nodes                 = data.proxmox_virtual_environment_sdn_zone_evpn.example.exit_nodes
    exit_nodes_local_routing   = data.proxmox_virtual_environment_sdn_zone_evpn.example.exit_nodes_local_routing
    primary_exit_node          = data.proxmox_virtual_environment_sdn_zone_evpn.example.primary_exit_node
    rt_import                  = data.proxmox_virtual_environment_sdn_zone_evpn.example.rt_import
    mtu                        = data.proxmox_virtual_environment_sdn_zone_evpn.example.mtu
    dns                        = data.proxmox_virtual_environment_sdn_zone_evpn.example.dns
    dns_zone                   = data.proxmox_virtual_environment_sdn_zone_evpn.example.dns_zone
    ipam                       = data.proxmox_virtual_environment_sdn_zone_evpn.example.ipam
    reverse_dns                = data.proxmox_virtual_environment_sdn_zone_evpn.example.reverse_dns
  }
}

Schema

Required

  • id (String) The unique identifier of the SDN zone.

Read-Only

  • advertise_subnets (Boolean) Enable subnet advertisement for EVPN.
  • controller (String) EVPN controller address.
  • 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.
  • nodes (Set of String) The Proxmox nodes which the zone and associated VNets are deployed on
  • 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. Must be in the format ':' (e.g., '65000:65000').
  • vrf_vxlan (Number) VRF VXLAN-ID used for dedicated routing interconnect between VNets. It must be different than the VXLAN-ID of the VNets.