diff --git a/main.py b/main.py index 0fa495c2..04e55584 100755 --- a/main.py +++ b/main.py @@ -34,7 +34,8 @@ emit_event, get_vlan_tags_and_masks, map_evc_event_content, merge_flow_dicts, prepare_delete_flow, - send_flow_mods_event) + send_flow_mods_event, + send_flow_mods_http) # pylint: disable=too-many-public-methods @@ -848,7 +849,7 @@ def execute_swap_to_failover(self, event_contents, install_flows): self.controller, "failover_link_down", content=deepcopy(event_contents) ) - send_flow_mods_event( + send_flow_mods_http( self.controller, install_flows, "install" @@ -877,7 +878,7 @@ def execute_clear_old_path( delete_flows ): """Process changes needed to commit clearing the old path""" - send_flow_mods_event( + send_flow_mods_http( self.controller, delete_flows, 'delete' @@ -911,7 +912,7 @@ def prepare_undeploy(self, evc: EVC): def execute_undeploy(self, evcs: list[EVC], remove_flows): """Process changes needed to commit an undeploy""" - send_flow_mods_event( + send_flow_mods_http( self.controller, remove_flows, 'delete'