Skip to content

Conversation

@ksamoray
Copy link
Contributor

@ksamoray ksamoray commented Jan 2, 2026

Summary

NSX allows a a creation of a segment port, which can be configured with various NSX profiles, e.g spoofguard or security profiles. In order to utilize an NSX predefined segment port the Terraform vSphere provider should configure the vSphere network which reflects the NSX segment, and use the external_id attribute which has been associated with the NSX port's attachment attribute.

Type

  • fix: Bug Fix
  • feat: Feature or Enhancement
  • docs: Documentation
  • refactor: Refactoring
  • chore: Build, Dependencies, Workflows, etc.
  • other: Other (Please describe.)

Breaking Changes?

  • Yes, there are breaking changes.
  • No, there are no breaking changes.

Tests

  • Tests have been added or updated.
  • Tests have been completed.

Output:
=== RUN TestAccResourceVSphereVirtualMachine_vAppExternalPort
--- PASS: TestAccResourceVSphereVirtualMachine_vAppExternalPort (127.51s)
PASS

Documentation

  • Documentation has been added or updated.

Issue References

Release Note

r/vsphere_virtual_machine - Added support for usage of external network port.

Additional Information

@ksamoray ksamoray requested a review from a team as a code owner January 2, 2026 10:40
@github-actions github-actions bot added documentation Documentation provider Provider needs-review Needs Review size/m Relative Sizing: Medium labels Jan 2, 2026
@tenthirtyam tenthirtyam added enhancement Enhancement area/networking Area: Networking and removed documentation Documentation needs-review Needs Review labels Jan 2, 2026
@tenthirtyam tenthirtyam added this to the v2.16.0 milestone Jan 2, 2026
Copy link
Contributor

@spacegospod spacegospod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@github-actions github-actions bot added documentation Documentation needs-review Needs Review labels Jan 8, 2026
@github-actions github-actions bot added dependencies Dependencies chore Chore size/l Relative Sizing: Large labels Jan 8, 2026
@ksamoray ksamoray force-pushed the vm-ext-port branch 2 times, most recently from cc668e3 to fe0abf2 Compare January 8, 2026 11:35
NSX allows a a creation of a segment port, which can be configured with various NSX profiles, e.g spoofguard or security profiles.
In order to utilize an NSX predefined segment port the Terraform vSphere provider should configure the vSphere network which reflects
the NSX segment, and use the external_id attribute which has been associated with the NSX port's attachment attribute.

Signed-off-by: Kobi Samoray <[email protected]>
@tenthirtyam tenthirtyam changed the title Add external_id attribute to virtual machine's network_interface object feat: add external_id attribute to virtual machine's network_interface object Jan 8, 2026
@tenthirtyam tenthirtyam removed the needs-review Needs Review label Jan 8, 2026
@spacegospod spacegospod merged commit 2dba925 into vmware:main Jan 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/networking Area: Networking chore Chore dependencies Dependencies documentation Documentation enhancement Enhancement provider Provider size/l Relative Sizing: Large size/m Relative Sizing: Medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants