Skip to content

Data Source: proxmox_virtual_environment_sdn_zone_evpn

Warning

Deprecated: Use proxmox_sdn_zone_evpn instead. This data source will be removed in v1.0.

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

  • (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
  • pending (Boolean) Indicates if the zone has pending configuration changes that need to be applied.
  • 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').
  • state (String) Indicates the current state of the 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.