On Fri, Oct 12, 2012 at 02:15:16PM +0900, Isaku Yamahata wrote: > On Fri, Oct 12, 2012 at 01:21:39PM +0900, FUJITA Tomonori wrote: > > On Fri, 12 Oct 2012 12:42:29 +0900 > > Isaku Yamahata <[email protected]> wrote: > > > > > On Fri, Oct 12, 2012 at 06:41:32AM +0900, FUJITA Tomonori wrote: > > >> On Thu, 11 Oct 2012 17:17:14 +0900 > > >> Isaku Yamahata <[email protected]> wrote: > > >> > > >> > quantum and openvswitch need patch. the patched trees are available > > >> > for convenience. patches devstack is also avaiable. > > >> > git://github.com/yamahata/ryu.git ryu-gre-tunnel-oct-11-2012 > > >> > git://github.com/yamahata/openvswitch.git ryu-gre-tunnel-oct-11-2012 > > >> > > >> As I said off-line, asking users to use our own version of OVS should > > >> be avoid. It just causes more problems to us. > > >> > > >> I don't like but having OVS python library in Ryu is the only option > > >> for now (until OVS with the changes are norm). For the long term, > > >> hopefully, we could use of-config instead of OVS json rpc. > > >> > > >> Please create a branch to add OVS python library to Ryu at > > >> github. Don't post it as patches to the mailing list. I'll pull it > > >> directly. > > > > > > I uploaded it at > > > git://github.com/yamahata/ryu.git contrib-ovs-import > > > It includes ovs python binding + some module load path adjustment. > > > > Why we need to adjust runtime directory and make them configurable? > > > > All we need to do is always use Ryu's OVS library. > > > When python-openvswitch is also installed in system, we'd like to use Ryu's > than system installed one. > It's not configurable. By adjustment I mean that moving/putting Ryu's > directory (more concretely ryu/contrib) before system directory.
Ah sorry, I misunderstood. there are two issues. - module load path This issue is resolved by modifying sys.path. - OVS install path I think you mean this issue. OVS runtime directory is compile time option and it is configurable. python binding may read ovsdb schema file (vswitch.ovsschema) which is installed on system. -- yamahata ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
