On Mon, 1 Sep 2014 19:46:49 +1200
Karthik Sharma <[email protected]> wrote:
> I need to be able to read in a path file from my simple_switch.py
> application.I have added the following code to my simple_switch.py in
> python.
>
> LOG = logging.getLogger(__name__)
> CONF = cfg.CONF
> CONF.register_cli_opts([
> cfg.StrOpt('path-file', default='test.txt',
> help='path-file')
> ])
>
> I attempt to start the application as follows.
Don't try to add cli option. You can add options for a config file.
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel