What do you mean by hands-on? From NOX? I don't think it speaks OVSDB. I'd probably start off by using ovs-vsctl and ovs-ofctl to manually configure what you want. Translating from ovs-ofctl to OpenFlow should be pretty straight-forward, since the commands map pretty directly to OpenFlow. For OVSDB, you could configure ovsdb-server so that you can run ovs-vsctl on the NOX system and connect over TCP/SSL. Or you could do it programmatically by looking at some of the other programs in the OVS distribution that make use of the database.
--Justin On Jun 28, 2012, at 1:08 AM, trinh tri wrote: > Thank you very much Mr. Petit for the prompt reply. > Do you know any hand-on example to implement that? > > Trinh Minh Tri > ------------------------------------------------- > PhD Student, Department of Electrical Engineering > Chulalongkorn University, Bangkok 10330, Thailand. > Phone:0824566602 > Email: no...@yahoo.com > From: Justin Pettit <jpet...@nicira.com> > To: trinh tri <no...@yahoo.com> > Cc: "dev@openvswitch.org" <dev@openvswitch.org> > Sent: Thursday, June 28, 2012 11:49 AM > Subject: Re: [ovs-dev] asking the example to use openflow protocol to limit > the flow rate in openvswitch > > The configuration of QoS is done through the OVSDB protocol, which handle > switch-level configuration. You can then use OpenFlow to direct flows to > particular queues that you've configured through OVSDB. There are C and > Python bindings to OVSDB (but I don't think NOX makes use of them) or you can > use ovs-vsctl as a CLI interface to OVSDB. > > There's an example of configuring QoS towards the end of the ovs-vsctl man > page. The ovs-ofctl man page describes the enqueue and set_queue actions > that can be used to direct flows to the queues you've configured. > > --Justin > > > On Jun 28, 2012, at 12:43 AM, trinh tri wrote: > > > Dear openvswitch dev! > > > > I'm trying to implement a system which can dynamically control the flow > > rate limiting of openvswitch. And would like control that rate from NOX > > controller via openflow protocol. > > > > Could you suggest me how to implement that system and is there any example > > about that system to follow? > > > > Thank you very much > > Trinh Minh Tri > > ------------------------------------------------- > > PhD Student, Department of Electrical Engineering > > Chulalongkorn University, Bangkok 10330, Thailand. > > Phone:0824566602 > > Email: no...@yahoo.com > > _______________________________________________ > > dev mailing list > > dev@openvswitch.org > > http://openvswitch.org/mailman/listinfo/dev > > > _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev