pyvmomi-community-samples
pyvmomi-community-samples copied to clipboard
Adding networkMap to OVA deployment
HI Guys,
I am trying to deploy an OVA and assign some params, but i am having issues adding the network map, I get an error "msg = 'The provided network mapping between OVF networks and the system network is not supported by any host.',"
The name of the interface and network are correct, this is the response i get back
networkMapping = (vim.OvfManager.NetworkMapping) [
(vim.OvfManager.NetworkMapping) {
dynamicType =
This is the code i am using to add mapping
Any pointers would be much appreciated cheers.
net_name = vim.Network('530-SUP') network = [vim.OvfManager.NetworkMapping(name='LAN', network=net_name)]
cisp = vim.OvfManager.CreateImportSpecParams(propertyMapping=opt, deploymentOption='enterprise', diskProvisioning='thin', entityName='Testing', networkMapping=network)
Hi are you able to resolve this issue? If so, could you please share the method to resolve it?
Two years later I am at the same problem. Any update on this?
Any solutions for this? please share