Hi, On 2014年09月09日 08:27, Zubair Hafeez wrote: > Hello everyone > > I have a query regarding my looped topology. My network topology consists of > three switches connected in a loop. I want to have a loop free topology with > out using STP protocol 802.1d. I have calculated the spanning tree in the > following way: > > Network topology discovery through LLDP > Built Minimum spanning tree on the discovered network topology > Flow entries installed on DPIDs,port of the spanning tree path > > However, the ARP packet is still flooded in the loop. In order to stop the > arp flooding i want to disable switch links port at the startup and than > after i have calculated the spanning tree i will reactivate some ports. so my > question is > > 1) How can i disable switch port to stop flooding of arp. Is it possible to > do during OFPSwitchFeatures by setting switch ports flag to > of.OFPPC_NO_FLOOD ? how? > > Or may be Through send_port_mod message? > > 2) Can i add same identical flow entries having ONLY different output > ports(not using action bucket)
The spanning tree App in Ryu-Book may be helpful for your Apps. (http://osrg.github.io/ryu-book/en/html/spanning_tree.html) - simple_switch_stp_13.py - ryu/lib/stplib.py This App set port_config and flow entry like as follows. - port_config set OFPPC_NO_FWD and OFPPC_NO_PACKET_IN port configuration to Blocking Port by using OFPPortMod messages. - flow entry install flow entry to Non-Root Bridge which has Blocking Port. e.g.) { "match": { "in_port": BLOCKING_PORT_NUM }, "actions": [], "priority": LOWER_THAN_TRANSMIT_STP_BPDU(or LLDP) } > > Regards > > Zubair. > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
