[CONTROLLER-618] Wrong topology discovery with OpenFlow13 Created: 10/Jul/14  Updated: 25/Jul/23  Resolved: 05/May/15

Status: Resolved
Project: controller
Component/s: adsal
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Aryan Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


Attachments: File mytopology.tar     File topos.tar    
External issue ID: 1349
Priority: High

 Description   

General Info:
controller: distributions-virtualization-0.2.0-20140709.101228-22-osgipackage.zip

#############################################################

Steps to reproduce:
mininet$ sudo mn --topo tree,3 --controller=remote,ip=192.168.10.10 --switch ovsk,protocols=OpenFlow13

controller$ ./run.sh -virt ovsdb -of13

#############################################################

*Result: *
see wrong-topo.png

osgi> printNodeEdges "OF|00:00:00:00:00:00:00:07"
...
OF|00:00:00:00:00:00:00:07 (OF|3@OF|00:00:00:00:00:00:00:03->OF|3@OF|00:00:00:00:00:00:00:07)
OF|00:00:00:00:00:00:00:07 (OF|3@OF|00:00:00:00:00:00:00:07->OF|3@OF|00:00:00:00:00:00:00:03)
OF|00:00:00:00:00:00:00:07 (OF|3@OF|00:00:00:00:00:00:00:07->OF|3@OF|00:00:00:00:00:00:00:06)
OF|00:00:00:00:00:00:00:07 (OF|2@OF|00:00:00:00:00:00:00:01->OF|3@OF|00:00:00:00:00:00:00:07)
OF|00:00:00:00:00:00:00:07 (OF|2@OF|00:00:00:00:00:00:00:05->OF|3@OF|00:00:00:00:00:00:00:07)
OF|00:00:00:00:00:00:00:07 (OF|3@OF|00:00:00:00:00:00:00:04->OF|3@OF|00:00:00:00:00:00:00:07)
OF|00:00:00:00:00:00:00:07 (OF|3@OF|00:00:00:00:00:00:00:07->OF|2@OF|00:00:00:00:00:00:00:01)
OF|00:00:00:00:00:00:00:07 (OF|3@OF|00:00:00:00:00:00:00:07->OF|3@OF|00:00:00:00:00:00:00:02)
OF|00:00:00:00:00:00:00:07 (OF|3@OF|00:00:00:00:00:00:00:06->OF|3@OF|00:00:00:00:00:00:00:07)
OF|00:00:00:00:00:00:00:07 (OF|3@OF|00:00:00:00:00:00:00:02->OF|3@OF|00:00:00:00:00:00:00:07)
OF|00:00:00:00:00:00:00:07 (OF|3@OF|00:00:00:00:00:00:00:07->OF|2@OF|00:00:00:00:00:00:00:05)
OF|00:00:00:00:00:00:00:07 (OF|3@OF|00:00:00:00:00:00:00:07->OF|3@OF|00:00:00:00:00:00:00:04)
...

#############################################################

Expected Result:
see right-topo.png

osgi> printNodeEdges "OF|00:00:00:00:00:00:00:07"
Node Edge
OF|00:00:00:00:00:00:00:02 (OF|1@OF|00:00:00:00:00:00:00:02->OF|3@OF|00:00:00:00:00:00:00:03)
OF|00:00:00:00:00:00:00:02 (OF|2@OF|00:00:00:00:00:00:00:02->OF|3@OF|00:00:00:00:00:00:00:04)
OF|00:00:00:00:00:00:00:02 (OF|3@OF|00:00:00:00:00:00:00:03->OF|1@OF|00:00:00:00:00:00:00:02)
OF|00:00:00:00:00:00:00:02 (OF|3@OF|00:00:00:00:00:00:00:04->OF|2@OF|00:00:00:00:00:00:00:02)
OF|00:00:00:00:00:00:00:02 (OF|1@OF|00:00:00:00:00:00:00:01->OF|3@OF|00:00:00:00:00:00:00:02)
OF|00:00:00:00:00:00:00:02 (OF|3@OF|00:00:00:00:00:00:00:02->OF|1@OF|00:00:00:00:00:00:00:01)
OF|00:00:00:00:00:00:00:03 (OF|1@OF|00:00:00:00:00:00:00:02->OF|3@OF|00:00:00:00:00:00:00:03)
OF|00:00:00:00:00:00:00:03 (OF|3@OF|00:00:00:00:00:00:00:03->OF|1@OF|00:00:00:00:00:00:00:02)
OF|00:00:00:00:00:00:00:01 (OF|2@OF|00:00:00:00:00:00:00:01->OF|3@OF|00:00:00:00:00:00:00:05)
OF|00:00:00:00:00:00:00:01 (OF|1@OF|00:00:00:00:00:00:00:01->OF|3@OF|00:00:00:00:00:00:00:02)
OF|00:00:00:00:00:00:00:01 (OF|3@OF|00:00:00:00:00:00:00:02->OF|1@OF|00:00:00:00:00:00:00:01)
OF|00:00:00:00:00:00:00:01 (OF|3@OF|00:00:00:00:00:00:00:05->OF|2@OF|00:00:00:00:00:00:00:01)
OF|00:00:00:00:00:00:00:04 (OF|2@OF|00:00:00:00:00:00:00:02->OF|3@OF|00:00:00:00:00:00:00:04)
OF|00:00:00:00:00:00:00:04 (OF|3@OF|00:00:00:00:00:00:00:04->OF|2@OF|00:00:00:00:00:00:00:02)
OF|00:00:00:00:00:00:00:07 (OF|2@OF|00:00:00:00:00:00:00:05->OF|3@OF|00:00:00:00:00:00:00:07)
OF|00:00:00:00:00:00:00:07 (OF|3@OF|00:00:00:00:00:00:00:07->OF|2@OF|00:00:00:00:00:00:00:05)
OF|00:00:00:00:00:00:00:06 (OF|3@OF|00:00:00:00:00:00:00:06->OF|1@OF|00:00:00:00:00:00:00:05)
OF|00:00:00:00:00:00:00:06 (OF|1@OF|00:00:00:00:00:00:00:05->OF|3@OF|00:00:00:00:00:00:00:06)
OF|00:00:00:00:00:00:00:05 (OF|3@OF|00:00:00:00:00:00:00:06->OF|1@OF|00:00:00:00:00:00:00:05)
OF|00:00:00:00:00:00:00:05 (OF|2@OF|00:00:00:00:00:00:00:05->OF|3@OF|00:00:00:00:00:00:00:07)
OF|00:00:00:00:00:00:00:05 (OF|2@OF|00:00:00:00:00:00:00:01->OF|3@OF|00:00:00:00:00:00:00:05)
OF|00:00:00:00:00:00:00:05 (OF|3@OF|00:00:00:00:00:00:00:07->OF|2@OF|00:00:00:00:00:00:00:05)
OF|00:00:00:00:00:00:00:05 (OF|1@OF|00:00:00:00:00:00:00:05->OF|3@OF|00:00:00:00:00:00:00:06)
OF|00:00:00:00:00:00:00:05 (OF|3@OF|00:00:00:00:00:00:00:05->OF|2@OF|00:00:00:00:00:00:00:01)



 Comments   
Comment by Aryan [ 10/Jul/14 ]

Attachment topos.tar has been added with description: right and wrong topologies

Comment by Naresh kumar [ 27/Aug/14 ]

Hi Aryan,
I downloaded the binary you have mentioned(distributions-base-0.2.0-SNAPSHOT-osgipackage.zip). When I run "./run.sh -virt ovsdb -of13" I get following error "Unknown option -virt". What am I missing ? I am trying to recreate your bug.

Comment by Madhu Venugopal [ 27/Aug/14 ]

Naresh,

Aryan mentioned distributions-virtualization but you are trying distributions-base.

-Madhu

Comment by Naresh kumar [ 27/Aug/14 ]

(In reply to Madhu Venugopal from comment #2)
> Naresh,
>
> Aryan mentioned distributions-virtualization but you are trying
> distributions-base.
>
> -Madhu

Hi Madhu,
Sorry. My bad. I got it
Thanks,
Naresh

Comment by Naresh kumar [ 27/Aug/14 ]

Attachment mytopology.tar has been added with description: mytopology

Comment by Naresh kumar [ 27/Aug/14 ]

Hi Aryan,
For no error. I used the same controller you have mentioned.(distributions-virtualization-0.2.0-SNAPSHOT-osgipackage.zip). Refer my attachment mytopology.tar.

Comment by Colin Dixon [ 22/Sep/14 ]

Changing from critical to normal because, among other things, it appears to be for Hydrogen, not Helium. Ideally we should add a Hydrogen version so we can filter these things out.

Comment by Carol Sanders [ 04/May/15 ]

This bug is part of the project to Move all ADSAL associated component bugs to ADSAL

Comment by Tony Tkacik [ 05/May/15 ]

Affects now-unsupported Hydrogen. Works on Helium / lithium

Generated at Wed Feb 07 19:53:28 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.