Eric Tolliver
2009-Nov-10 16:55 UTC
[Xen-users] XCP: Is there additional documentation available on XCP events API?
Document: Xen Cloud Platform Software Development Kit Guide URL: http://www.xen.org/files/XenCloud/sdk.pdf Chapter 4, "Subscribing to and listening for events" 1) Where can I find a list of the classes or objects XCP event notification supports? I am specifically looking for VM create, copy and delete. 2) Is there sample code available for registering for events such as VM create, copy or delete? Thanks, Eric Tolliver _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stephen Spector
2009-Nov-10 20:19 UTC
[Xen-users] RE: XCP: Is there additional documentation available on XCP events API?
>Document: Xen Cloud Platform Software Development Kit Guide>URL: http://www.xen.org/files/XenCloud/sdk.pdf>Chapter 4, "Subscribing to and listening for events">1) Where can I find a list of the classes or objects XCP event notification supports? I am specifically looking for VM >create, copy and delete.>2) Is there sample code available for registering for events such as VM create, copy or delete?>>Thanks,>Eric TolliverThe list of classes are here in the source: (lines 46-70ish) http://xenbits.xen.org/xapi/xen-api.hg?file/43afd61336e5/ocaml/idl/datamodel.ml For VM create, copy, delete he wants the "VM" class. There is some sample code here for displaying events: http://xenbits.xen.org/xapi/xen-api.hg?file/43afd61336e5/scripts/examples/python/watch-all-events.py I am looking with Dave Scott for the reference API document which also has more details. Thanks. Stephen Spector Xen.org Community Manager T: (772) 621-5062 | F: (772) 365-0338 | M: (954) 854-4257 stephen.spector@xen.org http://blog.xen.org | @xen_com_mgr _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users