Re: [Ryu-devel] write metadata and goto table for the same entry

2016-02-08 Thread David Gabriel
Thanks Shinpei, this is what I should use 0x; one for all bits. 2016-02-08 3:09 GMT+01:00 Shinpei Muraoka : > Hi, > > > May I keep the metadata mask value empty in this way ? > > > > inst = [parser.OFPInstructionWriteMetadata(metadata_value), > parser.OFPInstructionGotoTable(goto_table_id

Re: [Ryu-devel] write metadata and goto table for the same entry

2016-02-07 Thread Shinpei Muraoka
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 t

Re: [Ryu-devel] write metadata and goto table for the same entry

2016-02-05 Thread David Gabriel
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 村岡真平 : > Hi, > > > I want to write the metadata and set the go

Re: [Ryu-devel] write metadata and goto table for the same entry

2016-02-04 Thread 村岡真平
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

[Ryu-devel] write metadata and goto table for the same entry

2016-02-04 Thread David Gabriel
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.OFPInstructionGot