[ovs-dev] [openflow-dev] [code] OFTest for OVS

Ben Pfaff blp at nicira.com
Fri Oct 26 05:36:39 UTC 2012


Like I said, it's buggy.  I'm doing some after-hours hacking on it
tonight.  Perhaps I'll get it working.

I got my copy of oftest from that repo.  I'm basing on commit
b371430baebd8c3b130e418e0c6f5a5a2144ece2 "Merge branch 'kenc'".

On Thu, Oct 25, 2012 at 10:25:30PM -0700, Rob Sherwood wrote:
> Hi Ben,
> 
> Thanks for the work!  I haven't worked on OFTest in a bit, but I'll
> forward this on to people who are actively working on it and see if we
> can merge your code or at least give comments, etc.
> 
> For my sanity, where did you get oftest?  The most current version
> lives at git at github.com:floodlight/oftest .
> 
> Thanks again,
> 
> - Rob
> .
> 
> On Thu, Oct 25, 2012 at 5:12 PM, Ben Pfaff <blp at nicira.com> wrote:
> > It's somewhat difficult to use OFTest, in my opinion, because you need
> > to be root, work with OS network devices, and so on.  Today I played
> > around with some code to avoid those two needs.
> >
> > First, I have a patch series starting here:
> >         http://openvswitch.org/pipermail/dev/2012-October/022300.html
> > that adds an ability for OVS to use Unix domain sockets as simulated
> > network devices.
> >
> > Second, I'm attaching a file meant to be put in platforms/dummy.py in
> > the OFTest tree to use these simulated network devices.
> >
> > Finally, I'm attaching a shell script that starts OVS in a sandboxed
> > mode using these dummy devices.
> >
> > It passes a few tests; I've only tried a few.
> >
> > Now that I look at it, there are some bugs here that will prevent
> > traffic from actually passing through, but they are not fundamental to
> > the approach.  I'm mostly passing this along in case anyone wants to
> > comment on the idea; I've already spent more time on it than I should
> > have.
> >
> > _______________________________________________
> > openflow-dev mailing list
> > openflow-dev at lists.stanford.edu
> > https://mailman.stanford.edu/mailman/listinfo/openflow-dev
> >



More information about the dev mailing list