def generate_connection_settings(graph, node):
    """
    Function for parse other dispatch options such as sslProfile, etc.
    :param graph: networkx graph of topology
    :param node: current processing node
    :return:
    """
    conn_sett = {}
    component_sett = {}
    node_attributes = graph.node[node]
    if isinstance(node_attributes, dict):
        for component, attributes in node_attributes.items():
            if isinstance(attributes, list
                ) and attributes and component not in ['listener',
                'address', 'connector', 'linkRoute', 'router']:
                for attr_name, attr_value in attributes[0].items():
                    component_sett[attr_name] = attr_value
                conn_sett[component] = [component_sett]
                component_sett = {}
    return conn_sett
