[Ryu-devel] Create ICMP PKT in the Controller

2016-02-04 Thread Anees Mohsin Hadi Al-Najjar
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): msg = ev.msg datapath = msg.datapath ofproto = datapath.ofproto parser = datapa

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

Re: [Ryu-devel] How to send packet on backup link

2016-02-04 Thread Minoru TAKAHASHI
Hi, > The updated path is not reflected properly in shortest_path when link goes > down. I think that Ryu does not detect the event of EventLinkDelete. And, I guess that you don't use "--observe-links" command line option of ryu-manager. note: --observe-links observe link discovery eve

[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

[Ryu-devel] How to send packet on backup link

2016-02-04 Thread Osman Titu
Hi I am using mininet and RYU controller. For my project I need to forward packet through backup link when forwarding link goes down. I am using NetworkX and shortest_path for path calculation. I have added EventLinkAdd and EventLinkDelete to update the graph when link goes down. I can see the