It is difficult to understand to know the instance ID whenever we receive an event from vCenter for a particular VM.
so, instead of logging this:
Added vm to cache: <networking_vsphere.common.model.VirtualMachine object at 0x7f0b398a0e10>.
it should display:
Added VM to cache: 206220f6-a3c7-4444-8559-975aec1f481e.
Similarly,
Handling event VM_CREATED for 206220f6-a3c7-4444-8559-975aec1f481e.
It is difficult to understand to know the instance ID whenever we receive an event from vCenter for a particular VM.
so, instead of logging this:
Added vm to cache: <networking_ vsphere. common. model.VirtualMa chine object at 0x7f0b398a0e10>.
it should display:
Added VM to cache: 206220f6- a3c7-4444- 8559-975aec1f48 1e.
Similarly,
Handling event VM_CREATED for 206220f6- a3c7-4444- 8559-975aec1f48 1e.