Hello,

I'm trying to change the  ToS bits in IP packets but nox is telling me
invalid action type 8.

Here is the blurb of code that I'm trying:

attrs = extract_flow(packet)
outport = self.data[dpid, mac_to_str(packet.dst)]
actions = [[openflow.OFPAT_SET_NW_TOS, "44"], [ openflow.OFPAT_OUTPUT, [0,
outport]]]
self.install_datapath_flow( dpid , attrs, 5, 0, actions, bufid,
openflow.OFP_DEFAULT_PRIORITY, inport, packet)

Could anyone point out where I'm going 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