Table Of Contents

This Page

nepi.data.processing.ccn package

Submodules

nepi.data.processing.ccn.parser module

nepi.data.processing.ccn.parser.annotate_cn_graph(logs_dir, graph, parse_ping_logs=False)[source]

Adds CCN content history for each node in the topology graph.

nepi.data.processing.ccn.parser.annotate_cn_node(graph, nid, ips2nid, data, content_history)[source]
nepi.data.processing.ccn.parser.ccn_consumers(graph)[source]

Returns the nodes that are content consumers

nepi.data.processing.ccn.parser.ccn_producers(graph)[source]

Returns the nodes that are content providers

nepi.data.processing.ccn.parser.dump_content_history(content_history)[source]
nepi.data.processing.ccn.parser.is_control(content_name)[source]
nepi.data.processing.ccn.parser.load_content_history(fname)[source]
nepi.data.processing.ccn.parser.parse_file(filename)[source]

Parses message information from ccnd log files

filename: path to ccndlog file

nepi.data.processing.ccn.parser.process_content_history(graph)[source]

Compute CCN message counts and aggregates content historical information in the content_names dictionary

nepi.data.processing.ccn.parser.process_content_history_logs(logs_dir, graph, parse_ping_logs=False)[source]

Parse CCN logs and aggregate content history information in graph. Returns annotated graph and message countn and content names history.

Module contents