vmware/pyvmomi-community-samples

Sample: show uses for EventHistoryCollector

Open

#50 创建于 2014年6月3日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Python (914 fork)batch import
help wantedsample request

仓库指标

Star
 (972 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

We don't have many samples demonstrating the use of Events. I would like to see a sample that allowed a script to listen for multiple VM power on events and take action on the VM power on events asynchronously.

What I mean by that is in the sample create/find 3 VM. Power them on 1, 2, 3 and if 2 powers up first do something to it (like touch a guest file or answer a VM question or something) then go back to listening for 1 and 3's finished power on task.

贡献者指南