> hi, > > currently experimenter OXM support in Ryu is somehow specific > to EXT-256. > > with the patch set i posted last week, it should be trivial > to add your OXM. > see http://sourceforge.net/p/ryu/mailman/message/33236847/ for example. > > YAMAMOTO Takashi > >> Hi All, >> >> I am trying to write a RYU script to send an experimenter Match >> field in the Flow Mod message. I was referring to >> "simple_switch_13.py" and trying to figure out how i can change the >> add_flow function so that the "match" would contain the experimenter >> Match field as well. Was not able to do much. Can someone please post >> a sample code snippet or point to one which might be already existing. >> >> Following is the Experimenter Match Field structure i am trying to encode: >> >> oxm_class=OFPXMC_EXPERIMENTER (16-bit) >> oxm_field = 1 (7-bit) >> has_mask = 1 (1-bit) >> oxm_length = 2 (8-bit)
oxm_length should include experimenter_id, value and mask. so 4 + 2 + 2 = 8. >> experimenter_id = 0x00001234 (16-bit) 32-bit. >> Match value (16-bit) >> Match Mask (16-bit) >> >> Thanks, >> Nitish ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
