Skip to content

Commit

Permalink
doc: Describe how to manually connect the MicroOVN northbound connect…
Browse files Browse the repository at this point in the history
…ion to LXD

When a user decides to deploy OVN through a MicroOVN deployment, it is not clearly explained how to connect
LXD and MicroOVN. The only missing info was how to correctly setup the northbound connection:

`lxc config set network.ovn.northbound_connection <ovn-northd-nb-db>`

With `<ovn-northd-nb-db>` that MUST use the `ssl:<microovn_node_ip>:6641`. Passing a UNIX socket
targeting `ovnnb_db.sock` inside the MicroOVN snap will produce certificate errors so we MUSN'T use the UNIX notation.

Signed-off-by: Gabriel Mougard <[email protected]>
  • Loading branch information
gabrielmougard committed Oct 31, 2024
1 parent cc37bfd commit fea89eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/howto/network_ovn_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ See the linked YouTube video for the complete tutorial using four machines.
lxc config set network.ovn.northbound_connection <ovn-northd-nb-db>
```{note}
If you are using a MicroOVN deployment, you can pass the value of the MicroOVN node IP address you want target prefixed with `ssl:` and suffixed with the `:6641` port number that should target the OVN central service within MicroOVN.
```

1. Finally, create the actual OVN network (on the first machine):

lxc network create my-ovn --type=ovn
Expand Down

0 comments on commit fea89eb

Please sign in to comment.