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]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to