<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:39 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[OPNFLWPLUG-886] opendaylight-direct-statistics:get-flow-statistics gets BADMATCH/BADLEN error</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-886</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;opendaylight-direct-statistics:get-flow-statistics RPC always returns BADMATCH/BADLEN error if match field is missing in its input.&lt;/p&gt;

&lt;p&gt;  POST /restconf/operations/opendaylight-direct-statistics:get-flow-statistics&lt;br/&gt;
  Body:&lt;br/&gt;
    {&lt;br/&gt;
      &quot;input&quot;: &lt;/p&gt;
{
        &quot;node&quot;: &quot;/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id=\&quot;openflow:1\&quot;]&quot;
      }
&lt;p&gt;    }&lt;/p&gt;

&lt;p&gt;  Result:&lt;br/&gt;
    {&lt;br/&gt;
      &quot;errors&quot;: {&lt;br/&gt;
        &quot;error&quot;: [&lt;/p&gt;
          {
            &quot;error-type&quot;: &quot;application&quot;,
            &quot;error-tag&quot;: &quot;operation-failed&quot;,
            &quot;error-message&quot;: &quot;Device reported error type BADMATCH code BADLEN&quot;
            &quot;error-info&quot;: &quot;org.opendaylight.openflowjava.protocol.api.connection.DeviceRequestFailedException: Device-side failure...&quot;
          }
&lt;p&gt;        ]&lt;br/&gt;
      }&lt;br/&gt;
    }&lt;/p&gt;

&lt;p&gt;I captured secure channel, then I observed that above RPC call sent a malformed MULTIPART_REQUEST (OFPMP_FLOW) message.&lt;/p&gt;

&lt;p&gt;        0x0000:  000c 297f 0c59 0050 56e1 e5c2 0800 4500  ..)..Y.PV.....E.&lt;br/&gt;
        0x0010:  0058 7eba 0000 8006 b6d7 0a3a c443 ac10  .X~........:.C..&lt;br/&gt;
        0x0020:  8a80 19e9 9a99 2986 4bdc d7cb 9aca 5018  ......).K.....P.&lt;br/&gt;
        0x0030:  faf0 f8ad 0000 0412 0030 0000 1730 0001  .........0...0..&lt;br/&gt;
        0x0040:  0000 0000 0000 ff00 0000 ffff ffff ffff  ................&lt;br/&gt;
        0x0050:  ffff 0000 0000 0000 0000 0000 0000 0000  ................&lt;br/&gt;
        0x0060:  0000 0000 0000                           ......&lt;/p&gt;

&lt;p&gt;&quot;match&quot; field is missing in ofp_flow_stats_request.&lt;/p&gt;

&lt;p&gt;    table_id&lt;br/&gt;
                                ff&lt;br/&gt;
    pad&lt;span class=&quot;error&quot;&gt;&amp;#91;3&amp;#93;&lt;/span&gt;&lt;br/&gt;
                                  00 0000&lt;br/&gt;
    out_port&lt;br/&gt;
                                          ffff ffff&lt;br/&gt;
    out_group&lt;br/&gt;
                                                    ffff  ................&lt;br/&gt;
        0x0050:  ffff&lt;br/&gt;
    pad2&lt;span class=&quot;error&quot;&gt;&amp;#91;4&amp;#93;&lt;/span&gt;&lt;br/&gt;
                      0000 0000&lt;br/&gt;
    cookie&lt;br/&gt;
                                0000 0000 0000 0000&lt;br/&gt;
    cookie_mask&lt;br/&gt;
                                                    0000  ................&lt;br/&gt;
        0x0060:  0000 0000 0000                           ......&lt;/p&gt;

&lt;p&gt;This issue should be fixed the following patch.&lt;/p&gt;

&lt;p&gt;    &lt;a href=&quot;https://git.opendaylight.org/gerrit/54789&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/54789&lt;/a&gt;  (master)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28154">OPNFLWPLUG-886</key>
            <summary>opendaylight-direct-statistics:get-flow-statistics gets BADMATCH/BADLEN error</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="yasuda">Shigeru Yasuda</reporter>
                        <labels>
                    </labels>
                <created>Thu, 27 Apr 2017 13:46:52 +0000</created>
                <updated>Mon, 27 Sep 2021 09:02:02 +0000</updated>
                            <resolved>Mon, 8 May 2017 02:19:20 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="58918" author="yasuda" created="Mon, 8 May 2017 02:19:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/56183&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/56183&lt;/a&gt;  (stable/carbon)&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8319</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=8319]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i033x3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>