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

Migrate the host network from virtual switch to distributed switch

Open sanjay1839 opened this issue 7 years ago • 5 comments

Hey All,

I trying to migrate the host network from virtual switch to distributed switch, with the vmotion, provisioning and management enabled on it and also HA and DRS enabled for the cluster.

Do you have any samples for that please

Thank you San

sanjay1839 avatar Aug 08 '18 20:08 sanjay1839

@tianhao64 Just want to ask if you are working on this sample

sanjay1839 avatar Aug 16 '18 14:08 sanjay1839

@sanjay1839 I am not working on the sample. I think it's easier to get answer if you have a specific API related question. Not sure if the operations you are trying to do are available using Automation SDK, can you take a look at pyvmomi samples to see if there is anything helpful? https://github.com/vmware/pyvmomi-community-samples

tianhao64 avatar Aug 16 '18 17:08 tianhao64

@tianhao64 i am basically looking to move the host adapter and nics from vmnetwork to distributed swtich

sanjay1839 avatar Aug 16 '18 18:08 sanjay1839

@sanjay1839 Were you able to write a sample?

anusha94 avatar Mar 16 '21 06:03 anusha94

I have the same problem. With vSS to vSS or from vDS to vDS works great. But how to do it with vSS on vDS or vDS on vSS? Not clear what structure can I use to load into ConfigSpec.device? The structure of the network in use at the moment is obviously not suitable.

vnkazna avatar Apr 17 '21 08:04 vnkazna