<?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 with create new flow in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/problem-with-create-new-flow/m-p/6424036#M1381</link>
    <description>&lt;P&gt;Hello phoongsaan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your query.&lt;/P&gt;&lt;P&gt;As per the error - "message": "Authentication required" , you have to first get an authentication token by calling the auth api then you can create the flow.&lt;/P&gt;&lt;P&gt;You may have to use authentication json [e.g. { "login": { "user": "sdn", "password": "skyline","domain": "sdn" }}&amp;nbsp; ] to get the token&lt;/P&gt;&lt;P&gt;Please have a look on SDN Controller Programming guide [page 16- Rsdoc Live Reference] .&lt;/P&gt;&lt;P&gt;Please follow the steps and let us know if you are still facing the 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>Tue, 25 Mar 2014 09:56:27 GMT</pubDate>
    <dc:creator>sdnindia</dc:creator>
    <dc:date>2014-03-25T09:56:27Z</dc:date>
    <item>
      <title>Problem with create new flow</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-with-create-new-flow/m-p/6423604#M1380</link>
      <description>&lt;P&gt;Hello everybody,&amp;nbsp;&lt;SPAN&gt;I started evaluating the hp sdn van controller. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a problem, when I create a new flow it will get the response message back&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"error": "com.hp.api.auth.AuthenticationException",&lt;BR /&gt;"message": "Authentication required"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;what should i do ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;thanks eveymuch in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sopon&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2014 02:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-with-create-new-flow/m-p/6423604#M1380</guid>
      <dc:creator>phoongsaan</dc:creator>
      <dc:date>2014-03-25T02:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with create new flow</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-with-create-new-flow/m-p/6424036#M1381</link>
      <description>&lt;P&gt;Hello phoongsaan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your query.&lt;/P&gt;&lt;P&gt;As per the error - "message": "Authentication required" , you have to first get an authentication token by calling the auth api then you can create the flow.&lt;/P&gt;&lt;P&gt;You may have to use authentication json [e.g. { "login": { "user": "sdn", "password": "skyline","domain": "sdn" }}&amp;nbsp; ] to get the token&lt;/P&gt;&lt;P&gt;Please have a look on SDN Controller Programming guide [page 16- Rsdoc Live Reference] .&lt;/P&gt;&lt;P&gt;Please follow the steps and let us know if you are still facing the 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>Tue, 25 Mar 2014 09:56:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-with-create-new-flow/m-p/6424036#M1381</guid>
      <dc:creator>sdnindia</dc:creator>
      <dc:date>2014-03-25T09:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with create new flow</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-with-create-new-flow/m-p/6432994#M1382</link>
      <description>&lt;P&gt;Thanks so much for the solution. Now, I try to add the new flow ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"flow": {&lt;BR /&gt;"priority": 30000,&lt;BR /&gt;"table_id": 200,&lt;BR /&gt;"idle_timeout": 60,&lt;BR /&gt;"match": [&lt;BR /&gt;{"ipv4_src": "192.168.1.20"},&lt;BR /&gt;{"ipv4_dst": "192.168.1.10"},&lt;BR /&gt;{"ip_proto": "tcp"},&lt;BR /&gt;{"eth_type": "ipv4"},&lt;BR /&gt;{"tcp_dst": "80"}&lt;BR /&gt;],&lt;BR /&gt;"instructions": [{"apply_actions": [{"output": 5}]}]&lt;BR /&gt;}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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>Tue, 01 Apr 2014 08:14:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-with-create-new-flow/m-p/6432994#M1382</guid>
      <dc:creator>phoongsaan</dc:creator>
      <dc:date>2014-04-01T08:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with create new flow</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-with-create-new-flow/m-p/6435040#M1383</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;&amp;nbsp;&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:30:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-with-create-new-flow/m-p/6435040#M1383</guid>
      <dc:creator>sdnindia</dc:creator>
      <dc:date>2014-04-02T14:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with create new flow</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-with-create-new-flow/m-p/6449524#M1384</link>
      <description>&lt;P&gt;Hi phoongsaan,&lt;BR /&gt;&lt;BR /&gt;Doing a follow up to see if previous post helps you.&lt;BR /&gt;Please let us know if your problem is solved or you still have some problem.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;HP SDN Team&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2014 10:25:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-with-create-new-flow/m-p/6449524#M1384</guid>
      <dc:creator>sdnindia</dc:creator>
      <dc:date>2014-04-16T10:25:18Z</dc:date>
    </item>
  </channel>
</rss>

