I am running ryu simple switch application as shown below.

*$  ryu-manager ryu/app/simple_switch.py*

I have modified the simple_switch.py and I want to give a configuration
file to this program as input to let it use the file for path computation.

i.e I would like something like.

*$ ryu-manager -f path_file.txt ryu/app/simple_switch.py*

What is the best way to achieve this? What I am asking is specifically is
there some command line parsing mechanism like clarg library in "C" that I
can use? What is the standard mechanism to access a command line parameter
inside an ryu app.

Regards,
Karthik.
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to