If a register a function to receive packet-in, i found the function maybe
be called before handler_datapath which is not as expected, because the
init function in the handler_datapath is not finish. So where should i put
my init function ?
On Thu, Sep 24, 2015 at 5:55 PM, Vinllen Chen <[email protected]> wrote:
> Hi, All:
>
> I want to call some funtions once switch connect to controller, should i
> choose ofp_event.EventOFPSwitchFeatures or dpset.EventDP ?
>
> for example:
>
> @set_ev_cls(ofp_event.EventOFPSwitchFeatures, CONFIG_DISPATCHER)
> def switch_features_handler(self, ev):
>
> @set_ev_cls(dpset.EventDP, dpset.DPSET_EV_DISPATCHER)
> def handler_datapath(self, ev):
>
>
> --
> Best Regards,
> Vinllen
>
--
Best Regards,
Vinllen
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel