-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accommodate non-NSX-T Distributed Virtual Switches
Previously the vSphere CPI NSX-T Policy API assumed _all_ Distributed Virtual Switches (DVSes) were NSX-T Segments, but that assummption was false; DVSes may be managed by vSphere and not NSX-T. We now check whether the network interface controller (NIC) is NSX-T-managed before attempting to tag the NIC's port with NSX-T metadata. fixes: ``` unable to create bosh vm:CPI 'set_vm_metadata' method responded with error: CmdError{"type":"Unknown","message":"Invalid Query","ok_to_retry":false} ``` [fixes #302] [#179334136](https://www.pivotaltracker.com/story/show/179334136) Signed-off-by: Brian Cunnie <bcunnie@vmware.com>
- Loading branch information
Showing
3 changed files
with
68 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters