[ovs-discuss] replace the openvswitch.ko without losing the bridge interface's configuration
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
> 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
> discuss mailing list
> discuss at openvswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss