Ryu dynamic loader
W2CNLab 曾毅
About me
• W2CNLab Master student
• SDN
• ryu contributor
What is ryu ?
• Ryu is a component-based software defined
networking framework.
• Python(2 -> 3)
• Apache 2.0 license
Ryu architecture
ryu manager
ryu apps…. ofp_handler
context
Why do I want to create it?
• Update application -> restart ryu
• Restart ryu -> take too much time to restart it
• Restart ryu -> lost current application data
Dynamic loading
load app class
create context from class
instantiate app
join
Command line interface
ryu
manager
CLI
Command line interface
ryu
manager
dynamic
loader plugin
CLI
How to use?
• ryu-manager dl_plugin.py ryu.controller.ofp_handler
• ./cli.py
Commands
• list
• install
• uninstall
Demo

Ryu dynamic loader