Re: [ovs-discuss] which part of OVS code deals with rule selection and forwarding of packets

2014-10-24 Thread tim huang
Hi, Because I didn't read that part of OVS, I don't know exactly time for the cache. The workflow is that it will always lookup the cache in the kernel space. If it can't hit any cache, it will be forwarded to the user space. Eventually, it will be handled by handle_upcalls() of ofproto.c. On F

Re: [ovs-discuss] which part of OVS code deals with rule selection and forwarding of packets

2014-10-24 Thread Padma Jayasankar
HI, Thanks for the information. I read the artcle. As i am new to OVS ,still have some doubts. I am using POX controller and Mininet along with OVS. As per my understanding, when i give a ping comand in Mininet,as this will be the first packet of that flow, there won't be any cache for this flow.

[ovs-discuss] OpenFlow MPLS

2014-10-24 Thread vinay kumar
Hi, I am trying to implement a MPLS network for my project. I am doing this using openvswitch 2.0.2. But i am facing an error when i try to link using -O OpenFlow13. It gives me the error : 2014-10-25T02:07:25Z|1|vconn|WARN|unix:/var/run/openvswitch/br0.mgmt: version negotiation failed (we su

Re: [ovs-discuss] packet drops during STP learning

2014-10-24 Thread Shridhar Sahukar
Could someone pls help with this? On Thursday, October 23, 2014, Shridhar Sahukar < shridhar.sahu...@cyaninc.com> wrote: > Hi, > > In our setup, we have a bunch of lxcs connected through a bridge. We have > enabled STP on the bridge as there is a possibility of loop formation when > we add a GRE

Re: [ovs-discuss] which part of OVS code deals with rule selection and forwarding of packets

2014-10-24 Thread tim huang
It depends if there is the cache in the kernel space. if there is, the packet will be forwarded within kernel space. If not, it will also need the program in the user space. you can take a look at the article which helped me a lot. http://wangcong.org/blog/archives/2131 On Fri, Oct 24, 2014 at 3

Re: [ovs-discuss] bug?

2014-10-24 Thread Ben Pfaff
If the tap exists when you start OVS, then I'd expect it to work without removing and re-adding. OVS doesn't currently notice automatically when a device that was missing when it started up appears. That would be a useful contribution, though, and I'd happily accept a good implementation of such

Re: [ovs-discuss] bug?

2014-10-24 Thread westlake
when there's a reboot (ovs-db retains it's settings), I have to manually do, ovs-vsctl del-port , then ovs-vsctl add-port (the "ip tuntap> command is used to create tuntaps on startup) On 24/10/14 03:27 PM, Ben Pfaff wrote: On Fri, Oct 24, 2014 at 03:04:04PM -0400, westlake wrote: there

Re: [ovs-discuss] bug?

2014-10-24 Thread Ben Pfaff
On Fri, Oct 24, 2014 at 03:04:04PM -0400, westlake wrote: > there an option with ovs-vsctl to have tap devices stored to > reference the same as the actual? (error: "could not open network > device tap0nic (No such device)) ovs-vstctl show has this > error message, but if I delete the port tap (w

[ovs-discuss] which part of OVS code deals with rule selection and forwarding of packets

2014-10-24 Thread Padma Jayasankar
Hi, In OVS, when a packet arrives(when i give a ping requrst in mininet), which part of the code handles the incoming packet. (ie) which part finds the matching rule and forwards the packet to next switch. Thanks and regards, Padma V ___ discuss mailin

[ovs-discuss] bug?

2014-10-24 Thread westlake
hi, there an option with ovs-vsctl to have tap devices stored to reference the same as the actual? (error: "could not open network device tap0nic (No such device)) ovs-vstctl show has this error message, but if I delete the port tap (with ovs-vsctl del-port..) and then re-add it then this er

Re: [ovs-discuss] Question

2014-10-24 Thread Ben Pfaff
Please don't drop the list. On Thu, Oct 23, 2014 at 09:27:31AM +0800, yue.yi...@embedway.com wrote: > My logs are in aennx, and here are my steps: The errors in your ovs-vswitchd.log suggest that your database version doesn't match your Open vSwitch version. __