summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-06-15 14:31:29 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-06-22 16:08:33 +0900
commit388a97ef6d87f736359cc691492be3b1febb323c (patch)
treeec142d6f4f6b12c231bdb94d75d0f545134b7b54 /tools
parent0f1430edfd80fb501f4f5324c84e55875e340a6d (diff)
manager: Introduce user flags option
This patch introduces "--user-flags" option which enable to add user original CLI or config file options for their own Ryu applications. Usage Example) $ cat user_flags.py from ryu import cfg CONF = cfg.CONF CONF.register_cli_opts([ cfg.StrOpt( 'user-cli-opt', default=None, help='user original CLI option'), ]) $ ryu-manager --user-flags user_flags.py user_app.py Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions