<div dir="ltr">Hello,<div><br></div><div>It seems that your switch probably does not support the type of the message being sent. Looking by the second byte in the error message I can see that the message is of the type OFPT_BARRIER_REQUEST. <br>
<br>I know that <span style="font-family:arial,sans-serif;font-size:12.727272033691406px"> </span><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">HP Pro curve switch doesn't support Barrier requests on OpenFlow 0.9. </span><a href="http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c03170243/c03170243.pdf">http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c03170243/c03170243.pdf</a><span style="font-family:arial,sans-serif;font-size:12.727272033691406px"> <br>
</span><br></div><div><font face="arial, sans-serif">But I can't ensure if it's true for the switch OpenFlow 1.0 firmware.</font></div><div><br></div><div>Regards,<br>Eder. <span style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br>
</span></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 5 July 2013 16:52, Kavit Shah <span dir="ltr"><<a href="mailto:kavit.shah8@gmail.com" target="_blank">kavit.shah8@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Command line with log, my code and screen shot of the wireshrak are attached in the text and png files.<div>
<br></div><div>I am using HP Pro curve switch, i think it supports OF 1.0 spec.</div><div><br></div>
<div> </div><div>#####################################</div><div>#####################################</div><div><br></div><div>Important part of my code in the attached file</div><div><br></div><div>#####################################</div>
<div>#####################################<br><div><br></div><div>Questions:</div><div><br></div><div>1) sendToDPID function is not working the way I expect it to work. According to me if that function works I should see packet out in wireshark.</div>
</div><div><br></div><div>2) Am I extracting dpid of the switch correctly ?</div><div><br></div><div>3) What is the reason for getting an error while switch connects to the POX controller ?</div><div><div><br></div><div>
ERROR:openflow.of_01:[00-16-b9-ce-2f-40|800 1] OpenFlow Error:</div>
<div>[00-16-b9-ce-2f-40|800 1] Error: header:</div><div>[00-16-b9-ce-2f-40|800 1] Error: version: 1</div><div>[00-16-b9-ce-2f-40|800 1] Error: type: 1 (OFPT_ERROR)</div><div>[00-16-b9-ce-2f-40|800 1] Error: length: 20</div>
<div>[00-16-b9-ce-2f-40|800 1] Error: xid: 7</div><div>[00-16-b9-ce-2f-40|800 1] Error: type: OFPET_BAD_REQUEST (1)</div><div>[00-16-b9-ce-2f-40|800 1] Error: code: OFPBRC_BAD_TYPE (1)</div><div>[00-16-b9-ce-2f-40|800 1] Error: datalen: 8</div>
<div>[00-16-b9-ce-2f-40|800 1] Error: 0000: 01 12 00 08 00 00 00 07 ........</div></div><div><br></div><div><br></div></div>
<br>_______________________________________________<br>
openflow-discuss mailing list<br>
<a href="mailto:openflow-discuss@lists.stanford.edu">openflow-discuss@lists.stanford.edu</a><br>
<a href="https://mailman.stanford.edu/mailman/listinfo/openflow-discuss" target="_blank">https://mailman.stanford.edu/mailman/listinfo/openflow-discuss</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Eder Leão Fernandes <br><br>Bacharel em Ciências de Computação<br>Instituto de Ciências Matemáticas e de Computação<br>Universidade de São Paulo<br>
</div></div>