Re: [ovs-discuss] newbie question about openvswitch_ioctl() function

2011-04-06 Thread Justin Pettit
The userspace (ovs-vswitchd) uses ioctls to communicate with the kernel module (openvswitch_mod.ko) to have it do things like add and remove flows. That's the function that handles the ioctl requests. The code in repository no longer uses ioctls, but instead uses netlink. We're planning to re

Re: [ovs-discuss] newbie question: main function of openvswitch

2011-04-06 Thread Justin Pettit
The README in the distribution is a good place to start, since it describes most of those programs. You can see it online here: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=README For the switch itself, you'll want to look at ovs-vswitchd.c. --Justin On Apr

[ovs-discuss] newbie question about openvswitch_ioctl() function

2011-04-06 Thread Tahir Rauf
Hi Can someone please explain the purpose of the function named "openvswitch_ioctl()" in datapath.c file. I have found no documentation about this function. Any help will be appreciated Regards ___ discuss mailing list discuss@openvswitch.org http://ope

[ovs-discuss] newbie question: main function of openvswitch

2011-04-06 Thread Tahir Rauf
Hi I am a newbie to openvswitch. As a starting point, I was looking at the 'actual' main function of openvswitch. I found around 35 main functions in the code (the most of them belongs to 'test'). But there are also many other main() functions, like in ovs-appctl.c, ovs-controller.c, ovs-discover.

Re: [ovs-discuss] HA with openVswitch

2011-04-06 Thread Ben Pfaff
On Tue, Apr 05, 2011 at 05:13:59PM +0200, Madko wrote: > We have the same needs about STP (virtualize network as real as it gets), to > simulate network topologies we'd like to use in production. The main > goal is to eradicate any SPOF. So is it possible to attach a VM with a > bonding linked to t

Re: [ovs-discuss] vLANS is not working on Gentoo x86_64

2011-04-06 Thread Jesse Gross
On Wed, Apr 6, 2011 at 9:23 AM, Ben Pfaff wrote: > On Wed, Apr 06, 2011 at 06:40:30PM +0800, benzwt benzwt wrote: >> In short, the vLANs is working only if the VMs are running on the same >> gentoo host. > > You may be running into a VLAN-related bug in some Linux network > drivers.  You can use t

Re: [ovs-discuss] About new features : pvid (non exclusive "access port" and "trunks ports"

2011-04-06 Thread Ben Pfaff
On Wed, Apr 06, 2011 at 11:16:27AM +0200, Benoit ML wrote: > I've seen on this mailing a subject about implementation of "pvid" in > openvswitch, any news about that ? OVS does not support private VLANs. I don't know of plans to add support. ___ discuss

Re: [ovs-discuss] vLANS is not working on Gentoo x86_64

2011-04-06 Thread Ben Pfaff
On Wed, Apr 06, 2011 at 06:40:30PM +0800, benzwt benzwt wrote: > In short, the vLANs is working only if the VMs are running on the same > gentoo host. You may be running into a VLAN-related bug in some Linux network drivers. You can use the ovs-vlan-test program to check for that. If that's the

[ovs-discuss] vLANS is not working on Gentoo x86_64

2011-04-06 Thread benzwt benzwt
hi openvswitch users, I have two servers, one running linux kernel 2.6.38(gentoo) and the other running ubuntu (10.10) I tried to setup a vLANs environment using latest snaphot (openvswitch-HEAD-19a87e3). I followed the steps written in Install.Linux, and everything was good on the both servers.

[ovs-discuss] About new features : pvid (non exclusive "access port" and "trunks ports"

2011-04-06 Thread Benoit ML
Hello, I've seen on this mailing a subject about implementation of "pvid" in openvswitch, any news about that ? In hardware switch, pvid is the ability for a specific port to have a port with two states : a default vlan (~= access port mode) and trunk mode. Regards, ___