Stanley, Jon [Tech]
2010-10-01 16:19:15 UTC
Does anyone know of a way to parse the libvirt XML into usable python data structures? Ideally, it would be something like foo['domain']['devices']['bridge'][0]['target'] or something of the sort. What I'm looking to accomplish is to figure out which tap interface goes with a specific domain.
I'm not keen on parsing XML to get that mapping, is there a better way to do it without parsing XML?
I'm not keen on parsing XML to get that mapping, is there a better way to do it without parsing XML?