mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-08-22 19:38:35 +00:00
1.9 KiB
1.9 KiB
layout | title | parent | subcategory | description |
---|---|---|---|---|
page | proxmox_virtual_environment_sdn_zone_vlan | Resources | Virtual Environment | 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. |
Resource: proxmox_virtual_environment_sdn_zone_vlan
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
resource "proxmox_virtual_environment_sdn_zone_vlan" "example" {
id = "vlan1"
nodes = ["pve"]
bridge = "vmbr0"
mtu = 1500
# Optional attributes
dns = "1.1.1.1"
dns_zone = "example.com"
ipam = "pve"
reverse_dns = "1.1.1.1"
}
Schema
Required
bridge
(String) The local bridge or OVS switch, already configured on each node that allows node-to-node connection.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
Optional
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.reverse_dns
(String) Reverse DNS API server address.
Import
Import is supported using the following syntax:
#!/usr/bin/env sh
# VLAN SDN zone can be imported using its unique identifier (zone ID)
terraform import proxmox_virtual_environment_sdn_zone_vlan.example vlan1