Hello all,

I'm trying to add configuration flags for my ryu application.
I've copied some code from topology.switches to my app:

from ryu import cfg

CONF = cfg.CONF
CONF.register_cli_opts([
    cfg.StrOpt('l7-config', default='', help='Forwarder config file.'),
])

but when I try to run `ryu-manager myapp`  Exception appears:
>> oslo_config.cfg.ArgsAlreadyParsedError: arguments already parsed: cannot
register CLI option

Can anyone help me?

Nick
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to