Open Aixleft723 opened 2 years ago
I can not get the nic name
1. # Loop through all the VMs for child in children: # get all the vm name vmName = child.summary.config.name if vmName != "lanjing": continue for dev in child.config.hardware.device: 2. 3. ...
Get the vm nic name
No response
May be this line will help you to find an answer: https://github.com/vmware/pyvmomi-community-samples/pull/710/files#diff-b0253e78a2fcda842b484b0a78585928c1b7cdf3507871a87c4bfff6abc44823R76 ?
Describe the bug
I can not get the nic name
Reproduction steps
Expected behavior
Get the vm nic name
Additional context
No response