Hello, I'm trying to match on core.NW_TOS but that doesn't seem to work.
Below is the snippet of code that I'm trying:

flow = {}
flow[core.NW_TOS] = 0x10
actions = [[openflow.OFPAT_SET_DL_DST, "00:22:fa:62:4a:de"],
[openflow.OFPAT_SET_NW_DST, "192.168.1.4"],[openflow.OFPAT_OUTPUT, [0,
self.PortMaping[dpid, "00:22:fa:62:4a:de"]]]]
self.install_datapath_flow(dpid, flow, 15, 0, actions, bufid,
openflow.OFP_DEFAULT_PRIORITY, inport, buf)

When I check the flow it installed with dpctl I see the following:

  cookie=0, duration_sec=1767s, duration_nsec=148000000s, table_id=1,
priority=32768, n_packets=30290, n_bytes=2179728,
idle_timeout=15,hard_timeout=0,actions=mod_dl_dst:00:22:fa:62:4a:de,mod_nw_dst:192.168
.1.4,output:2  (No ToS matching here ? )


Am I doing something wrong?

Thanks,

Aaron


-- 
Aaron O. Rosen
Masters Student - Network Communication
306B Fluor Daniel
843.425.9777
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to