Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Print AttributeLoad NameLoad attr BinOpMod Str NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Raise Call NameLoad BinOpMod Str NameLoad decorator_list Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore NameLoad Assign NameStore Str Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Global identifier Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad Call NameLoad keyword Str keyword Str keyword NameLoad keyword Str keyword Num keyword Str Assign NameStore NameLoad Assign NameStore Str Assign NameStore NameLoad Return Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore NameLoad Assign NameStore Str Assign NameStore NameLoad Assign NameStore Str Return Call NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore NameLoad Assign NameStore Str Assign NameStore NameLoad Return Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest N/A sys N/A os N/A signal config.experiment_config_lib ControllerConfig sts.control_flow.replayer Replayer sts.topology FatTree BufferedPatchPanel MeshTopology sts.simulation_state SimulationConfig sts.entities Host sts.util.convenience IPAddressSpace N/A N/A N/A N/A sys path append N/A N/A N/A N/A os path dirname __file__ /../../.. N/A _running_simulation None handle_int N/A N/A sigspec frame N/A N/A N/A N/A sys stderr N/A Caught signal %d, stopping sdndebug sigspec N/A N/A N/A _running_simulation None N/A N/A _running_simulation current_simulation None N/A N/A N/A N/A N/A _running_simulation current_simulation clean_up N/A N/A RuntimeError N/A terminating on signal %d sigspec N/A N/A N/A N/A signal signal N/A signal SIGINT handle_int N/A N/A N/A signal signal N/A signal SIGTERM handle_int ReplayerTest N/A N/A unittest TestCase N/A N/A tmp_basic_superlog /tmp/superlog_basic.tmp N/A tmp_controller_superlog /tmp/superlog_controller.tmp N/A tmp_dataplane_superlog /tmp/superlog_dataplane.tmp N/A tmp_migration_superlog /tmp/superlog_migration.tmp write_simple_superlog N/A N/A self N/A N/A N/A  Make sure to delete afterwards!  N/A superlog N/A open N/A self tmp_basic_superlog w N/A e1 N/A str {"dependent_labels": ["e2"], "start_dpid": 8, "class": "LinkFailure", "start_port_no": 3, "end_dpid": 15, "end_port_no": 2, "label": "e1", "time": [0,0], "round": 0} N/A N/A N/A superlog write N/A e1 N/A e2 N/A str {"dependent_labels": [], "start_dpid": 8, "class": "LinkRecovery", "start_port_no": 3, "end_dpid": 15, "end_port_no": 2, "label": "e2", "time": [0,0], "round": 0} N/A N/A N/A superlog write N/A e2 N/A e3 N/A str {"dependent_labels": ["e4"], "dpid": 8, "class": "SwitchFailure", "label": "e3", "time": [0,0], "round": 0} N/A N/A N/A superlog write N/A e3 N/A e4 N/A str {"dependent_labels": [], "dpid": 8, "class": "SwitchRecovery", "label": "e4", "time": [0,0], "round": 0} N/A N/A N/A superlog write N/A e4 N/A N/A N/A superlog close N/A setup_simple_simulation N/A N/A self N/A N/A N/A controllers N/A N/A topology_class FatTree N/A topology_params N/A patch_panel_class BufferedPatchPanel N/A sim N/A SimulationConfig controllers topology_class topology_params patch_panel_class N/A _running_simulation N/A _running_simulation sim N/A sim N/A test_basic N/A N/A self N/A N/A N/A simulation None N/A N/A N/A N/A N/A self write_simple_superlog N/A simulation_cfg N/A N/A self setup_simple_simulation N/A replayer N/A Replayer simulation_cfg N/A self tmp_basic_superlog N/A simulation N/A N/A replayer simulate N/A N/A N/A N/A os unlink N/A self tmp_basic_superlog N/A N/A simulation None N/A N/A N/A N/A simulation clean_up N/A write_controller_crash_superlog N/A N/A self N/A N/A N/A superlog N/A open N/A self tmp_controller_superlog w N/A e1 N/A str {"dependent_labels": ["e2"], "controller_id": "c1", "class": "ControllerFailure", "label": "e1", "time": [0,0], "round": 0} N/A N/A N/A superlog write N/A e1 N/A e2 N/A str {"dependent_labels": [], "controller_id": "c1", "class": "ControllerRecovery", "label": "e2", "time": [0,0], "round": 0} N/A N/A N/A superlog write N/A e2 N/A N/A N/A superlog close N/A setup_controller_simulation N/A N/A self N/A N/A N/A start_cmd ./pox.py --verbose --no-cli sts.syncproto.pox_syncer --blocking=False openflow.of_01 --address=__address__ --port=__port__ N/A N/A N/A N/A ControllerConfig _controller_labels clear N/A N/A N/A N/A IPAddressSpace _claimed_addresses clear N/A controllers N/A N/A ControllerConfig cwd pox label c1 start_cmd start_cmd address 127.0.0.1 port 8899 sync tcp:localhost:18899 N/A topology_class MeshTopology N/A topology_params num_switches=2 N/A patch_panel_class BufferedPatchPanel N/A N/A SimulationConfig controllers topology_class topology_params patch_panel_class N/A test_controller_crash N/A N/A self N/A N/A N/A simulation None N/A N/A N/A N/A N/A self write_controller_crash_superlog N/A simulation_cfg N/A N/A self setup_controller_simulation N/A replayer N/A Replayer simulation_cfg N/A self tmp_controller_superlog N/A simulation N/A N/A replayer simulate N/A N/A N/A N/A os unlink N/A self tmp_controller_superlog N/A N/A simulation None N/A N/A N/A N/A simulation clean_up N/A write_dataplane_trace_superlog N/A N/A self N/A N/A N/A superlog N/A open N/A self tmp_dataplane_superlog w N/A e1 N/A str {"dependent_labels": [],  "class": "TrafficInjection", "label": "e1", "time": [0,0], "round": 0} N/A N/A N/A superlog write N/A e1 N/A e2 N/A str {"dependent_labels": [],  "class": "TrafficInjection", "label": "e2", "time": [0,0], "round": 0} N/A N/A N/A superlog write N/A e2 N/A N/A N/A superlog close N/A setup_dataplane_simulation N/A N/A self N/A N/A N/A controllers N/A N/A topology_class MeshTopology N/A topology_params num_switches=2, ip_format_str='123.123.%d.%d' N/A patch_panel_class BufferedPatchPanel N/A dataplane_trace_path ./dataplane_traces/ping_pong_same_subnet.trace N/A N/A SimulationConfig controllers topology_class topology_params patch_panel_class dataplane_trace dataplane_trace_path N/A test_dataplane_injection N/A N/A self N/A N/A N/A simulation None N/A N/A N/A N/A N/A self write_dataplane_trace_superlog N/A simulation_cfg N/A N/A self setup_dataplane_simulation N/A replayer N/A Replayer simulation_cfg N/A self tmp_dataplane_superlog N/A simulation N/A N/A replayer simulate N/A N/A N/A N/A os unlink N/A self tmp_dataplane_superlog N/A N/A simulation None N/A N/A N/A N/A simulation clean_up N/A write_migration_superlog N/A N/A self N/A N/A N/A superlog N/A open N/A self tmp_migration_superlog w N/A e1 N/A str {"dependent_labels": ["e2"], "old_ingress_dpid": 7, "class": "HostMigration", "old_ingress_port_no": 1, "new_ingress_dpid": 8,  "new_ingress_port_no": 99, "host_id": "host1","label": "e1", "time": [0,0], "round": 0} N/A N/A N/A superlog write N/A e1 N/A e2 N/A str {"dependent_labels": [], "old_ingress_dpid": 8, "class": "HostMigration", "old_ingress_port_no": 99, "new_ingress_dpid": 7,  "new_ingress_port_no": 101, "host_id": "host1","label": "e2", "time": [0,0], "round": 0} N/A N/A N/A superlog write N/A e2 N/A N/A N/A superlog close N/A setup_migration_simulation N/A N/A self N/A N/A N/A controllers N/A N/A topology_class FatTree N/A topology_params N/A patch_panel_class BufferedPatchPanel N/A N/A SimulationConfig controllers topology_class topology_params patch_panel_class N/A test_migration N/A N/A self N/A N/A N/A simulation None N/A N/A N/A N/A N/A self write_migration_superlog N/A simulation_cfg N/A N/A self setup_migration_simulation N/A replayer N/A Replayer simulation_cfg N/A self tmp_migration_superlog N/A simulation N/A N/A replayer simulate N/A latest_switch N/A N/A N/A simulation topology get_switch 7 N/A latest_port N/A N/A latest_switch ports N/A 101 N/A N/A host interface N/A N/A N/A simulation topology get_connected_port latest_switch latest_port N/A N/A N/A self assertTrue N/A N/A type host Host N/A N/A N/A N/A os unlink N/A self tmp_migration_superlog N/A N/A simulation None N/A N/A N/A N/A simulation clean_up N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main