ryu dynamic loader

11
Ryu dynamic loader W2CNLab 曾曾

Upload: yi-tseng

Post on 06-Apr-2017

1.007 views

Category:

Technology


1 download

TRANSCRIPT

Ryu dynamic loaderW2CNLab 曾毅

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 loadingload 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