Re: [pox-dev] Spanning Tree Algorithm

2015-01-12 Thread TALAL AL-HARBI
Thanks a lot Murphy; really appreciate!!! Cheers,,, Talal > On Jan 12, 2015, at 7:19 PM, Murphy McCauley > wrote: > > See inline. > >> On Jan 12, 2015, at 1:04 AM, TALAL AL-HARBI wrote: >> >> I added a print statement to spanning tree code: >> >> # Now modify ports as needed >> try: >>

Re: [pox-dev] Spanning Tree Algorithm

2015-01-12 Thread Murphy McCauley
See inline. On Jan 12, 2015, at 1:04 AM, TALAL AL-HARBI wrote: > I added a print statement to spanning tree code: > > # Now modify ports as needed > try: > change_count = 0 > for sw, ports in tree.iteritems(): > con = core.openflow.getConnection(sw) > if con is None: conti

Re: [pox-dev] Spanning Tree Algorithm

2015-01-12 Thread TALAL AL-HARBI
Dear Murphy After the connection is established, ports status set to false expect those who are between switches and no correcting a loop even ports where hosts attached to. I have printed ports status with basic topology: Ports s1-eth1:1 --> where host1 attached to Flood False Ports s

Re: [pox-dev] Spanning Tree Algorithm

2015-01-12 Thread Murphy McCauley
I don't have enough information to understand or evaluate the information you've given about port status. Where does it come from? Are you querying the switch, or is it from one of the datastructures in spanning_tree.py, or something else? When are you printing it? And what options are you u