On Wed, Apr 03, 2013 at 03:53:29PM +1300, Karthik Sharma wrote: > > I am attempting to understand the ryu architecture. > > 1) Is it likely that you have a design document of some kind that I can refer? > 2) I was going through the code in github. > > file - ryu/lib/ovs/db_client.py > > It looks like it implements a database client to store the flowtable/routing > information.I would like to store some information in a database server and > use > ryu to retrieve that information.Essentially what I am attemptin to do is to > make the ryu itself stateless.Whenever a new flow needs to be added the flow > info needs to be retrieved from the db server and loaded on to openvswitch / > pica8. For the time being I am thinking of going with mysql. > > Can this be done? is this what the db_client.py does? > If yes can you please explain a bit more?
ryu/lib/ovs/db_client.py is python reimplementation of ovsdb-client command. Thus Ryu is able to access OVS-DB without ovsdb-client, and change OVS configurations remotely. For details of ovsdb-client, try 'man ovsdb-client' OVS-DB is specialized for open vswtich in order to maintain OVS internal configurations. Not general purpose database server. If you want OVS-DB(I guess no), db_client is the way. If you want general purpose database server like mysql or postgress (or nosql), some sort of ORM library like sqlalchemy (or some kind of library for nosql) is the way. thanks, > > 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 -- yamahata ------------------------------------------------------------------------------ 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
