[Libvirt-cim] arguments issue in indication_tester.py

Guo Lian Yun yunguol at cn.ibm.com
Thu Feb 21 09:45:36 UTC 2008


Hi,

There are four parameters in define xml of filter, handler and
subscription,
but only there are passes to them, that *sysname* is missed. On the former
version of libcmpiutil, only three parameters in their define method.
So I don't know what's the
 original idea of it, three or four arguments?
Or it's just a minor mistake.

Below are some parts of code.
...
def filter_xml(name, type, ns, sysname):
...
def handler_xml(name, port, sysname):
...
def subscription_xml(name, sysname):
...
def dump_xml(name, typ, ns):
    filter_str = filter_xml(name, typ, ns)
    handler_str = handler_xml(name, 8000)
    subscript_str = subscription_xml(name)
...


Also, I'm not sure of instances deletion order, which including filter,
handler
and subscription instance. They are created by filter, handler and
subscription order, and then deletion order it the same as created in
coding.
I'm not sure whether the subscription instance have to be deleted firstly.


Thanks!

Best,
Regards

Daisy Guo Lian Yun
E-mail: yunguol at cn.ibm.com
IBM China Development Lab, Shanghai, China
TEL: (86)-21-61008057
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20080221/ebdec450/attachment.htm>


More information about the Libvirt-cim mailing list