Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1984,7 +1984,7 @@ def set_gateway_mtu(self, context, prov_net, txn=None):
lrp_name = utils.ovn_lrouter_port_name(port['id'])
options = self._gen_router_port_options(port, prov_net)
commands.append(self._nb_idl.update_lrouter_port(
lrp_name, if_exists=True, **options))
lrp_name, if_exists=True, options=options))
self._transaction(commands, txn=txn)

def _check_network_changes_in_ha_chassis_groups(self, context, lswitch,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2485,7 +2485,7 @@ def _test_update_network_fragmentation(self, new_mtu, expected_opts, grps):

lrp_name = ovn_utils.ovn_lrouter_port_name(port['port']['id'])
self.nb_ovn.update_lrouter_port.assert_called_once_with(
lrp_name, if_exists=True, **expected_opts)
lrp_name, if_exists=True, options=expected_opts)

def test_update_network_need_to_frag_enabled(self):
ovn_conf.cfg.CONF.set_override('ovn_emit_need_to_frag', True,
Expand Down