Hi,

you cannot get events about those changes using Python SDK. The only solution to receive such events is to setup ovirt-engine-notifier and subscribe into those events on your SMTP or SNMP server.

Martin Perina


On Wed, Mar 22, 2017 at 7:07 AM, TranceWorldLogic . <tranceworldlogic@gmail.com> wrote:
Hi,

I want to register my python script with ovirt to get notification.(e.g .Host went down or came up.)
But not got any information on same it look to me that polling is the only one solution.

I am sending this mail to confirm my understanding (ovirt-engine not send notification to python script or it not have any hook to extend functionality)

Why I Want Extend Ovirt-engine functionanlity?
I want to auto start VM after host come up.
And for this If ound a bug on Ovirt .. and it is very old and still no solution.
https://bugzilla.redhat.com/show_bug.cgi?id=1325468
BugĀ 1325468

I am just searching for workaround.
Note: I am using ovirt 4.0.

Please help me to know whether ovirt-engine have any extension mechanism ?

Thanks,
~Rohit


_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users