Ryu

Página do projeto

www.osrg.net/ryu

Sobre o código

Linguagem

Python 2.7

Licença

Apache 2.0 license

Suporte a versões do OpenFLOW

Requisitos

Independência de linguagem de programação

Comunicação por mensagens, então, pode conversar com qualquer aplicativo que implemente essas mensagens.

Modularidade

???

Repositório

git://github.com/osrg/ryu.git

Recursos básicos do controlador

Aplicações

https://github.com/osrg/ryu/tree/master/ryu/app

Testes

https://github.com/osrg/ryu/tree/master/ryu/tests

Disponibilidade nas distribuições GNU/Linux

Pode ser instalado com o gerenciador 'pip'.

Último release / commit

Documentação

Documentação oficial

http://ryu.readthedocs.org/en/latest/index.html

Tutoriais

https://github.com/osrg/ryu/wiki/OpenFlow_Tutorial

Suporte junto ao OpenStack

Quantum Ryu plugin. VM pré-configurada para testar OpenStack + Ryu.

https://github.com/osrg/ryu/wiki/OpenStack

Communication

'nova requests quantum-server for network configuragion'

OVS <--> Ryu: openflow

Ryu agent <--> Ryu: REST API

Quantum server <--> Ryu: REST API

Ryu agent <--> Quantum db: db access

VIF driver <--> quantum: Quantum API
linux_net driver <--> server: Quantum API

Network Creation (network-node = nova-network + linux_net driver + OVS)

  1. to nova-network: create netork
  2. nova network --> quantum server: create net
  3. quantum server --> Ryu: network <uuid>, <tunnel key>
  4. quantum server --> nova network: <uuid>
  5. nova network --> linux_net driver: plug
  6. linux_net driver --> OVS: create gw-xxx
  7. linux_net driver --> quantum server: tentant id, network id, dp id, port, mac
  8. quantum server --> Ryu: network id, dp id, port, mac
  9. ryu --> OVS: set flow entryies

Instance creation (compute-node = nova compute + VIF driver + OVS)

  1. to nova compute: create instance
  2. nova compute --> quantum server: create port
  3. quantum server --> nova compute: uuid
  4. nova compute --> VIF driver: plug
  5. VIF driver --> OVS: create tap-xxx
  6. VIF driver --> quantum server: (tenant_id, dp_id, port, mac)
  7. quantum server --> Ryu: (network_id, dp_id, port, mac)
  8. Ryu --> OVS: set flow entryies

Node boot up (compute/network-node = OVS + Ryu agent + ryu_v2.ini)

  1. ryu_v2.ini --> Ryu agent: get ip address
  2. Ryu agent --> quantum db: register (dp_id, ip_address)
  3. quantum db --> Ryu agent: get list of (dp_id, ip_address, and polling)
  4. Ryu agent --> OVS: create vport_grc to ip address
  5. Ryu agent --> Ryu: register (dp_id, port_id, remote dp_id)

Quem usa

???

Quem está por trás

NTT Lab

Outras características