[ovs-discuss] 答复: Problem with designing the feature of muitiple-action

2012-07-23 Thread chenzh
->I can't find any clues about it from the newest openflow switch specification(version 1.1). Sorry I typed wrongly, Its v1.3. Plus do you mean the following description: 5.11: The semantics of the action list is identical to the OpenFlow 1.0 specication. The actions of an action list are executed

[ovs-discuss] 答复: Problem with designing the feature of muitiple-action

2012-07-23 Thread chenzh
>OpenFlow actions work this way anyhow. Is there any specification documents that directly point out the openflow action should work in this way, or just the ovs do? I can't find any clues about it from the newest openflow switch specification(version 1.1). I don't quite understand why action worki

Re: [ovs-discuss] Modifying OVS

2012-07-23 Thread Abhishek Chanda
Thanks for the clarification! Thanks On Mon, Jul 23, 2012 at 2:19 PM, Ben Pfaff wrote: > I think you want packet->size instead of sizeof *packet, but otherwise > that seems reasonable enough. > > If you plan to have the controller send packets back through the > switch as OpenFlow "packet-out" m

Re: [ovs-discuss] Modifying OVS

2012-07-23 Thread Ben Pfaff
I think you want packet->size instead of sizeof *packet, but otherwise that seems reasonable enough. If you plan to have the controller send packets back through the switch as OpenFlow "packet-out" messages, then you'll need some way to avoid looping those back out to the controller, too. On Mon,

Re: [ovs-discuss] Modifying OVS

2012-07-23 Thread Abhishek Chanda
Hi Ben, Thanks for the reply. I do not have a tight performance constraint for now. So, I think I will work with the userspace datapath. I think I need to modify dp_netdev_execute_actions in lib/dpif-netdev.c and add a condition like: if (sizeof(*packet) > threshold) dp_netdev_output_port(dp,

Re: [ovs-discuss] Modifying OVS

2012-07-23 Thread Ben Pfaff
On Mon, Jul 23, 2012 at 11:02:50AM -0700, Abhishek Chanda wrote: > I have a requirement where I need to send all packets beyond a > specific size to the controller, I am pretty sure that this is very > specific to my case a not a general scenario. I am trying to modify > OVS to do this. I noticed t

[ovs-discuss] Modifying OVS

2012-07-23 Thread Abhishek Chanda
Hi all, I have a requirement where I need to send all packets beyond a specific size to the controller, I am pretty sure that this is very specific to my case a not a general scenario. I am trying to modify OVS to do this. I noticed that the vswicthd maintains all net devices, so I think I need to

Re: [ovs-discuss] [OVS operation] how to set GRE tunnel ID in OVS?

2012-07-23 Thread Ben Pfaff
You posted the same question already. Once is enough. On Mon, Jul 23, 2012 at 11:13:32AM -0400, Wenfei Wu wrote: > Hi, all > I am confused about how to set GRE tunnel ID in OVS. > I want to do this: I have two servers A and B which have OVS installed. > I want to set two GRE tunnels with the

[ovs-discuss] How to set tunnel for GRE in OVS?

2012-07-23 Thread Wenfei Wu
Hi, all I am confused about how to set GRE tunnel ID in OVS. I want to do this: I have two servers A and B which have OVS installed. I want to set two GRE tunnels with the same source and destination. But they should have different tunnel IDs, so that in the intermediate switches I can split t

Re: [ovs-discuss] Problem with designing the feature of muitiple-action

2012-07-23 Thread Ben Pfaff
On Mon, Jul 23, 2012 at 04:29:26PM +0800, chenzh wrote: > In function do_execute_actions(action.c line 370) > /* Execute a list of actions against 'skb'. */ > static int do_execute_actions(struct datapath *dp, struct sk_buff *skb, > const struct nlattr *attr, int len, bool kee

Re: [ovs-discuss] How to enable Inter Vlan in openvswitch

2012-07-23 Thread Ben Pfaff
On Mon, Jul 23, 2012 at 04:09:19PM +0530, ecfgijn wrote: > How to enable Inter Vlan in openvswitch, Kindly the my problem > description below: > > 1: I am using KVM + openvswitch , the VM which is under Openvswitch > is not able to access the application outside the openvswitch. i > have tried bel

[ovs-discuss] [OVS operation] how to set GRE tunnel ID in OVS?

2012-07-23 Thread Wenfei Wu
Hi, all I am confused about how to set GRE tunnel ID in OVS. I want to do this: I have two servers A and B which have OVS installed. I want to set two GRE tunnels with the same source and destination. But they should have different tunnel IDs, so that in the intermediate switches I can split t

[ovs-discuss] How to enable Inter Vlan in openvswitch

2012-07-23 Thread ecfgijn
Hi All , How to enable Inter Vlan in openvswitch, Kindly the my problem description below: 1: I am using KVM + openvswitch , the VM which is under Openvswitch is not able to access the application outside the openvswitch. i have tried below commands ovs-vsctl add-br br0 ovs-vsctl add-bond

[ovs-discuss] Problem with designing the feature of muitiple-action

2012-07-23 Thread chenzh
Hi: I'm a new member of the ovs-discuss mailist. I'm now designing the openflow multiple action feature for our products. I have got some questions while reading some of the ovs codes: In function do_execute_actions(action.c line 370) /* Execute a list of actions against 'skb'. */ static int