<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:47:50 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>[VTN-40] Failed to get up-to-date flow statistics.</title>
                <link>https://jira.opendaylight.org/browse/VTN-40</link>
                <project id="10185" key="VTN">vtn</project>
                    <description>&lt;p&gt;I executed the following REST API, but failed to get up-to-date flow statistics.&lt;br/&gt;
       &lt;a href=&quot;http://127.0.0.1:8080/controller/nb/v2/vtn/default/vtns/vtn_1/flows/detail?update=true&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8080/controller/nb/v2/vtn/default/vtns/vtn_1/flows/detail&amp;amp;#63;update=true&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The response body for the above request didn&apos;t contain statistics information.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26420">VTN-40</key>
            <summary>Failed to get up-to-date flow statistics.</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="Hideyuki1985">Hideyuki Tai</reporter>
                        <labels>
                    </labels>
                <created>Fri, 19 Sep 2014 21:25:34 +0000</created>
                <updated>Thu, 3 May 2018 15:45:11 +0000</updated>
                            <resolved>Mon, 10 Nov 2014 21:50:57 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>VTN Manager</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="52845" author="hideyuki.tai@necam.com" created="Fri, 19 Sep 2014 21:27:25 +0000"  >&lt;p&gt;I think the root cause of this issue is &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-833&quot; title=&quot;sal-compatiblity does not register some services.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-833&quot;&gt;&lt;del&gt;CONTROLLER-833&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Therefore, after the &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-833&quot; title=&quot;sal-compatiblity does not register some services.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-833&quot;&gt;&lt;del&gt;CONTROLLER-833&lt;/del&gt;&lt;/a&gt; is fixed, I&apos;m going to test this issue again.&lt;/p&gt;</comment>
                            <comment id="52846" author="hideyuki.tai@necam.com" created="Thu, 25 Sep 2014 23:18:39 +0000"  >&lt;p&gt;I&apos;ve tested this issue using the Helium release candidate, and found out that the bug has been not fixed yet.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://nexus.opendaylight.org/content/groups/staging/org/opendaylight/integration/distribution-karaf/0.2.0-Helium/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://nexus.opendaylight.org/content/groups/staging/org/opendaylight/integration/distribution-karaf/0.2.0-Helium/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;ve observed that the statistics information in the output of the flow API are same between when update=true and update=false.&lt;br/&gt;
It meant that VTN Manager failed to get up-to-date flow statistics.&lt;/p&gt;

&lt;p&gt;update=true&lt;br/&gt;
===========&lt;/p&gt;

&lt;p&gt;curl --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H \&lt;br/&gt;
    &quot;Content-type: application/json&quot; -X GET \&lt;br/&gt;
    &lt;a href=&quot;http://localhost:8080/controller/nb/v2/vtn/default/vtns/vtn1/flows/detail?update=true&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/controller/nb/v2/vtn/default/vtns/vtn1/flows/detail&amp;amp;#63;update=true&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The response message for the above request was as follows:&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
    &quot;dataflow&quot;: [&lt;br/&gt;
        {&lt;br/&gt;
(sinp)&lt;br/&gt;
            &quot;statistics&quot;: &lt;/p&gt;
{
                &quot;bytes&quot;: 10444, 
                &quot;duration&quot;: 117626, 
                &quot;packets&quot;: 110
            }
&lt;p&gt;, &lt;br/&gt;
(snip)&lt;br/&gt;
}&lt;/p&gt;



&lt;p&gt;update=false&lt;br/&gt;
============&lt;/p&gt;

&lt;p&gt;curl --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H \&lt;br/&gt;
    &quot;Content-type: application/json&quot; -X GET \&lt;br/&gt;
    &lt;a href=&quot;http://localhost:8080/controller/nb/v2/vtn/default/vtns/vtn1/flows/detail?update=false&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/controller/nb/v2/vtn/default/vtns/vtn1/flows/detail&amp;amp;#63;update=false&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The response message for the above request was as follows:&lt;/p&gt;


&lt;p&gt;{&lt;br/&gt;
    &quot;dataflow&quot;: [&lt;br/&gt;
        {&lt;br/&gt;
(snip)&lt;br/&gt;
            &quot;statistics&quot;: &lt;/p&gt;
{
                &quot;bytes&quot;: 10444, 
                &quot;duration&quot;: 117626, 
                &quot;packets&quot;: 110
            }
&lt;p&gt;, &lt;br/&gt;
(snip)&lt;br/&gt;
}&lt;/p&gt;</comment>
                            <comment id="52847" author="hideyuki.tai@necam.com" created="Mon, 10 Nov 2014 21:50:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-900&quot; title=&quot;sal-compatibility not get up-to-date flow information.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-900&quot;&gt;&lt;del&gt;CONTROLLER-900&lt;/del&gt;&lt;/a&gt; which is the root cause of this issue has been fixed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="25387">CONTROLLER-833</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25454">CONTROLLER-900</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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>1992</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=1992]]></customfieldvalue>

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

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