Hi Tim!

On 14.10.2015 23:02, Tim Upthegrove wrote:
> Digging through the code a bit, I found out that is caused by the two
> lines of code
> at https://github.com/osrg/ryu/blob/v3.25/ryu/topology/switches.py#L778.  I
> tried removing those two lines, and I found that afterwards I was able
> to see the links in the topology REST API. However, I am not sure if
> removing that code has any unintended side effects.

I think that you should not remove both lines completely, but instead
modify the first line and remove the second check, such that the
resulting condition is:

if not src:
        return

However I cannot tell you if there are further side effects - but maybe
someone else can.

Regards
  Daniel

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to