vsphere-automation-sdk-rest icon indicating copy to clipboard operation
vsphere-automation-sdk-rest copied to clipboard

unable to create vm with distributed switches

Open JanaFischinger opened this issue 4 years ago • 3 comments

creating a vm with nics needs provide backing info: "backing" : { "distributed_port" : "string", "type" : "STANDARD_PORTGROUP", "network" : "obj-103" },

with a default switch works fine: "backing" : { "type" : "STANDARD_PORTGROUP", "network" : "obj-103" },

but not when you have a distributed switch: "backing" : { "distributed_port" : "string", "type" : "DISTRIBUTED_PORTGROUP", "network" : "obj-103" }, with rest api i am unable to find out the value (id) for distributed_port.

JanaFischinger avatar Jun 16 '20 08:06 JanaFischinger

I'll take a look into this and see what I can find out.

jrgarcia avatar Jun 19 '20 14:06 jrgarcia

thanks, if you need additonal info let me know.

JanaFischinger avatar Jun 22 '20 06:06 JanaFischinger

do you have an update?

JanaFischinger avatar Jun 29 '20 22:06 JanaFischinger