<div dir="ltr">Hi All,<div><br></div><div>I am trying to set a flow that matches based on the nw_tos field of the match object. But when I dump the flows on the switch it has nw_tos field set as 0.</div><div>I am using OpenvSwitch 1.10 on Mininet 2.0</div>
<div>The code snippet I am using is:-<br clear="all"><div><br></div><div>msg = of.ofp_flow_mod()<br></div><div><div>#msg.match.dl_dst = packet.dst</div><div>msg.match.dl_type = ethernet.IP_TYPE</div><div>msg.match.nw_tos =  1;</div>
</div><div><br></div><div>Even after installing a flow with such a match the nw_tos is still set to zero.</div><div><br></div><div><div>*** s1 ------------------------------------------------------------------------</div>
<div>NXST_FLOW reply (xid=0x4):</div><div> cookie=0x0, duration=13.677s, table=0, n_packets=1, n_bytes=98, idle_age=12, ip,dl_dst=d2:35:53:03:83:bc,nw_tos=0 actions=output:1</div><div> cookie=0x0, duration=6.652s, table=0, n_packets=3, n_bytes=294, idle_age=3, ip,dl_dst=da:79:78:e1:7c:4f,nw_tos=0 actions=output:2</div>
</div><div><br></div><div><br></div><div>How should I set the nw_tos field in ofp_match object?</div>-- <br>-Sameer
</div></div>