Module Expr Str ImportFrom alias ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad If CompareEq Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Assign AttributeStore NameLoad attr AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad attr orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr BoolOpAnd CompareEq Call NameLoad NameLoad NameLoad CompareNotEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore DictComp AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr If BoolOpAnd UnaryOpNot SubscriptLoad NameLoad Index AttributeLoad NameLoad attr BoolOpOr CompareEq NameLoad NameLoad CompareEq NameLoad NameLoad body Continue orelse Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad If CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad Call AttributeLoad NameLoad attr attr ListLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Print Str Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Print BinOpMod Str NameLoad Print Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Print BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A 
Tool for replaying OpenFlow messages from a trace.

Motivation for this tool:
 - Delta debugging does not fully minimize the internal events of traces (often for
   good reason, e.g. delicate timings). We have observed minimized traces often contain many
   OpenFlow messages that time our or are overwritten, i.e. are not directly
   relevant for triggering an invalid network configuration.

This tool enables:
  - automatic filtering of flow_mods that timed out or were overwritten by
    later flow_mods.
  - automatic filtering of flow_mods that are irrelevant to a set of flow
    entries specified by the user.
  - interactive bisection of the OpenFlow trace to infer which messages were
    and weren't relevant for triggering the bug (especially useful for tricky
    cases requiring human involvement). (TBD)

The tool can then spit back out a new event trace without the irrelevant
OpenFlow messages.
 pox.openflow.libopenflow_01 * sts.event_dag EventDag N/A sts.input_traces.log_parser log_parser sts.replay_event ControlMessageReceive sts.control_flow.replayer Replayer sts.control_flow.base * sts.controller_manager * sts.util.console msg sts.util.convenience is_flow_mod OpenFlowReplayer N/A ControlFlow N/A N/A 
  Replays OpenFlow messages and filters out messages that are not of interest,
  producing a new event trace file as output.
   __init__ N/A N/A self simulation_cfg superlog_path_or_dag ignore_trailing_flow_mod_deletes N/A True N/A N/A N/A self simulation_cfg simulation_cfg N/A N/A self sync_callback N/A ReplaySyncCallback N/A N/A N/A type superlog_path_or_dag str N/A N/A superlog_path superlog_path_or_dag N/A N/A self event_list N/A N/A EventDag N/A N/A log_parser parse_path superlog_path events N/A N/A N/A self event_list N/A superlog_path_or_dag events N/A N/A self event_list N/A e N/A e N/A self event_list N/A N/A N/A type e ControlMessageReceive N/A N/A type N/A N/A e get_packet ofp_packet_out N/A N/A self ignore_trailing_flow_mod_deletes ignore_trailing_flow_mod_deletes N/A initialize_simulation N/A N/A self N/A N/A N/A simulation N/A N/A N/A self simulation_cfg bootstrap N/A self sync_callback boot_controllers boot_mock_controllers N/A N/A connect_to_mock_controllers simulation N/A simulation N/A simulate N/A N/A self N/A N/A N/A simulation N/A N/A self initialize_simulation N/A N/A self ignore_trailing_flow_mod_deletes N/A N/A dpid2seen_non_delete N/A N/A switch dpid False N/A switch N/A N/A simulation topology switches N/A all_flow_mods N/A N/A next_event N/A self event_list N/A N/A N/A is_flow_mod next_event N/A N/A N/A N/A msg special_event N/A Injecting %r next_event N/A N/A N/A all_flow_mods append next_event N/A N/A N/A N/A msg openflow_event N/A Injecting %r next_event N/A N/A N/A next_event manually_inject simulation N/A relevant_flow_mods N/A N/A last_event N/A reversed all_flow_mods N/A N/A switch N/A N/A N/A simulation topology get_switch N/A last_event dpid N/A N/A self ignore_trailing_flow_mod_deletes N/A N/A flow_mod_command N/A N/A N/A last_event get_packet command N/A N/A N/A N/A dpid2seen_non_delete N/A N/A switch dpid N/A N/A flow_mod_command OFPFC_DELETE N/A flow_mod_command OFPFC_DELETE_STRICT N/A N/A N/A N/A N/A dpid2seen_non_delete N/A N/A switch dpid True N/A N/A N/A N/A N/A switch table matching_entries N/A N/A N/A last_event get_packet match N/A N/A N/A N/A N/A relevant_flow_mods append last_event N/A N/A N/A N/A switch table remove_matching_entries N/A N/A N/A last_event get_packet match N/A N/A N/A relevant_flow_mods reverse N/A N/A N/A N/A msg event Filtered flow mods: N/A next_event relevant_flow_mods N/A N/A N/A %r next_event N/A N/A flow_mod_event relevant_flow_mods N/A N/A N/A N/A flow_mod_event manually_inject simulation N/A N/A N/A msg event Flow tables: N/A switch N/A N/A simulation topology switches N/A N/A N/A Switch %s N/A switch dpid N/A N/A N/A switch show_flow_table N/A simulation N/A N/A