when i call (http//localhost:8080/v1.0/topology/hosts) API it discovers
hosts's macs and which port these hosts connected,but when host move from
port to another,it discover the old position of host

what should i do to solve this problem??

thnx
mahmoud

On Fri, Nov 24, 2017 at 9:16 AM, Iwase Yusuke <iwase.yusu...@gmail.com>
wrote:

> Hi Mahmoud,
>
> When Ryu detects the new host connection, it only checks if the host is
> known not not at here.
>
> https://github.com/osrg/ryu/blob/ed2c6eca2227c9efb3c7e51cdd6
> db6bf578ec609/ryu/topology/switches.py#L867-L870
>
> So, as your situation, when the host moves from a port to another, even if
> Ryu detects it, the
> new connection to that host seems to be ignored...
> It seems that we need to store which port connecting to the host (not just
> known or not).
>
> Thanks,
> Iwase
>
>
>
> On 2017年11月24日 00:36, Mahmoud Elzoghbi wrote:
>
>> Hello to everyone,
>> I used Rest_topology.py to discover hosts in my topology, but when any
>> host moves from Port 1 to port 5 for example Rest_topology.py discover this
>> host in port 1 also , it doesn't sense the movement of host
>> What is the problem?
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> 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
>> Ryu-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>
>>
------------------------------------------------------------------------------
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
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to