<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem when adding flow in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/problem-when-adding-flow/m-p/6434284#M1405</link>
    <description>I believe that you are using OpenFlow version 1.0 and these commands are for 1.3</description>
    <pubDate>Wed, 02 Apr 2014 02:33:14 GMT</pubDate>
    <dc:creator>armandom</dc:creator>
    <dc:date>2014-04-02T02:33:14Z</dc:date>
    <item>
      <title>Problem when adding flow</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-when-adding-flow/m-p/6434268#M1404</link>
      <description>&lt;P&gt;Hello guy, i had try using rest api (datapath) for adding the flow with the following command :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"flow": {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"priority": 30000,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"table_id": 200,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"idle_timeout": 60,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"match": [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"ipv4_src": "192.168.1.20"},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"ipv4_dst": "192.168.1.10"},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"ip_proto": "tcp"},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"eth_type": "ipv4"},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"tcp_dst": "80"}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"instructions": [{"apply_actions": [{"output": 5}]}]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, it reply me with the response code "400", &amp;nbsp;What &amp;nbsp;should I do?, I already attach the picture of what happen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 01:40:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-when-adding-flow/m-p/6434268#M1404</guid>
      <dc:creator>phoongsaan</dc:creator>
      <dc:date>2014-04-02T01:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when adding flow</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-when-adding-flow/m-p/6434284#M1405</link>
      <description>I believe that you are using OpenFlow version 1.0 and these commands are for 1.3</description>
      <pubDate>Wed, 02 Apr 2014 02:33:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-when-adding-flow/m-p/6434284#M1405</guid>
      <dc:creator>armandom</dc:creator>
      <dc:date>2014-04-02T02:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when adding flow</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-when-adding-flow/m-p/6435048#M1406</link>
      <description>&lt;P&gt;Hello phoongsaan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the error message “Not supported before&amp;nbsp; version 1.1” , it is clear that the API needs a version &amp;nbsp;OpenFlow 1.1 or above.&lt;/P&gt;&lt;P&gt;By using the&amp;nbsp; GET&amp;nbsp; /of/datapaths REST API you can check the OpenFlow version. After calling this api&amp;nbsp; , in the response body you can see negotiated version which is the OpenFlow version. [for e.g. 1.0.0]&lt;/P&gt;&lt;P&gt;In your json you have table_id field which is supported only in&amp;nbsp; OpenFlow 1.1&amp;nbsp; and above.So you get the error.&lt;/P&gt;&lt;P&gt;You can either try the api with OpenFlow &amp;nbsp;1.1 and above or you can modify the call for 1.0.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A sample json for OpenFlow 1.0.0 is as below ,you might need to modify accordingly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"flow": {&lt;/P&gt;&lt;P&gt;"priority": 30000,&lt;/P&gt;&lt;P&gt;"idle_timeout": 60,&lt;/P&gt;&lt;P&gt;"match": [&lt;/P&gt;&lt;P&gt;{"ipv4_src": "10.0.0.1"},&lt;/P&gt;&lt;P&gt;{"ipv4_dst": "10.0.0.22"},&lt;/P&gt;&lt;P&gt;{"ip_proto": "tcp"},&lt;/P&gt;&lt;P&gt;{"eth_type": "ipv4"},&lt;/P&gt;&lt;P&gt;{"tcp_dst": "80"}&lt;/P&gt;&lt;P&gt;],&lt;/P&gt;&lt;P&gt;"actions": [{"output": 1}]&lt;/P&gt;&lt;P&gt;}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let us know if you still face some problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;HP SDN Team&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 14:32:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-when-adding-flow/m-p/6435048#M1406</guid>
      <dc:creator>sdnindia</dc:creator>
      <dc:date>2014-04-02T14:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when adding flow</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-when-adding-flow/m-p/6436050#M1407</link>
      <description>&lt;P&gt;Hey guy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had the same problem with Phongsaaan, The problem is solved by adding the flow as you said.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I try to delete the flow by the RestAPI. But the DELETE /of/datapaths/{dpid}/flow is not clickable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know why ,Is it suppose to be like this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also what is the DELETE flow to put in, since I also use openflow version 1.0.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2014 09:56:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-when-adding-flow/m-p/6436050#M1407</guid>
      <dc:creator>Duiz</dc:creator>
      <dc:date>2014-04-03T09:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when adding flow</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-when-adding-flow/m-p/6437040#M1408</link>
      <description>&lt;P&gt;The problem is already solve...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Form of the flow is basically the same as the adding the flow as mentions above. I different of the DELETE flow is we need to change of GET to DELETE.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks anyway&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 06:14:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-when-adding-flow/m-p/6437040#M1408</guid>
      <dc:creator>Duiz</dc:creator>
      <dc:date>2014-04-04T06:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when adding flow</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-when-adding-flow/m-p/6453612#M1409</link>
      <description>&lt;P&gt;Hello Duiz,&lt;BR /&gt;&lt;BR /&gt;We are glad that your problem is solved.&lt;BR /&gt;Please do let us know if you need further assistance.&lt;BR /&gt;&lt;BR /&gt;Please feel free to reply incase you have more questions around the same topic or open a new thread if new topic.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;HP SDN Team&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2014 10:28:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-when-adding-flow/m-p/6453612#M1409</guid>
      <dc:creator>sdnindia</dc:creator>
      <dc:date>2014-04-22T10:28:38Z</dc:date>
    </item>
  </channel>
</rss>

