[ovs-discuss] replace the openvswitch.ko without losing the bridge interface's configuration

Numan Siddique nusiddiq at redhat.com
Wed Mar 20 11:01:56 UTC 2019


On Wed, Mar 20, 2019 at 12:35 PM pei Jikui <jkpei at hotmail.com> wrote:

> When I replace the openvswitch.ko with a new modified one, the
> configuration on the bridge such as br0 is lost.  I need to reconfigure
> its ip address and bring it up again manually.
>

I think you can use network scripts and restart your network to configure
back the br0's ip address whenever you reload openvswitch.ko


Thanks
Numan


> Is there any alternative that we could replace the openvswitch.ko without
> losing the bridge interfaces’ configuration?
>
> The steps I used to replace the openvswitch on the centos.
>
> 1)    Compile the openvswitch
>
> make -j `nproc`
>
> make install
>
> 2)    Replace the openvswitch.ko
>
> ovs-dpctl del-dp system at ovs-system
>
> rmmod openvswitch
>
> insmod ./datapath/linux/openvswitch.ko
>
> ovs-ctl restart
>
>
> Thanks.
>
>
> Jikui
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20190320/8375ac3c/attachment.html>


More information about the discuss mailing list