<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:46:08 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>[TSDR-15] TSDR Query output does not match RK value in some specific cases</title>
                <link>https://jira.opendaylight.org/browse/TSDR-15</link>
                <project id="10179" key="TSDR">tsdr</project>
                    <description>&lt;p&gt;1) Try FLOWTABLE STATS Query with Table:0 , it returns all the Table Values&lt;/p&gt;

&lt;p&gt;curl -G -v  -X GET -H &quot;Accept: application/json&quot; -H &quot;Content-Type application/json&quot; &quot;http://10.16.148.236:8181/tsdr/metrics/query&quot;  --data-urlencode &quot;tsdrkey=&lt;span class=&quot;error&quot;&gt;&amp;#91;NID=openflow:1&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;DC=&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;MN=FLOWTABLESTATS&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;RK=Table:0&amp;#93;&lt;/span&gt;&quot; --data-urlencode &quot;from=1453384405&quot; --data-urlencode &quot;until=1453446951&quot;     &lt;/p&gt;



&lt;p&gt;  {&lt;br/&gt;
    &quot;metricName&quot;: &quot;PacketLookup&quot;,&lt;br/&gt;
    &quot;metricValue&quot;: 0,&lt;br/&gt;
    &quot;timeStamp&quot;: &quot;Fri Jan 22 12:44:36 IST 2016&quot;,&lt;br/&gt;
    &quot;nodeID&quot;: &quot;openflow:1&quot;,&lt;br/&gt;
    &quot;tsdrDataCategory&quot;: &quot;FLOWTABLESTATS&quot;,&lt;br/&gt;
    &quot;recordKeys&quot;: [&lt;br/&gt;
      &lt;/p&gt;
{
        &quot;keyName&quot;: &quot;Node&quot;,
        &quot;keyValue&quot;: &quot;openflow:1&quot;
      }
&lt;p&gt;,&lt;/p&gt;
      {
        &quot;keyName&quot;: &quot;Table&quot;,
        &quot;keyValue&quot;: &quot;150&quot;
      }
&lt;p&gt;    ]&lt;br/&gt;
  },&lt;br/&gt;
  {&lt;br/&gt;
    &quot;metricName&quot;: &quot;PacketLookup&quot;,&lt;br/&gt;
    &quot;metricValue&quot;: 0,&lt;br/&gt;
    &quot;timeStamp&quot;: &quot;Fri Jan 22 12:44:51 IST 2016&quot;,&lt;br/&gt;
    &quot;nodeID&quot;: &quot;openflow:1&quot;,&lt;br/&gt;
    &quot;tsdrDataCategory&quot;: &quot;FLOWTABLESTATS&quot;,&lt;br/&gt;
    &quot;recordKeys&quot;: [&lt;br/&gt;
      &lt;/p&gt;
{
        &quot;keyName&quot;: &quot;Node&quot;,
        &quot;keyValue&quot;: &quot;openflow:1&quot;
      }
&lt;p&gt;,&lt;/p&gt;
      {
        &quot;keyName&quot;: &quot;Table&quot;,
        &quot;keyValue&quot;: &quot;150&quot;
      }
&lt;p&gt;    ]&lt;br/&gt;
  }&lt;/p&gt;


&lt;p&gt;2) Node ID matches the prefix&lt;/p&gt;

&lt;p&gt;curl -G -v  -X GET -H &quot;Accept: application/json&quot; -H &quot;Content-Type application/json&quot; &quot;http://10.16.148.236:8181/tsdr/metrics/query&quot;  --data-urlencode &quot;tsdrkey=&lt;span class=&quot;error&quot;&gt;&amp;#91;NID=openflow:1&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;DC=&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;MN=FLOWTABLESTATS&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;RK=Table:0&amp;#93;&lt;/span&gt;&quot; --data-urlencode &quot;from=0&quot; --data-urlencode &quot;until=now&quot; &lt;/p&gt;


&lt;p&gt;Here NID is openflow:1 and it matches all nodes with 1*&lt;/p&gt;

&lt;p&gt;&amp;lt;snippet output&amp;gt;&lt;/p&gt;

&lt;p&gt;  {&lt;br/&gt;
    &quot;metricName&quot;: &quot;ActiveFlows&quot;,&lt;br/&gt;
    &quot;metricValue&quot;: 0,&lt;br/&gt;
    &quot;timeStamp&quot;: &quot;Fri Jan 22 12:56:37 IST 2016&quot;,&lt;br/&gt;
    &quot;nodeID&quot;: &quot;openflow:10&quot;,&lt;br/&gt;
    &quot;tsdrDataCategory&quot;: &quot;FLOWTABLESTATS&quot;,&lt;br/&gt;
    &quot;recordKeys&quot;: [&lt;br/&gt;
      &lt;/p&gt;
{
        &quot;keyName&quot;: &quot;Node&quot;,
        &quot;keyValue&quot;: &quot;openflow:10&quot;
      }
&lt;p&gt;,&lt;/p&gt;
      {
        &quot;keyName&quot;: &quot;Table&quot;,
        &quot;keyValue&quot;: &quot;71&quot;
      }
&lt;p&gt;    ]&lt;br/&gt;
  },&lt;br/&gt;
  {&lt;br/&gt;
    &quot;metricName&quot;: &quot;ActiveFlows&quot;,&lt;br/&gt;
    &quot;metricValue&quot;: 0,&lt;br/&gt;
    &quot;timeStamp&quot;: &quot;Fri Jan 22 12:56:52 IST 2016&quot;,&lt;br/&gt;
    &quot;nodeID&quot;: &quot;openflow:10&quot;,&lt;br/&gt;
    &quot;tsdrDataCategory&quot;: &quot;FLOWTABLESTATS&quot;,&lt;br/&gt;
    &quot;recordKeys&quot;: [&lt;br/&gt;
      &lt;/p&gt;
{
        &quot;keyName&quot;: &quot;Node&quot;,
        &quot;keyValue&quot;: &quot;openflow:10&quot;
      }
&lt;p&gt;,&lt;/p&gt;
      {
        &quot;keyName&quot;: &quot;Table&quot;,
        &quot;keyValue&quot;: &quot;71&quot;
      }
&lt;p&gt;    ]&lt;br/&gt;
  }&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26779">TSDR-15</key>
            <summary>TSDR Query output does not match RK value in some specific cases</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="saichler@cisco.com">Sharon Aicler</assignee>
                                    <reporter username="prem.annauniv@gmail.com">premnath sundarababu</reporter>
                        <labels>
                    </labels>
                <created>Fri, 22 Jan 2016 07:36:39 +0000</created>
                <updated>Wed, 10 Feb 2016 12:52:05 +0000</updated>
                            <resolved>Wed, 10 Feb 2016 12:52:05 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="53793" author="yulingchen54@gmail.com" created="Wed, 3 Feb 2016 05:41:09 +0000"  >&lt;p&gt;A couple of patch sets merged lately should have fixed this issue.&lt;/p&gt;

&lt;p&gt;I tested with NetFlow type of data with HBase, and here is the correct result:&lt;/p&gt;

&lt;p&gt;yuling@yuling-Precision-Tower-5810:~/purging-check/distribution/distribution-karaf/target/assembly/data/log$ curl -G -v -H &quot;Accept: application/json&quot; -H &quot;Content-Type: application/json&quot; &quot;http://localhost:8181/tsdr/logs/query&quot; --data-urlencode &quot;tsdrkey=&lt;span class=&quot;error&quot;&gt;&amp;#91;NID=&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;DC=NETFLOW&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;RK=portname:port2&amp;#93;&lt;/span&gt;&quot; --data-urlencode &quot;from=0&quot; --data-urlencode &quot;until=240000000&quot;|more&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;About to connect() to localhost port 8181 (#0)&lt;/li&gt;
	&lt;li&gt;Trying 127.0.0.1...   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current&lt;br/&gt;
                                 Dload  Upload   Total   Spent    Left  Speed&lt;br/&gt;
  0     0    0     0    0     0      0      0 -&lt;del&gt;:&lt;/del&gt;&lt;del&gt;:&lt;/del&gt;- -&lt;del&gt;:&lt;/del&gt;&lt;del&gt;:&lt;/del&gt;- -&lt;del&gt;:&lt;/del&gt;&lt;del&gt;:&lt;/del&gt;-     0connected&lt;br/&gt;
&amp;gt; GET /tsdr/logs/query?tsdrkey=%5BNID%3D%5D%5BDC%3DNETFLOW%5D%5BRK%3Dportname%3Aport2%5D&amp;amp;from=0&amp;amp;until=240000000 HTTP/1.1&lt;br/&gt;
&amp;gt; User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3&lt;br/&gt;
&amp;gt; Host: localhost:8181&lt;br/&gt;
&amp;gt; Accept: application/json&lt;br/&gt;
&amp;gt; Content-Type: application/json&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;lt; HTTP/1.1 201 Created&lt;br/&gt;
&amp;lt; Content-Type: application/json&lt;br/&gt;
&amp;lt; Transfer-Encoding: chunked&lt;br/&gt;
&amp;lt; Server: Jetty(8.1.15.v20140411)&lt;br/&gt;
&amp;lt; &lt;br/&gt;
{ &lt;span class=&quot;error&quot;&gt;&amp;#91;data not shown&amp;#93;&lt;/span&gt;&lt;br/&gt;
100  1049    0  1049    0     0  92431      0 -&lt;del&gt;:&lt;/del&gt;&lt;del&gt;:&lt;/del&gt;- -&lt;del&gt;:&lt;/del&gt;&lt;del&gt;:&lt;/del&gt;- -&lt;del&gt;:&lt;/del&gt;&lt;del&gt;:&lt;/del&gt;-  102k&lt;/li&gt;
	&lt;li&gt;Connection #0 to host localhost left intact&lt;/li&gt;
	&lt;li&gt;Closing connection #0&lt;br/&gt;
{&lt;br/&gt;
  &quot;recordCount&quot;: 3,&lt;br/&gt;
  &quot;logRecords&quot;: [&lt;br/&gt;
    
&lt;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unknown macro: {      &amp;quot;recordFullText&amp;quot;}&lt;/span&gt; &lt;/div&gt;
&lt;p&gt;,&lt;br/&gt;
    &lt;/p&gt;
&lt;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unknown macro: {      &amp;quot;recordFullText&amp;quot;}&lt;/span&gt; &lt;/div&gt;
&lt;p&gt;,&lt;/p&gt;
    &lt;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unknown macro: {      &amp;quot;recordFullText&amp;quot;}&lt;/span&gt; &lt;/div&gt;
&lt;p&gt;  ]&lt;br/&gt;
}&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The rows in hbase table are:&lt;/p&gt;

&lt;p&gt;hbase(main):012:0&amp;gt; scan &apos;NETFLOW&apos;&lt;br/&gt;
ROW                                COLUMN+CELL                                                                                      &lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;NID=10.0.0.0.2&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;DC=NETFLOW&amp;#93;&lt;/span&gt;[RK=p column=c1:RecordFullText, timestamp=1454476378958, value=This is test 1111 of NetFlow data       &lt;br/&gt;
 ortName:port1]&lt;span class=&quot;error&quot;&gt;&amp;#91;TS=1454476378958&amp;#93;&lt;/span&gt;                                                                                                   &lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;NID=10.0.0.0.2&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;DC=NETFLOW&amp;#93;&lt;/span&gt;[RK=p column=c1:srcAddr, timestamp=1454476378958, value=10.8.8.3                                       &lt;br/&gt;
 ortName:port1]&lt;span class=&quot;error&quot;&gt;&amp;#91;TS=1454476378958&amp;#93;&lt;/span&gt;                                                                                                   &lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;NID=10.0.0.0.2&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;DC=NETFLOW&amp;#93;&lt;/span&gt;[RK=p column=c1:RecordFullText, timestamp=1454477269378, value=This is test 1111 of NetFlow data       &lt;br/&gt;
 ortName:port1]&lt;span class=&quot;error&quot;&gt;&amp;#91;TS=1454477269378&amp;#93;&lt;/span&gt;                                                                                                   &lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;NID=10.0.0.0.2&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;DC=NETFLOW&amp;#93;&lt;/span&gt;[RK=p column=c1:srcAddr, timestamp=1454477269378, value=10.8.8.3                                       &lt;br/&gt;
 ortName:port1]&lt;span class=&quot;error&quot;&gt;&amp;#91;TS=1454477269378&amp;#93;&lt;/span&gt;                                                                                                   &lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;NID=10.0.0.0.2&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;DC=NETFLOW&amp;#93;&lt;/span&gt;[RK=p column=c1:RecordFullText, timestamp=1454475278469, value=This is test 2222 of NetFlow data       &lt;br/&gt;
 ortName:port2]&lt;span class=&quot;error&quot;&gt;&amp;#91;TS=1454475278469&amp;#93;&lt;/span&gt;                                                                                                   &lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;NID=10.0.0.0.2&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;DC=NETFLOW&amp;#93;&lt;/span&gt;[RK=p column=c1:srcAddr, timestamp=1454475278469, value=10.8.8.3                                       &lt;br/&gt;
 ortName:port2]&lt;span class=&quot;error&quot;&gt;&amp;#91;TS=1454475278469&amp;#93;&lt;/span&gt;                                                                                                   &lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;NID=10.0.0.0.2&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;DC=NETFLOW&amp;#93;&lt;/span&gt;[RK=p column=c1:RecordFullText, timestamp=1454476378961, value=This is test 2222 of NetFlow data       &lt;br/&gt;
 ortName:port2]&lt;span class=&quot;error&quot;&gt;&amp;#91;TS=1454476378961&amp;#93;&lt;/span&gt;                                                                                                   &lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;NID=10.0.0.0.2&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;DC=NETFLOW&amp;#93;&lt;/span&gt;[RK=p column=c1:srcAddr, timestamp=1454476378961, value=10.8.8.3                                       &lt;br/&gt;
 ortName:port2]&lt;span class=&quot;error&quot;&gt;&amp;#91;TS=1454476378961&amp;#93;&lt;/span&gt;                                                                                                   &lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;NID=10.0.0.0.2&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;DC=NETFLOW&amp;#93;&lt;/span&gt;[RK=p column=c1:RecordFullText, timestamp=1454477269381, value=This is test 2222 of NetFlow data       &lt;br/&gt;
 ortName:port2]&lt;span class=&quot;error&quot;&gt;&amp;#91;TS=1454477269381&amp;#93;&lt;/span&gt;                                                                                                   &lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;NID=10.0.0.0.2&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;DC=NETFLOW&amp;#93;&lt;/span&gt;[RK=p column=c1:srcAddr, timestamp=1454477269381, value=10.8.8.3                                       &lt;br/&gt;
 ortName:port2]&lt;span class=&quot;error&quot;&gt;&amp;#91;TS=1454477269381&amp;#93;&lt;/span&gt;                                                                                                   &lt;br/&gt;
5 row(s) in 0.0300 seconds&lt;/p&gt;</comment>
                            <comment id="53794" author="prem.annauniv@gmail.com" created="Fri, 5 Feb 2016 10:27:47 +0000"  >&lt;p&gt;Issue is still seen with Table:1 matches all tables prefixing with 1&lt;/p&gt;</comment>
                            <comment id="53795" author="yulingchen54@gmail.com" created="Mon, 8 Feb 2016 20:20:40 +0000"  >&lt;p&gt;fixed with patch set:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/34267&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/34267&lt;/a&gt;&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>5052</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=5052]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10317"><![CDATA[Beryllium]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Normal]]></customfieldvalue>

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

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