d/vsphere_network: Gather community feedback on optionally supporting a strict 1-to-1 VLAN ↔ Portgroup mapping model
#2678
akli-ime
started this conversation in
Community Ideas
Replies: 1 comment
-
|
This would be more appropriate for a Discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Code of Conduct
Description
This issue is opened to gather community feedback on whether the Terraform vSphere provider should optionally support a workflow based on a strict 1-to-1 mapping between VLANs and distributed portgroups.
A recent pull request (#2675) introduces changes that allow resolving distributed portgroups directly from a VLAN ID. While this approach works in some environments, it represents a specific architectural assumption that may not match all vSphere networking setups.
This issue is intended purely for discussion and community input. The goal is to understand whether optionally supporting this workflow would be useful and widely adopted, rather than to decide on implementation or maintenance at this stage.
Use Case(s)
Potential Configuration
Example configurations illustrating optional workflows for a strict 1-to-1 VLAN ↔ portgroup mapping.
** Option 1 — Lookup by VLAN ID (optional workflow)
This model assumes:
It allows consumers to reference portgroups solely by VLAN ID, without explicitly specifying a portgroup name.
** Option 2 — Lookup by Portgroup Name (existing workflow)
This remains the default and most flexible approach, avoiding assumptions and supporting heterogeneous environments.
** Summary
This issue is solely to gather input from the community on whether optionally supporting a strict 1-to-1 VLAN ↔ portgroup mapping would be valuable. Feedback on adoption, use cases, and preferences is welcome.
References
Beta Was this translation helpful? Give feedback.
All reactions