[Libvirt-cim] [PATCH] [TEST] Fix ECTP 01_forward.py to support system with multiple networks defined

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Mon Nov 10 20:40:21 UTC 2008


>  >  
>  > -    status = verify_ectp_assoc(server, virt)
>  > +    reg_classname = get_typed_class(virt, "RegisteredProfile")
>  > +    an = get_typed_class(virt,"ElementConformsToProfile")
>  > +
>  > +    status, prof_inst_lst = get_proflist(server, reg_classname, virt)
>  > +    if status != PASS:
>  > +        return status
>  > +
>  > +    status, verify_ectp_list = init_vs_pool_values(server, virt)
>  > +    if status != PASS:
>  > +        Globals.CIM_NS = prev_namespace
>  > +        cxml.destroy(server)
>  > +        cxml.undefine(server)
> 
>  > +    Do you think it's better to return status here?
>        Thanks!
> 

Yes, I definitely missed adding the return status here.  Thanks for 
catching this!

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list