[Libvirt-cim] [PATCH] [TEST][Resubmitting]Adding 05_RAPF_err.py to verify RAPF

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Tue Apr 8 19:56:59 UTC 2008


> 
> I'd recommend adding a function to vxml.py that allows you to check 
> whether the bridge value is already set.  There's a fair number of set_ 
> functions in vxml.py, so I think it would make sense to add this as a 
> get_ function.
> 
> You can probably utilize get_node() and toprettyxml() to return the 
> value of the bridge.  If a bridge isn't set, you could return None. 
> Thoughts?
> 

Oops - my mistake.  There's a xml_get_net_type() function that would 
probably work well for this.
-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list