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] Modifying an entry by adding one action

2016-02-07 Thread Yusuke Iwase
Hi, On 2016年02月06日 01:58, David Gabriel wrote: > Dears > > Is it possible to update/modify one entry by adding new action ? > Please tell me the how to ? AFAIK, it is NOT possible. OpenFlow Spec 1.3.5 says: --- 6.4 Flow Table Modification Messages ... For modify requests (OFPFC_MODIFY or O

Re: [Ryu-devel] send to many ports - and not OFPP_FLOOD

2016-02-07 Thread Minoru TAKAHASHI
Hi David, > Is it possible to do it this way or there is other solution ? > > actions = [parser.OFPActionOutput(out_port1), > parser.OFPActionOutput(out_port2), > parser.OFPActionOutput(out_port3)] I think the above code will works well. It didn't work well in you

Re: [Ryu-devel] Create ICMP PKT in the Controller

2016-02-07 Thread Yusuke Iwase
Hi, On 2016年02月05日 15:18, Anees Mohsin Hadi Al-Najjar wrote: > Dear all, > > > > I would like to CRAFT NOT REDIRECT the ICMP packet from the Ryu controller. > > > > I did that: > > “ > > @set_ev_cls(ofp_event.EventOFPPacketIn, MAIN_DISPATCHER) > >def packet_in_handler(self, ev): >