@staticmethod
def _search_for_network_config_by_name(orgvdc_network_name,
    network_configuration_section):
    """Search for the NetworkConfig element by org vdc network name.

        :param str orgvdc_network_name: name of the org vdc network to be
            searched.
        :param lxml.objectify.ObjectifiedElement network_configuration_section:
            NetworkConfigSection of the vApp.

        :return: an object containing NetworkConfig XML element which
            represents the configuration of the named org vdc network.

        :rtype: lxml.objectify.ObjectifiedElement
        """
    if hasattr(network_configuration_section, 'NetworkConfig'):
        for network_config in network_configuration_section.NetworkConfig:
            if network_config.get('networkName') == orgvdc_network_name:
                return network_config
    return None
