ryu
ryu copied to clipboard
Adding Spanning Tree Protocol (STP) in my_controller.py
Hello ryu team.
I want to ask if it's possible add the stp in my customized ryu controller? I saw the simple_switch_stp_13.py and found that there were some different with simple_switch_13.py
In _packet_in_handler function, the stp oriented stplib.EventPacketIn from stplib.py and simple_switch_13 oriented ofp_event.EventOFPPacketIn from ofp_event.py
But I saw input variable were also ev in openflow.
I had tried move the _packet_in_handler from simple_switch_stp_13.py to my controller but it occurred some problem that there were two blocked port in my topology. So I posed this issue, wanna to know whether someone used this case.
My object is to use STP to solve the ARP storm in my cycle topology, and hope the flow dropped is dedicated for ARP packet not all packet in STP