Hi Kiran, I just tried, and my topology is correct, maybe you can run "mn -c" to clean up before you create a new topology.
Takeshi 2014-10-27 13:06 GMT+08:00 Kiran Kumar <[email protected]>: > Hi Takeshi, > Thanks for the mail. > > Yes, I did noticed that. But now my only concern is topology. > Could you tell me why my liner topology appers like a mesh topology when I > run with simpleswitch.py ? > Or can you please point me the right source to explore it ? > > Thanks & Regards > Kiran Rokkam > > On Sun, Oct 26, 2014 at 10:02 PM, Yi Tseng <[email protected]> wrote: > >> Hi Kiran, >> >> *./ryu/app/simple_switch_13.py *can store mac-to-port data and add flow >> entry to switch, when it is not running, the packet can't reach to the host >> because there is no flow entry in the switch and no packet-in handler >> (*https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_13.py#L62 >> <https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_13.py#L62>* >> ) >> >> >> >> Takeshi >> >> 2014-10-27 11:24 GMT+08:00 Kiran Kumar <[email protected]>: >> >>> Hi Takeshi, >>> Thanks for your quick reply. >>> I'm running following command in ubuntu. >>> *sudo mn --topo linear,4 --mac --controller remote --switch ovsk* >>> >>> As suggested when I run the following command, I see a complete mesh >>> topology instead of linear in GUI.But I achieved my purpose, I can ping the >>> hosts mutually. >>> *PYTHONPATH=. ./bin/ryu-manager --observe-links >>> ./ryu/app/gui_topology/gui_* >>> >>> >>> *topology.py ./ryu/app/simple_switch_13.py* >>> >>> *[image: Inline image 2]* >>> >>> >>> But When I run the following >>> >>> *PYTHONPATH=. ./bin/ryu run --observe-links >>> ryu/app/gui_topology/gui_topology.py* >>> >>> I got the GUI topology as expected but I can't ping the hosts. >>> >>> [image: Inline image 1] >>> >>> It would be great if you can explain what makes this difference and I >>> want to achieve the ping and GUI topology at the time. >>> Please let me know if you need any details from me. >>> >>> Thanks & Regards >>> Kiran Rokkam >>> >>> >>> On Sun, Oct 26, 2014 at 6:52 PM, Yi Tseng <[email protected]> wrote: >>> >>>> Hi >>>> >>>> Just add your ryu application to argument >>>> >>>> PYTHONPATH=. ./bin/ryu-manager --observe-links >>>> ./ryu/app/gui_topology/gui_topology.py ./ryu/app/simple_switch_13.py >>>> >>>> >>>> Best regards. >>>> Takeshi >>>> >>>> 2014-10-27 9:02 GMT+08:00 Kiran Kumar <[email protected]>: >>>> >>>>> Hi Team, >>>>> I'm new to RYU controller. >>>>> >>>>> I'm trying to run gui_topology app and ryu controller at the same. >>>>> >>>>> To start topology diagram >>>>> >>>>> PYTHONPATH=. ./bin/ryu run --observe-links >>>>> ryu/app/gui_topology/gui_topology.py >>>>> >>>>> To start ryu controller >>>>> >>>>> PYTHONPATH=. ./bin/ryu-manager ryu/app/simple_switch_13.py >>>>> >>>>> >>>>> Can you please tell me is there way to run the both of them at the >>>>> same time ? >>>>> >>>>> I tried different ways to run the same but did not work. >>>>> >>>>> Please help. >>>>> >>>>> Thanks & Regards >>>>> Kiran Rokkam >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> >>>>> _______________________________________________ >>>>> Ryu-devel mailing list >>>>> [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/ryu-devel >>>>> >>>>> >>>> >>> >> >
------------------------------------------------------------------------------
_______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
