» vcd_nsxv_dhcp_relay

Provides a vCloud Director Edge Gateway DHCP relay configuration data source. The DHCP relay capability provided by NSX in vCloud Director environment allows to leverage existing DHCP infrastructure from within vCloud Director environment without any interruption to the IP address management in existing DHCP infrastructure. DHCP messages are relayed from virtual machines to the designated DHCP servers in your physical DHCP infrastructure, which allows IP addresses controlled by the NSX software to continue to be in sync with IP addresses in the rest of your DHCP-controlled environments.

Supported in provider v2.6+

» Example Usage 1

data "vcd_nsxv_dhcp_relay" "relay_config" {
  org          = "my-org"
  vdc          = "my-org-vdc"
  edge_gateway = "my-edge-gw"

» Argument Reference

The following arguments are supported:

  • org - (Optional) The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations.
  • vdc - (Optional) The name of VDC to use, optional if defined at provider level.
  • edge_gateway - (Required) The name of the edge gateway on which DHCP relay is to be configured.

» Attribute Reference

All the attributes defined in vcd_nsxv_dhcp_relay resource are available.