Mmmmm, shouldn't this be:

     network_xml = NetworkXML.new_from_net_dumpxml("default") 

?