Hi,

(2013/04/04 10:20), Karthik Sharma wrote:
> Hi,
>
> I'm new to openVswitch and Ryu. There is a description about using Ryu Network
> Operating System with OpenStack as Openflow controller in Ryu 1.2
> documentation.
> However, this instruction is a little bit complicated for anewbie like me,
> so I'm thinking about using openVswitch directly with Ryu without
> OpenStack. Hence I follow the following steps.
>
> 1. I install Ryu using source from github.
> 2. I also install openvswitch on my system.
> 3. Then I setup a secure channel between ryu and the openvswitch as
> mentioned in
> http://osrg.github.com/ryu/doc/tls.html
>
> 4.  sudo ovs-vsctl show gives the following output.
>
> df19569b-d38b-41a5-a723-fb80504cd5e5
>      Bridge "br0"
>          Controller "127.0.0.1:6633"
>          Port "br0"
>              Interface "br0"
>                  type: internal
>      ovs_version: "1.4.0+build0"
>
> 5. I run ryu-manager with two applications
>     a) simple_switch.py
>     b) rest.py
> as shown below.
>
> sudo ryu-manager ryu/app/simple_switch.py ryu/app/rest.py
>
> The output that I get is as follows.
>
> [sudo] password for karthik.sharma:
> loading app ryu/app/simple_switch.py
> loading app ryu/app/rest.py
> loading app ryu.controller.ofp_handler
> creating context wsgi
> creating context network
> instantiating app ryu/app/rest.py
> instantiating app ryu.controller.ofp_handler
> instantiating app ryu/app/simple_switch.py
>
> My question is as follows.
>
> I would like to write an application that does topology discovery of
> openvswitches.
>
> I tried running sudo ryu-manager ryu/topology/dumper.py again it gave
> similar output as above.
>
> - this apps dumps discovery events? (what are discovery events?)
Yes.
Discovery events are generated by ryu/topology/switches.py,
so you should run this together.

> - where does it dump it?
> - do I have to trigger something inorder for the app to produce an output?
>
LOG.debug().
Probably it is stdout, with --verbose option of ryu-manager.
Please see following link.
http://sourceforge.net/mailarchive/forum.php?thread_name=1363256167-4406-1-git-send-email-yamada.hideki%40po.ntts.co.jp&forum_name=ryu-devel

Thanks,

YAMADA Hideki

> How can I see the output?
>
> Kind Regards,
> Karthik
>


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to