I'm looking for the way to send packets using OpenFlow 1.3 protocol in SDN network in a topology with loop. My choice of controller is Ryu. To identify the hosts i'm catching ARP packets and to avoid floodstorm i'm using STP.
My problem is that when the path computed by my routing algorithm contains ports which are blocked/disabled by STP the connection can't be accomplished (hosts cannot ping each other).
After thinking it over i reached a conclusion that i need to "activate" disabled/blocked ports that are on my rounting path. But i cannot find any way to do that..
So now's the question: How can i achieve my solution? Is there any way to "activate" the ports in Ryu? Or if my solution is unachievable is there any other method i can use to solve this problem?