Re: [ovs-discuss] Mark copy of packet to controller in openvswitch

2013-06-20 Thread Ben Pfaff
Then write two actions, one to send the packet to the controller and the other to send it to the out port. On Fri, Jun 21, 2013 at 04:31:39AM +, Navneet Kaur wrote: > I want the openvswith to send two copy of packets. One copy to the > controller and other copy to the outport. > > Regards > N

Re: [ovs-discuss] Measure packet processing delay and goto_table action

2013-06-20 Thread Ben Pfaff
On Thu, Jun 20, 2013 at 03:22:40PM -0500, Xiaoye Sun wrote: > Another question is that I cannot add a flow table entry with > goto_tableaction with ovs-ofctl > add-flows command. when I type something like ovs-ofctl add-flow br0 > "table=0, in_port=1, actions=goto_table:1", the action of the entry

[ovs-discuss] Measure packet processing delay and goto_table action

2013-06-20 Thread Xiaoye Sun
Hi all, I am new in OVS. I am now using ovs1.10.0 to measure the packet processing delay in OpenFlow data plane. Does anyone knows which *.c file in openovswitch is used for OpenFlow data plane packet processing? For example, which function achieves packet matching? Another question is that I ca

Re: [ovs-discuss] Problems with remote connectivity to Ovsdb-Server

2013-06-20 Thread Ben Pfaff
On Thu, Jun 20, 2013 at 03:38:25PM -0400, Dmita Levy wrote: > It is running, yes, but shouldn't I be able to modify it with the command > ovsdb-server --remote=ptcp:6632 to get it to listen for remote > connections? No. (Why did you think so?) > It's just kinda stuck on the local linux socket co

Re: [ovs-discuss] Problems with remote connectivity to Ovsdb-Server

2013-06-20 Thread Ben Pfaff
On Thu, Jun 20, 2013 at 03:28:24PM -0400, Dmita Levy wrote: > I'm trying to enable remote connectivity to ovsdb-server so that I can use > JSON-RPC and modify the database. When I use the command ovsdb-server > --remote=ptcp:6632 I get the following error: > > I/O error: /etc/openvswitch/conf.db:

[ovs-discuss] Problems with remote connectivity to Ovsdb-Server

2013-06-20 Thread Dmita Levy
Hello, I'm trying to enable remote connectivity to ovsdb-server so that I can use JSON-RPC and modify the database. When I use the command ovsdb-server --remote=ptcp:6632 I get the following error: I/O error: /etc/openvswitch/conf.db: fail to lock lockfile (Resouce temporarily unavailable). No

Re: [ovs-discuss] multiple GRE with OVS

2013-06-20 Thread Ben Pfaff
On Thu, Jun 20, 2013 at 03:13:25PM -0300, othmane wrote: > I want to know if its possible to set multiple tunnels gre on the same link. Yes. Scott Lowe wrote an excellent article on GRE tunnels with Open vSwitch. It might be a good place to start: http://blog.scottlowe.org/2013/05/07/using-g

[ovs-discuss] multiple GRE with OVS

2013-06-20 Thread othmane
Hi all, I want to know if its possible to set multiple tunnels gre on the same link. Actually, I have two host: Host 1 with 2 VMs (VM1 and VM2) and OVS1, Host 2 with VM3, VM4 and OVS2. In OVS1 (10.180.121.41) I have three bridge : br0 attached to the physical interface eth0, br1 (192.168.10.2

Re: [ovs-discuss] dpif_class minimal requirement

2013-06-20 Thread Ben Pfaff
On Thu, Jun 20, 2013 at 05:44:03PM +0400, Igor Ryzhov wrote: > I want to implement my own kernel-space datapath for OVS. So I have to > write my own dpif-provider class. A already implemented some of it's > functions (open, close and all flow management functions) and I can work > with my datapath

Re: [ovs-discuss] problem with setting linux-htp qos over a gre/vxlan port in ovs

2013-06-20 Thread Ben Pfaff
On Thu, Jun 20, 2013 at 02:41:04PM +0300, Liane Lewin-Eytan wrote: > I'm trying to configure linux-htb qos queues on a virtual port of type gre, > which serves as a tunnel between 2 servers with ovs. QoS isn't going to work on tunnels, because Linux implements QoS on top of Linux network devices,

Re: [ovs-discuss] Mark copy of packet to controller in openvswitch

2013-06-20 Thread Ben Pfaff
On Thu, Jun 20, 2013 at 09:02:14AM +, Navneet Kaur wrote: > For one of the flows in the openvswitch; I want to mark copy of a > packets to the controller. I modified the NOX flow modification code > and set out port as OFPP_CONTROLLER, the packets reached controller, > I have checked. > > I co

[ovs-discuss] delay of OVS

2013-06-20 Thread Marin Krznarević
Hi, is it poossible to measure delay of ovs processing? e.g. if i have topology Host1-(eth1)SW1(eth2)--host2 is it possible somehow to measure time when datagram arrived on eth1 and when datagram left eth2... delay would be: t(eth2) - t(eth1). I'm using Floodlight controller and OVS v.

[ovs-discuss] dpif_class minimal requirement

2013-06-20 Thread Igor Ryzhov
Hello. I want to implement my own kernel-space datapath for OVS. So I have to write my own dpif-provider class. A already implemented some of it's functions (open, close and all flow management functions) and I can work with my datapath using ovs-dpctl. But now I want to work with my datapath usi

[ovs-discuss] Mark copy of packet to controller in openvswitch

2013-06-20 Thread Navneet Kaur
Hi, For one of the flows in the openvswitch; I want to mark copy of a packets to the controller. I modified the NOX flow modification code and set out port as OFPP_CONTROLLER, the packets reached controller, I have checked. I couldn't find a way in openflow 1.0 spec; to how to mark copy, so tr