<event name="Datapath_join_event">
      <filter>circsw</filter>
      <filter>marie</filter>
      <filter>eventlogger</filter>
      <filter>dhcp</filter>
      <filter>authenticator</filter>
    </event>

On Jun 19, 2010, at 7:16 PM, kk yap wrote:

What is your order on nox.xml?

Regards
KK

On 19 June 2010 18:59, Saurav Das <[email protected]> wrote:
Hello,

I am trying to order the execution of event handlers by changing nox.xml. Specifically I made the top-most filter for datapath_join_event to be my
component circsw.
The discovery module isn't even on that list, so at least it should get it
after I do.
The idea is that for some datapath_joins, my component will STOP the
propagation, so discovery should never see it.
I have logs in both modules, just to see if they receive it or not.

Here is the funny thing:

If i launch from command line ./nox_core -v -i ptcp:6655 discovery circsw,
then I see both logs
or if I add discovery as a dependency to circsw/meta.xml, and launch just
circsw from the command line, I still see both log messages/

But but if I reverse the order of the two components in the command line(and
remove the dependency of circsw on discovery),
then I don't get the discovery log message, which is the correct behavior.

I don't think we should depend on command line ordering to get correct
behavior.

What am I doing wrong?

Thanks
Saurav

_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Saurav Das
PhD Candidate
Electrical Engineering
Stanford University
(W) 650 724 3409


_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to