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(a)linux.vnet.ibm.com