<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">My fork, which I attempted to update for modern POX:<div><a href="https://github.com/MurphyMc/riplpox">https://github.com/MurphyMc/riplpox</a></div><div><br></div><div>It might run on carp, but it was done for dart (and will probably work on eel).</div><div><br></div><div>See my pull request against Brandon's repo for more info:</div><div><a href="https://github.com/brandonheller/riplpox/pull/5">https://github.com/brandonheller/riplpox/pull/5</a></div><div><br></div><div>(I think the short of it was that my updated riplpox works fine, but there seemed to be some incompatibilities with ripl and current versions of Mininet.)</div><div><br></div><div>-- Murphy</div><div><br><div><div>On Apr 16, 2015, at 3:31 AM, david jhon <<a href="mailto:djhon9813@gmail.com">djhon9813@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div><div><div>Thank you very much for your response Murphy, <br><br></div>I have decided to use pox carp branch and running it with the brandonheller(git://<a href="http://github.com/brandonheller/ripl.git">github.com/brandonheller/ripl.git</a>, git://<a href="http://github.com/brandonheller/riplpox.git">github.com/brandonheller/riplpox.git</a>) version of ripL and ripLpox but getting following error on pox controller:<br><br>Traceback (most recent call last):<br> File "/root/pox/pox/lib/revent/revent.py", line 231, in raiseEventNoErrors<br> return self.raiseEvent(event, *args, **kw)<br> File "/root/pox/pox/lib/revent/revent.py", line 278, in raiseEvent<br> rv = event._invoke(handler, *args, **kw)<br> File "/root/pox/pox/lib/revent/revent.py", line 156, in _invoke<br> return handler(self, *args, **kw)<br> File "/root/riplpox/riplpox/riplpox.py", line 344, in _handle_PacketIn<br> self._handle_packet_reactive(event)<br> File "/root/riplpox/riplpox/riplpox.py", line 240, in _handle_packet_reactive<br> self._install_reactive_path(event, out_dpid, out_port, packet)<br> File "/root/riplpox/riplpox/riplpox.py", line 160, in _install_reactive_path<br> IDLE_TIMEOUT)<br> File "/root/riplpox/riplpox/riplpox.py", line 90, in install<br> self.connection.send(msg)<br> File "/root/pox/pox/openflow/of_01.py", line 692, in send<br> data = data.pack()<br> File "/root/pox/pox/openflow/libopenflow_01.py", line 2320, in pack<br> self.flags)<br>error: integer out of range for 'L' format code<br>INFO:.root.riplpox.riplpox:route: ['0_1_1', '0_2_1', '0_0_1']<br><br></div>could you please let me know if it is the right version to be used? I couldn't find RipL and RipLPOX at POX git repository. Or could you please suggest me a fix for this problem? Thanks a lot for your help/suggestions. <br><br></div>Regards,<br></div>David<br><div><br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 16, 2015 at 12:47 PM, Murphy McCauley <span dir="ltr"><<a href="mailto:murphy.mccauley@gmail.com" target="_blank">murphy.mccauley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is the version of POX you're using more than two years old? I think more recent versions are unlikely to have this happen.<br>
<br>
If your POX is old, you could update it (in which case, you'd probably want to run my fork of ripl/riplpox), or you could make the relevant change in your local POX (I think it was a change to HELLO message processing in of_01.py in early 2013).<br>
<br>
Another way to fix this would be to configure OVS to use OpenFlow 1.0 only. This should be something like...<br>
ovs-vsctl set bridge br0 protocols=openflow10<br>
<br>
Except instead of br0, you'll want to do it for every switch that Mininet creates. There may be an easy way to get Mininet to do this, but I don't know it off the top of my head; you might try the Mininet list. Or maybe there's a way to make it the default for OVS; I don't know a way to do that off the top of my head either; you might try the OVS list.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Murphy<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Apr 16, 2015, at 12:32 AM, david jhon <<a href="mailto:djhon9813@gmail.com">djhon9813@gmail.com</a>> wrote:<br>
<br>
> Hi everyone,<br>
><br>
> I am working with openvswitch 2.3.90 and made some changes in vswitch code. I am trying to use ripl and riplpox along with the pox controller but pox throws this error:<br>
><br>
> WARNING:openflow.of_01:Bad OpenFlow version (4) on connection [Con 19/None]<br>
> INFO:openflow.of_01:[Con 19/None] closing connection<br>
><br>
> and does not process any packets. I am building and running ovs by compiling from its source available at its git repository.<br>
><br>
> P.S. I am using following command to start the topology: sudo mn --custom ~/ripl/ripl/mn.py --topo ft,4 --controller=remote --mac<br>
><br>
> and ~/pox/pox.py riplpox.riplpox --topo=ft,4 --routing=hashed --mode=reactive to start the controller.<br>
><br>
> It seems POX does not support 2.3.90 version of openvswitch or what else? Pls let me know if there exist a work around for this. Many thanks!<br>
><br>
> Regards,<br>
> Jhon<br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div>
</blockquote></div><br></div></body></html>