Re: [ovs-discuss] [openflow-discuss] putting switches in their own namespace in mininet using openVswitch

2013-03-09 Thread Bob Lantz
To clarify, I believe the default configuration of the OVS daemons uses unix domain sockets, which is a perfectly good idea but may break when your switch and daemons are in different namespaces. On Mar 9, 2013, at 12:19 AM, Bob Lantz rla...@cs.stanford.edu wrote: Mininet doesn't currently

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

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,

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 dushyantaror...@gmail.com wrote: Here are the contents of /tmp/s1-ofd.log RTNETLINK answers: No such file or directory RTNETLINK answers: No

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 jpet...@nicira.com 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

Re: [ovs-discuss] [openflow-discuss] putting switches in their own namespace in mininet using openVswitch

2013-03-09 Thread Justin Pettit
If you only run network namespaces, it's pretty easy to run multiple instances of OVS. I touched on it briefly a couple of weeks ago on the ovs-discuss mailing list: http://openvswitch.org/pipermail/discuss/2013-February/009157.html As you mentioned, you'll need to have each ovsdb-server

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

Re: [ovs-discuss] [openflow-discuss] putting switches in their own namespace in mininet using openVswitch

2013-03-09 Thread Ramana Reddy
Thanks Justin. I will keep your point in mind. On Sun, Mar 10, 2013 at 7:21 AM, Justin Pettit jpet...@cs.stanford.eduwrote: If you only run network namespaces, it's pretty easy to run multiple instances of OVS. I touched on it briefly a couple of weeks ago on the ovs-discuss mailing list: