On Mon, Dec 01, 2014 at 08:19:00AM +0000, Rucha Abhyankar wrote:
> 
> Hello Everyone,
> 
> I am using Ubuntu version 13.10.
> Kernel version: 
> rucha@rucha:~$ uname -a
> Linux rucha 3.11.0-26-generic #45-Ubuntu SMP Tue Jul 15 04:04:15 UTC 2014 
> i686 i686 i686 GNU/Linux
> 
> I have installed Openvswitch version 2.1.0. After modifying the file
> "datapath.c" and recompiling the kernel module, the bridge is not
> visible in the output of "ifconfig" command.

Yes, because when you removed the openvswitch module, the bridge
devices is deleted.  When you load the openvswitch module again,
the module has no knowledge of the devices to be created.

It works like vxlan/vlan/veth/ or any other software device driver.

> After "ifup" command, the bridge is visible in the result of
> "ifconfig" command, but still connectivity through bridge is not
> achieved. I have to restart the system every time I change and
> compile the kernel module.

'ifup' will try to bring the device back, but since it probably
still exists in your DB, the script may assume that the device
is there and do a partial initialization.

> how can I fix this problem?

You have to stop the services before replacing the module.
I.e. stop network and/or openvswitch, then replace the module,
then start network and/or openvswitch.

fbl
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to