forked from vmware/govmomi
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
govc: support raw object references in import.ova NetworkMapping
vCenter doesn't allow duplicate port group names within the network folder when creating via the UI or the AddDVPortgroupTask() API. However, NSXt 3.0 can do so via other (unknown) means. With this condition, govc would fail to map the given network name to its managed object reference. To workaround this, a raw MO ref can now be used in the NetworkMapping, instead of the Network name or inventory path. Related history: 223168f * Add NetworkMapping section to importx options. e3c3cd0 * Populate network mapping from ovf envelope (vmware#546) Fixes vmware#1996
- Loading branch information
Showing
3 changed files
with
79 additions
and
23 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