lib/vcloud-rest/vcloud/vapp_networking.rb
def create_fake_network_node(vapp_networks, network_name)
        parent_section = vapp_networks.css('NetworkConfigSection').first
        new_network = Nokogiri::XML::Node.new "NetworkConfig", parent_section
        new_network['networkName'] = network_name
        placeholder = Nokogiri::XML::Node.new "PLACEHOLDER", new_network
        new_network.add_child placeholder
        parent_section.add_child(new_network)
        vapp_networks
      end
def create_fake_network_node(vapp_networks, network_name)
        parent_section = vapp_networks.css('NetworkConfigSection').first
        new_network = Nokogiri::XML::Node.new "NetworkConfig", parent_section
        new_network['networkName'] = network_name
        placeholder = Nokogiri::XML::Node.new "PLACEHOLDER", new_network
        new_network.add_child placeholder
        parent_section.add_child(new_network)
        vapp_networks
      end
Create a fake NetworkConfig node whose content will be replaced later

 Note: this is a hack to avoid wrong merges through Nokogiri
 that would add a default: namespace