Re: [Ryu-devel] Accessing comman line argument inside an ryu app

2014-08-30 Thread Karthik Sharma
If I use the --config-file option does the file get passed into my application (simple_switch.py) using args or kwargs? If not how do I access it.I need to open the file inside my app and access its contents. Regards, Karthik. On 26 August 2014 00:32, FUJITA Tomonori wrote: > On Mon, 25 Aug 2

Re: [Ryu-devel] Accessing comman line argument inside an ryu app

2014-08-25 Thread FUJITA Tomonori
On Mon, 25 Aug 2014 20:20:59 +1200 Karthik Sharma wrote: > 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

[Ryu-devel] Accessing comman line argument inside an ryu app

2014-08-25 Thread Karthik Sharma
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