Hi, > May I keep the metadata mask value empty in this way ? > > inst = [parser.OFPInstructionWriteMetadata(metadata_value), > parser.OFPInstructionGotoTable(goto_table_id), ]
You can not keep the metadata mask value empty in this way. The OFPInstructionWriteMetadata class must be sure to set the value of the metadata_mask. If you want to register every time the value of the metadata, it is recommended that you set 0xffffffff the metadata_mask. Thanks, On 2016年02月05日 18:53, David Gabriel wrote: > Thanks Shinpei Muraoka > May I keep the metadata mask value empty in this way ? > > inst = [parser.OFPInstructionWriteMetadata(metadata_value), > parser.OFPInstructionGotoTable(goto_table_id), ] > > Thanks in advance. > > 2016-02-04 20:50 GMT-08:00 村岡真平 <[email protected] > <mailto:[email protected]>>: > > Hi, > > > I want to write the metadata and set the goto table for the same match > fields. Could you please confirm if the below code is fine ? > > Your code is fine. > > Thanks, > > > On 2016年02月05日 01:49, David Gabriel wrote: > > Dears > > > > I want to write the metadata and set the goto table for the same match > fields. Could you please confirm if the below code is fine ? > > > > ofproto = datapath.ofproto > > parser = datapath.ofproto_parser > > inst = [parser.OFPInstructionWriteMetadata(metadata_value, > metadata_mask), parser.OFPInstructionGotoTable(goto_table_id), ] > > mod = parser.OFPFlowMod(datapath=datapath, priority=priority, > match=match, instructions=inst,table_id=tab_id) > > > > datapath.send_msg(mod) > > > > > > Thanks in advance. > > > > > > > ------------------------------------------------------------------------------ > > Site24x7 APM Insight: Get Deep Visibility into Application Performance > > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > Monitor end-to-end web transactions and take corrective actions now > > Troubleshoot faster and improve end-user experience. Signup Now! > > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > > > > > > > > _______________________________________________ > > Ryu-devel mailing list > > [email protected] <mailto:[email protected]> > > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > > > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
