sdn - How can i "activate" the port disabled/blocked by STP using OpenFlow and Ryu controller, so i could forward packets through it? -


i'm looking way send packets using openflow 1.3 protocol in sdn network in topology loop. choice of controller ryu. identify hosts i'm catching arp packets , avoid floodstorm i'm using stp.

my problem when path computed routing algorithm contains ports blocked/disabled stp connection can't accomplished (hosts cannot ping each other).

after thinking on reached conclusion need "activate" disabled/blocked ports on rounting path. cannot find way that..

so now's question: how can achieve solution? there way "activate" ports in ryu? or if solution unachievable there other method can use solve problem?

to activate port send ofp_port_mod message switch.

however, disable stp, opening ports may part of loop.

i think better way of doing might routing algorithm check if port disabled, sending ofpmp_port_description message switch , reading config field in reply. can treat ports being down , compute different path (although don't know if that's feasible in case.)

having said that, if i'm reading openflow specs (section 7.2.1 port structures) correctly, should still able route through blocked port, can't flood through it. different disabled port.


Comments