Hi Deni,
I added cc to Ryu-devel mailing list, and please keep it.
2017/04/13 19:11、Deni Toruan <[email protected]> のメッセージ:
> Dear Iwase, how do you do.
>
> I got your email address from ryu-dev forum.
> For your information, I am trying to connect ovs switch and ryu controller in
> different VM. I am trying to set up the connection from Ryu controller, and
> to make possible to add/delete port of OVS from controller.
>
> I have been using this code
> :(http://ryu.readthedocs.io/en/latest/library_ovsdb_manager.html), and it's
> look running. How ever, I only got this in controller:
>
> -----------------------
> ubuntu@sdnhubvm:~/ryu[02:59] (master)$ cd /home/ubuntu/ryu &&
> ./bin/ryu-manager --verbose
> ryu.app.MyApp
> loading app ryu.app.MyApp
> loading app ryu.services.protocols.ovsdb.manager
> instantiating app ryu.services.protocols.ovsdb.manager of OVSDB
> instantiating app ryu.app.MyApp of MyApp
> BRICK OVSDB
> PROVIDES EventReadRequest TO {'OVSDB': set([])}
> PROVIDES EventNewOVSDBConnection TO {'MyApp': set([])}
> PROVIDES EventModifyRequest TO {'OVSDB': set([])}
> CONSUMES EventReadRequest
> CONSUMES EventModifyRequest
> BRICK MyApp
> CONSUMES EventNewOVSDBConnection
> Listening on 0.0.0.0:6640 for clients
> ------------------------
>
> Do you have any experience about this situation. How I can communicate and
> connecting to OVS in another VM? thank you
I guess ovsdb manager library work as the passive mode server, and you need to
tell your OVS on which IP:port the server (Ryu) is listing.
http://manpages.ubuntu.com/manpages/trusty/man8/ovs-vsctl.8.html
e.g.) ovs-vsctl set-manager tcp:RYU-IP:6640
Thanks,
Iwase
>
> --
> Deni Toruan
> Dosen IT Del
> Sitoluama
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel