I've been writing apps using POX.
To retrieve switch datapath id (dpid) I just write:

dpid = event.connection.dpid, because POX captures the dpid when detects
ConnectionUp event and keeps track of it during connection establishment.

I couldn't find, yet, how to do the same with Ryu.
I guess it must be pretty easy.
A help would be welcome.
Edison.

-- 

*Todos querem um mundo melhor. Poucos colaboram.*

Prof. Edison de Queiroz Albuquerque, BSc, Msc, Dr.
Adjunto da Escola Politécnica de Pernambuco, Universidade de Pernambuco
(POLI/UPE)
Professor do Curso de Engenharia de Computação
Líder do Grupo de Pesquisa em Protocolos de  Redes de Computadores
Membro do IEEE (ComSoc), do SBrT, do IECOM e da APEET

Universidade de Pernambuco/Escola Politécnica de Pernambuco
Rua Benfica, 455 (Bl. 'C' 2. andar) - Bairro: Madalena
CEP 50720-001 - Recife, Pernambuco - Brasil
Fone: +55 81 3184-7542 - Fax: +55 81 3184-7581
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to