خرید بک لینک

Vote count: 0

I want to know when a switch removes any flow rule after hard_timeout is passed. I know ofp_flow_mod has an attribute flags where I can test OFPFF_SEND_FLOW_REM. I made the following in my controller:

def handle_flowRemoval(self, event):
    msg = event.parsed
    if msg.flags == of.OFPFF_SEND_FLOW_REM:
        print ("The switch %s has raised the removal event!" % event.dpid)

In fact it does not trigger this method after hard_timeout is expired. I don't know why. Can anyone suggest how to fix it.

Tank you

asked 40 secs ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 23 فروردين 1395 ساعت: 7:55

صفحه بندی