vmware / terraform-provider-vcd

Terraform VMware Cloud Director provider
https://www.terraform.io/docs/providers/vcd/
Mozilla Public License 2.0
146 stars 113 forks source link

vcd_network_routed_v2 doesn't have an interface_type NON_DISTRIBUTED (for NSX-T) #1143

Open odraghi opened 8 months ago

odraghi commented 8 months ago

Community Note

Description

Allow to create routed vdc network non distributed

That would imply two change:

  1. Add a new value on network_routed_v2, Argument interface_type = __non_distributed__
  2. Add a new boolean argument on vcd_nsxt_edgegateway : nonDistributedRoutingEnabled = false (Default)

New or Affected Resource(s)

References

na

Didainius commented 8 months ago

@odraghi , As for vcd_network_routed_v2, we already have a field interface_type that can accept distributed - is this what you are aiming to achieve? (I see that the docs are a bit misleading - mainly because they were written before this was a documented option for NSX-T)

odraghi commented 8 months ago

Yes but NSX-T supports only interface_type=internal And that a shame because with "internal" in nsx-t, that create distributed network.

Didainius commented 8 months ago

Ah, indeed. I will see if we can make it better.

odraghi commented 8 months ago

The goal is really to add a way to create non distributed network with nsx-t.

jmunnik commented 3 months ago

@odraghi do you know if is there any update on this open ticket ?

GinoBadouri commented 2 days ago

Yeah, we also have the requirement to disable distributed routing for some networks created by vcd_network_routed_v2. How can we achieve this?