This patch series introduce bundle, a group of RyuApp.
It simplifies ryu startup.
For example
python ryu/bundle/os_gre.py
ryu-manager ryu/bundle/os_gre.py
python ryu/bundle/os_gre.py --verbose ryu/app/debug/console.py
instead of
./bin/ryu-manager ryu/app/gre_tunnel.py \
ryu/app/quantum_adapter.py \
ryu/app/rest.py ryu/app/rest_conf_switch.py \
ryu/app/rest_tunnel.py \
ryu/app/tunnel_port_updater.py \
ryu/app/rest_quantum.py
thanks,
Changes v2 -> v3:
- handle command line properly
- clean up of register_cli_optionsa
Isaku Yamahata (11):
ofproto/__init__: don't catch all exception
base/app_manager: pylint
ryu/app_manager: add a methods for waiting application loop
ryu/utils: introduce import_class helper function
app_manager: allow load_apps to accept class object and RyuBundle
ryu/flags: register cli options in flags.py
app/quantum_adapter: move specific options to quantum adapter module
base: add helper functions for main
bin: simplify ryu-manager
app/simple_switch: make it runnable
bundle: add bundle for OpenStack tunnel apps
bin/ryu-manager | 55 ++-------------------
ryu/app/quantum_adapter.py | 23 +++++++++
ryu/app/simple_switch.py | 14 ++++++
ryu/base/app_manager.py | 117 +++++++++++++++++++++++++++++++++++++-------
ryu/base/main.py | 100 +++++++++++++++++++++++++++++++++++++
ryu/bundle/os_gre.py | 37 ++++++++++++++
ryu/flags.py | 45 +++++++++--------
ryu/ofproto/__init__.py | 2 +-
ryu/utils.py | 6 +++
9 files changed, 306 insertions(+), 93 deletions(-)
create mode 100644 ryu/base/main.py
create mode 100644 ryu/bundle/os_gre.py
--
1.7.10.4
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel