Re: [ovs-discuss] Simple MPLS experiment with OpenvSwitch

2013-03-09 Thread Dushyant Arora
Thanks for replying Ben. I totally missed that. You are right though. Turns out Mininet does not allow you to create user-space openvswitch. There is a Mininet branch created by Bob Lantz for it but it uses ovs-openflowd instead of ovs-vsctl. I might have to get my hands dirty with the code. On Sa

Re: [ovs-discuss] Simple MPLS experiment with OpenvSwitch

2013-03-09 Thread Dushyant Arora
On Sat, Mar 9, 2013 at 8:00 PM, Justin Pettit wrote: > I'm not familiar with Mininet's configuration, but OVS does have some > documentation on running the userspace switch: > > > http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob;f=INSTALL.userspace > > You won't be using ov

Re: [ovs-discuss] Simple MPLS experiment with OpenvSwitch

2013-03-09 Thread Ben Pfaff
Your output makes it clear that you are not using Open vSwitch but actually the OpenFlow reference implementation. On Mar 9, 2013 4:15 PM, "Dushyant Arora" wrote: > Here are the contents of /tmp/s1-ofd.log > RTNETLINK answers: No such file or directory > RTNETLINK answers: No such file or directo

Re: [ovs-discuss] Simple MPLS experiment with OpenvSwitch

2013-03-09 Thread Justin Pettit
I'm not familiar with Mininet's configuration, but OVS does have some documentation on running the userspace switch: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob;f=INSTALL.userspace You won't be using ovs-dpctl, since that's just for speaking with the kernel module, w

Re: [ovs-discuss] Simple MPLS experiment with OpenvSwitch

2013-03-09 Thread Dushyant Arora
Here are the contents of /tmp/s1-ofd.log RTNETLINK answers: No such file or directory RTNETLINK answers: No such file or directory ofdatapath: udatapath/datapath.c:2245: fwd_control_input: Assertion `oh->version == 0x01' failed. Mar 09 12:18:23|1|fault|EMER|Caught signal 6. 0x08056ded 0x617

Re: [ovs-discuss] Simple MPLS experiment with OpenvSwitch

2013-03-09 Thread Dushyant Arora
Ok, I figured out I need to use dpctl utility but I don't know what to provide as the switch path $ dpctl show unix:??? The only example I could find on the Internet uses /var/run/... as the path but I don't see s1.sock there. On Sat, Mar 9, 2013 at 6:32 PM, Dushyant Arora wrote: > Thanks for rep

Re: [ovs-discuss] Simple MPLS experiment with OpenvSwitch

2013-03-09 Thread Dushyant Arora
Thanks for replying Ben. I changed the Mininet python file to use a UserSwitch : def emptyNet(): "Create an empty network and add nodes to it." net = Mininet( controller=lambda name: NOX ( name, 'NOXSwitch' ), switch=UserSwitch ) but now when I fire up Mininet I don't the switch when u

Re: [ovs-discuss] Simple MPLS experiment with OpenvSwitch

2013-03-08 Thread Ben Pfaff
On Fri, Mar 08, 2013 at 06:54:31PM -0500, Dushyant Arora wrote: > I am trying to run a very basic MPLS test. I have the following > versions of OpenvSwitch and Mininet: > > $ ovs-vsctl --version > ovs-vsctl (Open vSwitch) 1.10.90 > Compiled Mar 5 2013 16:25:06 > $ mn --version > 2.0.0 MPLS only

[ovs-discuss] Simple MPLS experiment with OpenvSwitch

2013-03-08 Thread Dushyant Arora
Hello, I am trying to run a very basic MPLS test. I have the following versions of OpenvSwitch and Mininet: $ ovs-vsctl --version ovs-vsctl (Open vSwitch) 1.10.90 Compiled Mar 5 2013 16:25:06 $ mn --version 2.0.0 I have set up a simple topology using Mininet (one switch and two nodes):