Dear community,

I have the weirdest issue with my app today and I cannot seem to find a
workaround or fix.
My app is behaving differently with different filenames. When I rename the
app as "ryu_shim.py" (or any name different from the below mentioned case)
the following is printed in the command line:

loading app ryu_shim.py
loading app ryu.controller.ofp_handler
instantiating app ryu_shim.py of RYUClient
RYU Client initiated
instantiating app ryu.controller.ofp_handler of OFPHandler

(RYU Client initiated is a message printed by the app in question). However
when I rename the app as "ryu_shim_server.py", this sequence changes
slightly:

loading app ryu_shim_server.py
loading app ryu.controller.ofp_handler
instantiating app ryu.controller.ofp_handler of OFPHandler
instantiating app ryu_shim_server.py of RYUClient
RYU Client initiated

My app seems to be working only if the OFPHandler is initiated first and if
i rename the file to something other than "ryu_shim_server.py" the app
stops working.

The code inside is identical in both of the files, so just the file name is
causing the issue (which to me it doesn't make any sense). Does anyone have
any idea as to why this could be happening?

Thanks a lot,
Rinor
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to