[Ryu-devel] My implementation stuck after 6 successful pings when I tried to modify the ipv4_dst

2014-01-23 Thread Max Lin
Hi, I was working on multicasting implementation. The scenario was host 1 multicast packets to h2 and h3. So my switch will change ipv4_dst = 10.0.0.2 and 10.0.0.3 respectively and output to h2(port 2) and h3(port 3). I use group table to do this. I put my initialization code under Event EventOFP

[Ryu-devel] Unknown MAC src and dst address in Packet_in event

2014-01-23 Thread Max Lin
Hi all, I use mininet to simulate the topology, and I have 1 switch s1, 3 hosts h1 h2 h3, and use CPqD soft switch. The cmd I am using is : sudo mn --topo single,3 --mac --switch user --controller remote But when I launch the my controller code, I saw there are unknown MAC addresses packet wh

[Ryu-devel] openflow 1.3 where should I put my initialization codes ?

2014-01-21 Thread Max Lin
I want to add some flow entries upon connecting to controller without triggering packet_in event? Wheres the best starting place to put my initialization code? Can I use (EventOFPSwitchFeatures, CONFIG_DISPATCHER) to do the starting code? thanks ---