[ovs-discuss] OVN vxlan tutorial/documentation

Numan Siddique numans at ovn.org
Thu Apr 16 06:40:26 UTC 2020


On Thu, Apr 16, 2020 at 1:01 AM Brendan Doyle <brendan.doyle at oracle.com> wrote:
>
>
>
> Thanks, I was hoping for something a bit more intuitive, but I have a fundamental question
> I usually start the ovsdb-server  and create the OVS databases using 'ovs-ctl start' but this seems
> to only create the default schema and start the ovsdb-server with that schema, there does not
> seem to be an option in 'ovs-ctl' to create and start the ovsdb-server with the additional vtep schema
> so I am guessing that I have to stop  ovsdb-server and  manually create the vtep schema, and then
> manually start  ovsdb-server connecting it to both schemas right.

I guess that's the only way to do if ovs-ctl doesn't provide the
option to configure
2 schema files. And looks like it doesn't.


>
> Then is there a recommended way to stop  ovsdb-server and restart it without loosing my
> config.  The ovs-ctl man page says:

ovs-ctl start by default starts ovsdb-server and ovs-vswitchd. If you
want to only start/stop ovsdb-server
you can do so by passing '--no-ovs-vswitchd'. Please see this for information -
https://github.com/openvswitch/ovs/blob/master/rhel/usr_lib_systemd_system_ovsdb-server.service#L18

You can also stop ovsdb-server directly using ovs-appctl
 - ovs-appctl -t ovsdb-server exit

Thanks
Numan



>
> "The restart command performs a stop followed by a start command.  The command can take the
>        same options as that of the start command. In addition, it  saves  and  restores  OpenFlow
>        flows for each individual bridge."
>
> Brendan
>
>
> On 15/04/2020 16:19, Numan Siddique wrote:
>
> On Mon, Apr 13, 2020 at 5:59 PM Brendan Doyle <brendan.doyle at oracle.com> wrote:
>
> HI,
>
> I was wondering if anybody could point me to a "how to guide"
> in setting up  OVN VXLAN. Basically I want to exit my OVN logical
> network through a VXLAN tunnel with the remote VTEP being
> in a physical switch. How do I get off the OVN logical  network and
> into a VNI.
>
> I've come across OVN/OVS docs that talk about the ovn-controller-vtep
> vtep schema and vtep-ctl but no how to type of tutorial.
>
> Hi Brendan,
>
> I'm not sure if there is any tutorial. But if you want to setup you
> can definitely
> refer the ovn-controller-vtep test cases - [1].
>
> [1] -  https://github.com/ovn-org/ovn/blob/master/tests/ovn-controller-vtep.at#L14
>         https://github.com/ovn-org/ovn/blob/master/tutorial/ovs-sandbox#L627
>
> Thanks
> Numan
>
> Thanks.
>
> Brendan
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


More information about the discuss mailing list