Closed rachappag closed 7 years ago
Configuration parameters of the new 'Portgroup' resource
resource "vsphere_vds_portgroup" "<resource name>" {
datacenter = "<name of existing datacenter>"
vds_name = "<name of existing Virtual Distributed Switch>"
portgroup_name = "<name of the portgroup>"
description = "<description of the portgroup>"
portgroup_type = "<type of the portgroup>"
num_ports = <number of ports>
vlan {
type = "<type of VLAN>"
vlan_id = <VLAN-ID>
vlan_range = "<VLAN ID range>"
}
}
portgroup_type -> "earlyBinding"/"lateBinding"/"ephemeral" vlan type -> "none"/"vlanid"/"pvid"/"trunking"
Reopening the issue to add UPDATE support and Testing code.
Closed by pull request - https://github.com/IBM-tfproviders/vmware-vsphere/pull/14
A new resource type - portgroup is required in vsphere provider