Hi all,

I'm working on simple_switch.py file, which uses OpenFlow 1.0 to
communicate with OVS switch.
I want to subscribe to FlowRemoved event.

    @set_ev_cls(ofp_event.EventOFPFlowRemoved, MAIN_DISPATCHER)
    def flow_removal_handler(self, ev):
        msg = ev.msg
        match = msg.match
        reason = msg.reason
        print "flow_removed_handler"

The flow is being removed by the idle_time, and I can see that it's
happening on the switch.

But I can't see the printed message ("flow_removed_handler") on the
controller.

Do I need something else other than these lines in my simple_switch.py file?

Thank you,

-- 
Sincerely,
Garegin Grigoryan
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to