Skip to content

Commit

Permalink
cms/openstack: Fix router lsp options.
Browse files Browse the repository at this point in the history
The current code produces options like:
'options:exclude-lb-vips-from-garp=true,'
'options:nat-addresses=router,'
'options:router-port=lrp-NNN'

Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com>
  • Loading branch information
fnordahl committed Oct 31, 2023
1 parent 3ed6f0d commit 5466797
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ovn-tester/cms/openstack/openstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,9 +616,9 @@ def _add_router_port(

if is_gw:
lsp_options = (
"exclude-lb-vips-from-garp=true, "
"nat-addresses=router, "
f"router-port={router_port_name}"
"exclude-lb-vips-from-garp=true "
"nat-addresses=router "
f"router-port={router_port_name} "
)
self.nbctl.ls_port_set_set_options(ls_port, lsp_options)

Expand Down

0 comments on commit 5466797

Please sign in to comment.