On Mar 31, 2013, at 2:30 AM, Hong Wayne wrote:

> I want to ask how to determine the orders for the multiple components be 
> executed on POX?
> 
> For example, If I want to let test2 be executed before test1, how can I do 
> that?
> 
> ./pox.py forwarding.l2_learning openflow.of_01 --address=xxx --port=6633 
> log.level --DEBUG test1 test2 --interval=15

What do you mean by "be executed"?

If you mean the order that their launch() methods are called, it's pretty much 
determined by their order on the commandline.

If you mean the order their event handlers are invoked, it's only defined when 
they set priorities for their listeners (see revent's addListeners() 
documentation).

If you mean something else, maybe you can clarify.

-- Murphy

Reply via email to