Hi Vishal, is the OpenVswitch an implementation of OF 1.1? I'm running NOX 0.9.0 zaku, is it compatible with such version of OF?
2011/11/8 Vishal <vishal.kr.si...@gmail.com> > I had same problem and I switched over to OpenVswitch. > > Regards, > Vishal > > > On Tue, Nov 8, 2011 at 4:58 AM, andrea simeoni > <andreasimeon...@gmail.com>wrote: > >> Hi Murphy, >> >> I got a insufficient buffer headroom error; like the following: >> >> ofdatapath: lib/ofpbuf.c:168: ofpbuf_prealloc_headroom: Assertion `size >> <= ofpbuf_headroom(b)' failed. >> Nov 08 04:52:18|00004|fault|EMER|Caught signal 6. >> 0x08057b5f >> 0xb8075400 (__kernel_sigreturn+0x0) >> 0xb7f2c098 (abort+0x188) >> 0xb7f235ce (__assert_fail+0xee) >> 0x0805ac79 >> 0x0805ac9e (ofpbuf_push_uninit+0x1e) >> 0x08051303 (dp_output_control+0x53) >> 0x08053aed (execute_actions+0x1ed) >> 0x080522e1 >> 0x080534ac (dp_run+0x3bc) >> 0x0805474d (udatapath_cmd+0x54d) >> 0x08054802 (main+0x22) >> 0xb7f15775 (__libc_start_main+0xe5) >> Nov 08 04:52:18|00010|netdev|ERR|ioctl(SIOCGIFFLAGS) on tap0 device >> failed: No such device >> Nov 08 04:52:18|00011|port_watcher|WARN|could not get flags for tap0 >> Nov 08 04:52:18|00012|rconn|WARN|unix:/var/run/dp0: connection dropped >> (Connection reset by peer) >> >> It happens only on the second switch on the path, while the other one >> keeps connected to the controller. >> >> >> >> >> 2011/11/8 Murphy McCauley <jam...@nau.edu> >> >>> How do the switches crash? With an assertion about insufficient buffer >>> headroom or something? Or about a bad buffer ID (are you applying multiple >>> actions?)? Or do they just segfault? >>> >>> Feel free to send along a capture of the OpenFlow traffic between NOX >>> and the switch (along with the NOX and switch logs if possible), and we can >>> take a look. Though I'd be surprised if it was NOX sending something >>> invalid that was causing your problem. >>> >>> If you can develop a very simple application that crashes the switches, >>> that would be valuable, and you might try sending it to one of the OpenFlow >>> mailing lists too. >>> >>> Any which way, the simplest answer is probably to use Open vSwitch >>> instead of the OpenFlow reference implementation. >>> >>> -- Murphy >>> >>> On Nov 8, 2011, at 1:31 AM, andrea simeoni wrote: >>> >>> > Hi guys, >>> > >>> > I'm running a test with 2 hosts, 2 OF switches and 1 controller. The >>> switches and hosts are on 4 different ubuntu virtual machines and the >>> controller is on the host machine. For switches I use the user space OF >>> implementation. >>> > I modified the simplerouting code to install a OFPP_CONTROLLER action >>> in both switches when a flow needs to be routed. To install actions I use >>> the simple API provided by routeinstaller. It happens that both switches >>> crash and close connection to controller. >>> > I tried the SAME controller on mininet (also with the same network >>> topology) and things seem be working. >>> > Any suggestions? >>> > -- >>> > Andrea Simeoni >>> > _______________________________________________ >>> > nox-dev mailing list >>> > nox-dev@noxrepo.org >>> > http://noxrepo.org/mailman/listinfo/nox-dev >>> >>> >> >> >> -- >> Andrea Simeoni >> >> _______________________________________________ >> nox-dev mailing list >> nox-dev@noxrepo.org >> http://noxrepo.org/mailman/listinfo/nox-dev >> >> > -- Andrea Simeoni
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev