I think currently there is no "--observe-hosts" option for Ryu now.
If your OpenFlow version is 1.3, you should install packet lost flow in
switch first.
Ryu use packet-in message to discover hosts
Yi
2017-03-17 12:35 GMT-07:00 Edison Albuquerque <[email protected]>:
> OK.
> I'll do it this weekend.
> Openflow used is 1.3.
> My code changes yours "Topology-Discovery", for I add get_host.
> Maybe there is a --observe-hosts similar to --observe-link.
> Tks,
>
> 2017-03-17 14:42 GMT-03:00 Yi Tseng <[email protected]>:
>
>> Hi
>>
>> Please don't drop mailing list.
>>
>> 1. Can you paste your debug information here? (with "--verbose"), to make
>> sure anything works fine.
>>
>> 2. What version OpenFlow you are use?
>>
>> 3. Can you show flows in the switch?
>>
>> Thanks
>>
>>
>> Yi
>>
>> 2017-03-17 4:21 GMT-07:00 Edison Albuquerque <[email protected]>:
>>
>>> Thanks.
>>> In Mininet I typed "pingall" and then ran Ryu Controller again but the
>>> host list was still empty.
>>> I upgrade my Ryu to last version. Maybe I must upgrade Mininet too.
>>> Another way I visualized is to print mac-to-port dictionairy, after
>>> "pingall".
>>>
>>>
>>> 2017-03-16 20:12 GMT-03:00 Yi Tseng <[email protected]>:
>>>
>>>> Hi,
>>>>
>>>> Host should be discovered when a host sent a packet (ip, arp...)
>>>>
>>>> Yi
>>>>
>>>> 2017-03-16 7:49 GMT-07:00 Edison Albuquerque <[email protected]>:
>>>>
>>>>> Using the code that is inside Ryu Manual, I was able to see the
>>>>> switches of the network I created with Mininet, as well as see the links
>>>>> between them.
>>>>> I changed the code a little bit to include get_host() but could not
>>>>> see the hosts. All I see is an empty list.
>>>>> Is it possible to discovery the topology down to the hosts?
>>>>> Thanks.
>>>>> 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 <+55%2081%203184-7542> - Fax: +55 81 3184-7581
>>>>> <+55%2081%203184-7581>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------
>>>>> ------------------
>>>>> Check out the vibrant tech community on one of the world's most
>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>> _______________________________________________
>>>>> Ryu-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Yi Tseng (a.k.a Takeshi)
>>>> Taiwan National Chiao Tung University
>>>> Department of Computer Science
>>>> W2CNLab
>>>>
>>>> https://takeshi.tw
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *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 <+55%2081%203184-7542> - Fax: +55 81 3184-7581
>>> <+55%2081%203184-7581>
>>>
>>>
>>
>>
>> --
>> Yi Tseng (a.k.a Takeshi)
>> Taiwan National Chiao Tung University
>> Department of Computer Science
>> W2CNLab
>>
>> https://takeshi.tw
>>
>
>
>
> --
>
> *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 <+55%2081%203184-7542> - Fax: +55 81 3184-7581
> <+55%2081%203184-7581>
>
>
--
Yi Tseng (a.k.a Takeshi)
Taiwan National Chiao Tung University
Department of Computer Science
W2CNLab
https://takeshi.tw
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel