Skip to content

Data Source: proxmox_virtual_environment_sdn_zone_vlan

Warning

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

Retrieves information about a VLAN Zone in Proxmox SDN. It uses an existing local Linux or OVS bridge to connect to the node's physical interface. It uses VLAN tagging defined in the VNet to isolate the network segments. This allows connectivity of VMs between different nodes.

Example Usage

data "proxmox_virtual_environment_sdn_zone_vlan" "example" {
  id = "vlan1"
}

output "data_proxmox_virtual_environment_sdn_zone_vlan" {
  value = {
    id          = data.proxmox_virtual_environment_sdn_zone_vlan.example.id
    nodes       = data.proxmox_virtual_environment_sdn_zone_vlan.example.nodes
    bridge      = data.proxmox_virtual_environment_sdn_zone_vlan.example.bridge
    mtu         = data.proxmox_virtual_environment_sdn_zone_vlan.example.mtu
    dns         = data.proxmox_virtual_environment_sdn_zone_vlan.example.dns
    dns_zone    = data.proxmox_virtual_environment_sdn_zone_vlan.example.dns_zone
    ipam        = data.proxmox_virtual_environment_sdn_zone_vlan.example.ipam
    reverse_dns = data.proxmox_virtual_environment_sdn_zone_vlan.example.reverse_dns
  }
}

Schema

Required

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

Read-Only

  • bridge (String) The local bridge or OVS switch, already configured on each node that allows node-to-node connection.
  • 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.
  • 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.
  • reverse_dns (String) Reverse DNS API server address.
  • state (String) Indicates the current state of the zone.