def METHOD_NAME(from_node_type, config):
    for network in config:
        if network in APPLICABLE_NETWORK_TYPES:
            collect_passwords_from_node_type_over_network(from_node_type, network, config[network])