<?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: Two instructions into an apply in a flowMod in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/two-instructions-into-an-apply-in-a-flowmod/m-p/6481144#M292</link>
    <description>&lt;P&gt;switches are: HP 3500-24G and HP 3800-24G-2SFP.&lt;/P&gt;&lt;P&gt;version is&amp;nbsp;KA.15.15.0006.&lt;/P&gt;&lt;P&gt;With CURL it works, the problem is from my contoler code.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 May 2014 12:15:33 GMT</pubDate>
    <dc:creator>sbotkine</dc:creator>
    <dc:date>2014-05-20T12:15:33Z</dc:date>
    <item>
      <title>Two instructions into an apply in a flowMod</title>
      <link>https://community.hpe.com/t5/software-defined-networking/two-instructions-into-an-apply-in-a-flowmod/m-p/6447232#M236</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create the following apply instruction in a FlowMod:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[{"apply_actions":[{"output":5},&amp;nbsp;{"output":4294967293}]}]&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;4294967293 is the controller port.&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;With the following instructions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Action action1 = ActionFactory.createAction(version, ActionType.OUTPUT, Port.CONTROLLER, ActOutput.CONTROLLER_NO_BUFFER);&lt;/P&gt;&lt;P&gt;Action action2 = ActionFactory.createAction(version, ActionType.OUTPUT, BigPortNumber.valueOf(5), ActOutput.CONTROLLER_NO_BUFFER);&lt;/P&gt;&lt;P&gt;InstrMutableAction apply = createMutableInstruction(PV,InstructionType.APPLY_ACTIONS);&lt;/P&gt;&lt;P&gt;&amp;nbsp;apply.addAction(action2);&lt;/P&gt;&lt;P&gt;apply.addAction(action1);&lt;/P&gt;&lt;P&gt;List&amp;lt;Instruction&amp;gt; ins =&amp;nbsp;new&amp;nbsp;ArrayList&amp;lt;Instruction&amp;gt;();&lt;/P&gt;&lt;P&gt;ins.add((Instruction) apply.toImmutable());&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It doesn't work.&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;However if I put &amp;nbsp;port 5 and port 9 (for example)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Action action1 = ActionFactory.createAction(version, ActionType.&lt;SPAN&gt;OUTPUT&lt;/SPAN&gt;, BigPortNumber.valueOf(9), ActOutput.&lt;SPAN&gt;CONTROLLER_NO_BUFFER&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;Action action2 = ActionFactory.createAction(version, ActionType.&lt;SPAN&gt;OUTPUT&lt;/SPAN&gt;, BigPortNumber.valueOf(5), ActOutput.&lt;SPAN&gt;CONTROLLER_NO_BUFFER&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;InstrMutableAction apply = createMutableInstruction(PV,InstructionType.&lt;SPAN&gt;APPLY_ACTIONS&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;apply.addAction(action2);&lt;/P&gt;&lt;P&gt;apply.addAction(action1);&lt;/P&gt;&lt;P&gt;List&amp;lt;Instruction&amp;gt; ins = &lt;SPAN&gt;new&lt;/SPAN&gt; ArrayList&amp;lt;Instruction&amp;gt;();&lt;/P&gt;&lt;P&gt;ins.add((Instruction) apply.toImmutable());&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you see a problem ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Serge&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: &amp;nbsp;[{"apply_actions":[{"output":5},&amp;nbsp;{"output":4294967293}]}] &amp;nbsp;works sometimes depending on the selected "Match" on the flowmod. With &amp;nbsp;a match like&amp;nbsp;&lt;SPAN&gt;[{"eth_type":"arp"},{"arp_op":1}] it works, but for a match like &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;[{"eth_type":"ipv4"},{"ip_proto":"udp"},{"udp_dst":98}] it doesn't work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2014 13:09:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/two-instructions-into-an-apply-in-a-flowmod/m-p/6447232#M236</guid>
      <dc:creator>sbotkine</dc:creator>
      <dc:date>2014-04-14T13:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Two instructions into an apply in a flowMod</title>
      <link>https://community.hpe.com/t5/software-defined-networking/two-instructions-into-an-apply-in-a-flowmod/m-p/6468742#M271</link>
      <description>&lt;P&gt;Serge,&lt;/P&gt;&lt;P&gt;Have you attempted the FlowMod in the RSDOC interface to see if you get the same behavior?&lt;/P&gt;&lt;P&gt;What switch (model and OS version) is this attempted on?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2014 20:14:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/two-instructions-into-an-apply-in-a-flowmod/m-p/6468742#M271</guid>
      <dc:creator>ScottReeve</dc:creator>
      <dc:date>2014-05-07T20:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Two instructions into an apply in a flowMod</title>
      <link>https://community.hpe.com/t5/software-defined-networking/two-instructions-into-an-apply-in-a-flowmod/m-p/6479774#M285</link>
      <description>&lt;P&gt;Hello Serge,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Doing a follow up to check if you get any chance to get relevant information as Scott had asked for.&lt;/P&gt;&lt;P&gt;If yes please do help us with the information requested in the earlier post from Scott &amp;nbsp;to take this further.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please also let us know if you have already resolved the issue.&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>Mon, 19 May 2014 09:53:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/two-instructions-into-an-apply-in-a-flowmod/m-p/6479774#M285</guid>
      <dc:creator>sdnindia</dc:creator>
      <dc:date>2014-05-19T09:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Two instructions into an apply in a flowMod</title>
      <link>https://community.hpe.com/t5/software-defined-networking/two-instructions-into-an-apply-in-a-flowmod/m-p/6480444#M290</link>
      <description>&lt;P&gt;Hi Serge&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Out of curiosity on what kind of switch are you attempting it and what software version is it running ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Gerhard&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2014 19:47:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/two-instructions-into-an-apply-in-a-flowmod/m-p/6480444#M290</guid>
      <dc:creator>Gerhard Roets</dc:creator>
      <dc:date>2014-05-19T19:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Two instructions into an apply in a flowMod</title>
      <link>https://community.hpe.com/t5/software-defined-networking/two-instructions-into-an-apply-in-a-flowmod/m-p/6481144#M292</link>
      <description>&lt;P&gt;switches are: HP 3500-24G and HP 3800-24G-2SFP.&lt;/P&gt;&lt;P&gt;version is&amp;nbsp;KA.15.15.0006.&lt;/P&gt;&lt;P&gt;With CURL it works, the problem is from my contoler code.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2014 12:15:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/two-instructions-into-an-apply-in-a-flowmod/m-p/6481144#M292</guid>
      <dc:creator>sbotkine</dc:creator>
      <dc:date>2014-05-20T12:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Two instructions into an apply in a flowMod</title>
      <link>https://community.hpe.com/t5/software-defined-networking/two-instructions-into-an-apply-in-a-flowmod/m-p/6485644#M298</link>
      <description>&lt;P&gt;Serge,&lt;/P&gt;&lt;P&gt;Can you obtain the following:&lt;/P&gt;&lt;P&gt;1) debug logging on the procurve switch&lt;/P&gt;&lt;P&gt;2) wireshark trace (of the communication between the switch and the controller) &amp;nbsp;This can be run on the controller.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Debugging on the switch:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;debug destination session&lt;/P&gt;&lt;P&gt;debug openflow errors&lt;/P&gt;&lt;P&gt;debug openflow events&lt;/P&gt;&lt;P&gt;debug openflow packets&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And can do the captures (debug and wireshark) for 1) a good case (like with CURL) and 2) a broken case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2014 22:09:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/two-instructions-into-an-apply-in-a-flowmod/m-p/6485644#M298</guid>
      <dc:creator>ScottReeve</dc:creator>
      <dc:date>2014-05-23T22:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Two instructions into an apply in a flowMod</title>
      <link>https://community.hpe.com/t5/software-defined-networking/two-instructions-into-an-apply-in-a-flowmod/m-p/6511768#M324</link>
      <description>&lt;P&gt;Hello Serge,&lt;BR /&gt;&lt;BR /&gt;Doing a follow up to check if you get any chance to get relevant information as Scott had asked for.&lt;BR /&gt;If yes please do help us with the information requested in the earlier post from Scott&amp;nbsp; to take this further.&lt;BR /&gt;&lt;BR /&gt;Please also let us know if you have already resolved the issue.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;HP SDN Team&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2014 07:52:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/two-instructions-into-an-apply-in-a-flowmod/m-p/6511768#M324</guid>
      <dc:creator>sdnindia</dc:creator>
      <dc:date>2014-06-17T07:52:41Z</dc:date>
    </item>
  </channel>
</rss>

