<?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: Adding flows with action type &amp;quot;group&amp;quot; in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/adding-flows-with-action-type-quot-group-quot/m-p/6397785#M1318</link>
    <description>&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Please let us know if your problem is solved.&lt;/P&gt;&lt;P&gt;Please feel free to reply incase you have more questions around the same topic or open a new thread if new&amp;nbsp;topic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you feel your question has been answered, please do let us know by marking this response as an&amp;nbsp; accepted solution.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;HP SDN Team&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 03 Mar 2014 18:58:20 GMT</pubDate>
    <dc:creator>sdnindia</dc:creator>
    <dc:date>2014-03-03T18:58:20Z</dc:date>
    <item>
      <title>Adding flows with action type "group"</title>
      <link>https://community.hpe.com/t5/software-defined-networking/adding-flows-with-action-type-quot-group-quot/m-p/6389499#M1316</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a trouble adding a flow with action type "group", both via the HP VAN controller and Rsdoc. I will just use the Rsdoc one to ask my question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I go to:&lt;/P&gt;&lt;P&gt;https://&amp;lt;controller_IP&amp;gt;:8443/api&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and use this api to add a flow:&lt;/P&gt;&lt;P&gt;/of/datapaths/&amp;lt;my_dpid&amp;gt;/flows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"flow": {&lt;BR /&gt;"priority": 3,&lt;BR /&gt;"table_id": 0,&lt;BR /&gt;"idle_timeout": 60,&lt;BR /&gt;"match": [&lt;BR /&gt;{"ipv4_src": "10.0.0.1"},&lt;BR /&gt;{"ipv4_dst": "10.0.0.22"},&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": [{"group": 101}]}]&lt;BR /&gt;}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This gives me an error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;  "error": "java.lang.IllegalArgumentException",&lt;BR /&gt;  "message": "{ofm:[V_1_3,ERROR,76,4959],BAD_ACTION/BAD_TYPE,#dataBytes=64,OFM-cause:[V_1_3,FLOW_MOD,104,4959]}"&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adding a flow entry with &lt;SPAN&gt;{"apply_actions": [{"output": 10}]} works fine. Does this mean the physical switch I am using does not support adding a flow entry with an action type "group"? &amp;nbsp;I figured out the controller supports it by viewing:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;https://&amp;lt;controller_ip&amp;gt;:8443/sdn/v2.0/models&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI, listing the group entries displays this (this shows that I was able to insert group table entries):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/of/datapaths/&lt;SPAN&gt;&amp;lt;my_dpid&amp;gt;&lt;/SPAN&gt;/groups&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;  "version": "1.3.0",&lt;BR /&gt;  "groups": [&lt;BR /&gt;    {&lt;BR /&gt;      "id": 100,&lt;BR /&gt;      "type": "all",&lt;BR /&gt;      "buckets": [&lt;BR /&gt;        {&lt;BR /&gt;          "weight": 0,&lt;BR /&gt;          "watch_group": 4294967295,&lt;BR /&gt;          "watch_port": 0,&lt;BR /&gt;          "actions": [&lt;BR /&gt;            {&lt;BR /&gt;              "output": 23&lt;BR /&gt;            }&lt;BR /&gt;          ]&lt;BR /&gt;        }&lt;BR /&gt;      ]&lt;BR /&gt;    },&lt;BR /&gt;    {&lt;BR /&gt;      "id": 101,&lt;BR /&gt;      "type": "all",&lt;BR /&gt;      "buckets": [&lt;BR /&gt;        {&lt;BR /&gt;          "weight": 0,&lt;BR /&gt;          "watch_group": 4294967295,&lt;BR /&gt;          "watch_port": 0,&lt;BR /&gt;          "actions": [&lt;BR /&gt;            {&lt;BR /&gt;              "output": 23&lt;BR /&gt;            }&lt;BR /&gt;          ]&lt;BR /&gt;        }&lt;BR /&gt;      ]&lt;BR /&gt;    }&lt;BR /&gt;  ]&lt;BR /&gt;}&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Feb 2014 08:02:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/adding-flows-with-action-type-quot-group-quot/m-p/6389499#M1316</guid>
      <dc:creator>JoonKim</dc:creator>
      <dc:date>2014-02-25T08:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding flows with action type "group"</title>
      <link>https://community.hpe.com/t5/software-defined-networking/adding-flows-with-action-type-quot-group-quot/m-p/6390831#M1317</link>
      <description>&lt;P&gt;Solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone else is having a same problem, use "write_action" instead of "apply_action" in the instruction set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g.,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"instructions": [{"write_actions": [{"group": 101}]}]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2014 21:34:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/adding-flows-with-action-type-quot-group-quot/m-p/6390831#M1317</guid>
      <dc:creator>JoonKim</dc:creator>
      <dc:date>2014-02-25T21:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adding flows with action type "group"</title>
      <link>https://community.hpe.com/t5/software-defined-networking/adding-flows-with-action-type-quot-group-quot/m-p/6397785#M1318</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Please let us know if your problem is solved.&lt;/P&gt;&lt;P&gt;Please feel free to reply incase you have more questions around the same topic or open a new thread if new&amp;nbsp;topic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you feel your question has been answered, please do let us know by marking this response as an&amp;nbsp; accepted solution.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;HP SDN Team&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Mar 2014 18:58:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/adding-flows-with-action-type-quot-group-quot/m-p/6397785#M1318</guid>
      <dc:creator>sdnindia</dc:creator>
      <dc:date>2014-03-03T18:58:20Z</dc:date>
    </item>
  </channel>
</rss>

