Re: [ovs-discuss] packet_in message does not include the whole OFPMatch

2016-05-14 Thread Ben Pfaff
OVS does provide metadata. You are not seeing it because you're setting metadata after sending the packet. On Fri, May 13, 2016 at 07:10:06PM +0300, Alexander Beetle wrote: > > > Got it. Thank you. > OFPXMT_OFB_METADATA would also work for my goal. But tests show that metadata > is not sent as

Re: [ovs-discuss] packet_in message does not include the whole OFPMatch

2016-05-13 Thread Alexander Beetle
Got it. Thank you. OFPXMT_OFB_METADATA would also work for my goal. But tests show that metadata is not sent as well.  On switch: $ sudo ovs-ofctl -O OpenFlow13 dump-flows s2 OFPST_FLOW reply (OF1.3) (xid=0x2): cookie=0x0, duration=12.958s, table=0, n_packets=0, n_bytes=0, priority=1,udp,tp_ds

Re: [ovs-discuss] packet_in message does not include the whole OFPMatch

2016-05-13 Thread Ben Pfaff
On Fri, May 13, 2016 at 12:19:34PM +0300, Alexander Beetle wrote: > Running OF1.3, I set match condition to OVS with certain flow specification > and  an instruction to send that flow to a controller.  > > $ sudo ovs-ofctl dump-flows s2 > NXST_FLOW reply (xid=0x4): > cookie=0x0, duration=22.075s,

[ovs-discuss] packet_in message does not include the whole OFPMatch

2016-05-13 Thread Alexander Beetle
Hello, Running OF1.3, I set match condition to OVS with certain flow specification and  an instruction to send that flow to a controller.  $ sudo ovs-ofctl dump-flows s2 NXST_FLOW reply (xid=0x4): cookie=0x0, duration=22.075s, table=0, n_packets=0, n_bytes=0, idle_age=22, priority=1,udp,tp_ds