<?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 Problem by adding Netmasks to Ipv4-Match Fields in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/problem-by-adding-netmasks-to-ipv4-match-fields/m-p/6980771#M2219</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I try to add a Flow, via RSdoc REST-API at HPE SDN-Controller V 2.17.18, to my HPE 2920 Switch. I tried it like this:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"flow":{&lt;BR /&gt;"priority":50000,&lt;BR /&gt;"hard_timeout":60,&lt;BR /&gt;"table_id":100,&lt;BR /&gt;"match":[&lt;BR /&gt;{"ipv4_src": "192.168.59.10&lt;FONT color="#FF0000"&gt;/24&lt;/FONT&gt;"},&lt;BR /&gt;&lt;SPAN&gt;{"ipv4_dst": "192.168.58.10&lt;FONT color="#FF0000"&gt;/24&lt;/FONT&gt;"},&lt;/SPAN&gt;&lt;BR /&gt;{ "eth_type": "ipv4"},],&lt;BR /&gt;"instructions":[&lt;BR /&gt;{ "apply_actions":[{"output":23}]}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Even I tried /255.255.255.0 instead of /24. Both did not work with netmasks, but without them the flow is able to be send to the switch. The error Response Body says:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"error": "java.lang.IllegalArgumentException",&lt;BR /&gt;"message": "Unsupported customized Match Field ipv4_src"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Does someone know the right syntax?&lt;/P&gt;&lt;P&gt;Regards Tobias&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Oct 2017 09:46:40 GMT</pubDate>
    <dc:creator>Tobias-hab</dc:creator>
    <dc:date>2017-10-23T09:46:40Z</dc:date>
    <item>
      <title>Problem by adding Netmasks to Ipv4-Match Fields</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-by-adding-netmasks-to-ipv4-match-fields/m-p/6980771#M2219</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I try to add a Flow, via RSdoc REST-API at HPE SDN-Controller V 2.17.18, to my HPE 2920 Switch. I tried it like this:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"flow":{&lt;BR /&gt;"priority":50000,&lt;BR /&gt;"hard_timeout":60,&lt;BR /&gt;"table_id":100,&lt;BR /&gt;"match":[&lt;BR /&gt;{"ipv4_src": "192.168.59.10&lt;FONT color="#FF0000"&gt;/24&lt;/FONT&gt;"},&lt;BR /&gt;&lt;SPAN&gt;{"ipv4_dst": "192.168.58.10&lt;FONT color="#FF0000"&gt;/24&lt;/FONT&gt;"},&lt;/SPAN&gt;&lt;BR /&gt;{ "eth_type": "ipv4"},],&lt;BR /&gt;"instructions":[&lt;BR /&gt;{ "apply_actions":[{"output":23}]}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Even I tried /255.255.255.0 instead of /24. Both did not work with netmasks, but without them the flow is able to be send to the switch. The error Response Body says:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"error": "java.lang.IllegalArgumentException",&lt;BR /&gt;"message": "Unsupported customized Match Field ipv4_src"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Does someone know the right syntax?&lt;/P&gt;&lt;P&gt;Regards Tobias&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 09:46:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-by-adding-netmasks-to-ipv4-match-fields/m-p/6980771#M2219</guid>
      <dc:creator>Tobias-hab</dc:creator>
      <dc:date>2017-10-23T09:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem by adding Netmasks to Ipv4-Match Fields</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-by-adding-netmasks-to-ipv4-match-fields/m-p/6980833#M2221</link>
      <description>&lt;P&gt;I think you have to specify the mask separately:&lt;/P&gt;&lt;PRE&gt;{
  "flow":{
    "priority":50000,
    "hard_timeout":60,
    "table_id":100,
    "match":[
      {"ipv4_src": "192.168.59.10", "mask": "255.255.255.0"},
      {"ipv4_dst": "192.168.58.10", "mask": "255.255.255.0"},
      { "eth_type": "ipv4"},],
      "instructions":[
        { "apply_actions":[{"output":23}]}
      ]
   }
}&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Oct 2017 14:37:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-by-adding-netmasks-to-ipv4-match-fields/m-p/6980833#M2221</guid>
      <dc:creator>checho</dc:creator>
      <dc:date>2017-10-23T14:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem by adding Netmasks to Ipv4-Match Fields</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-by-adding-netmasks-to-ipv4-match-fields/m-p/6981024#M2224</link>
      <description>&lt;P&gt;Thanks Checho,&lt;/P&gt;&lt;P&gt;just remove the comma between the two closing brackets here&amp;nbsp;{ "eth_type": "ipv4"&lt;FONT color="#FF0000"&gt;} , ]&lt;/FONT&gt; , and it works fine for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 07:07:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-by-adding-netmasks-to-ipv4-match-fields/m-p/6981024#M2224</guid>
      <dc:creator>Tobias-hab</dc:creator>
      <dc:date>2017-10-25T07:07:07Z</dc:date>
    </item>
  </channel>
</rss>

