pyvmomi-community-samples icon indicating copy to clipboard operation
pyvmomi-community-samples copied to clipboard

Getting Host Related Events like Host Add/Delete, PG add/delete

Open padkrish opened this issue 4 years ago • 1 comments

Hello, I am trying to get the events for the following:

=> DVS and DVS-PG (DPG) Events like Add, Delete. => Regular PG events like Add, delete => VLAN modified on a DVS port group or a regular port group => Any CDP/LLDP neighbour change like the vnic or connected switch information

The DVS events seem to work fine (Thanks to prziborowski) when i give the id of type 'DvsCreatedEvent', 'DVPortgroupCreatedEvent', 'DvsDestroyedEvent' or 'DVPortgroupDestroyedEvent'.

But, for a regular PG events like create, delete or modify like VLAN. I do not see any events. I tried giving 'HostEvent' as the id, that did not help. Can someone please suggest how can i get events for the following:

a) Regular PG events like Add, delete b) Any CDP/LLDP neighbour change like the vnic or connected switch information

Is there any top level event or specific event ID associated with the above?

Thanks, KP

padkrish avatar Jun 17 '20 07:06 padkrish