<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:46:09 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-16] Error is returned when trying to set or get TSDR related configs</title>
                <link>https://jira.opendaylight.org/browse/TSDR-16</link>
                <project id="10179" key="TSDR">tsdr</project>
                    <description>&lt;p&gt;Error when trying to setPollingInterval . &lt;/p&gt;

&lt;p&gt;&amp;lt;html&amp;gt;&lt;br/&gt;
&amp;lt;head&amp;gt;&lt;br/&gt;
&amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=ISO-8859-1&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;title&amp;gt;Error 404 Not Found&amp;lt;/title&amp;gt;&lt;br/&gt;
&amp;lt;/head&amp;gt;&lt;br/&gt;
&amp;lt;body&amp;gt;&lt;br/&gt;
&amp;lt;h2&amp;gt;HTTP ERROR: 404&amp;lt;/h2&amp;gt;&lt;br/&gt;
&amp;lt;p&amp;gt;Problem accessing /operations/tsdr-snmp-data-collector:setPollingInterval. Reason:&lt;br/&gt;
&amp;lt;pre&amp;gt;    Not Found&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br/&gt;
&amp;lt;hr /&amp;gt;&amp;lt;i&amp;gt;&amp;lt;small&amp;gt;Powered by Jetty://&amp;lt;/small&amp;gt;&amp;lt;/i&amp;gt;&lt;/p&gt;

&lt;p&gt; /operations/tsdr-snmp-data-collector:setPollingInterval&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
    &quot;input&quot;: &lt;/p&gt;
{
        &quot;interval&quot;: &quot;15000&quot;
    }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;/restconf/config/tsdr-openflow-statistics-collector:TSDRDCConfig&lt;/p&gt;

&lt;p&gt;Query Output:&lt;/p&gt;

&lt;p&gt;{&quot;errors&quot;:{&quot;error&quot;:[&lt;/p&gt;
{&quot;error-type&quot;:&quot;protocol&quot;,&quot;error-tag&quot;:&quot;invalid-value&quot;,&quot;error-message&quot;:&quot;URI has bad format. Possible reasons:\n 1. \&quot;tsdr-openflow-statistics-collector:TSDRDCConfig\&quot; was not found in parent data node.\n 2. \&quot;tsdr-openflow-statistics-collector:TSDRDCConfig\&quot; is behind mount point. Then it should be in format \&quot;/yang-ext:mount/tsdr-openflow-statistics-collector:TSDRDCConfig\&quot;.&quot;}
&lt;p&gt;]}}&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26780">TSDR-16</key>
            <summary>Error is returned when trying to set or get TSDR related configs</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="ahmed.razi@tcs.com">Razi Ahmed</assignee>
                                    <reporter username="prem.annauniv@gmail.com">premnath sundarababu</reporter>
                        <labels>
                    </labels>
                <created>Sun, 24 Jan 2016 05:17:36 +0000</created>
                <updated>Thu, 22 Mar 2018 02:11:44 +0000</updated>
                            <resolved>Thu, 22 Mar 2018 02:11:44 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="53806" author="ahmed.razi@tcs.com" created="Wed, 27 Jan 2016 07:53:01 +0000"  >&lt;p&gt;Attachment Polling-Interval-URL.png has been added with description: Screen shots to check polling interval&lt;/p&gt;</comment>
                            <comment id="53796" author="ahmed.razi@tcs.com" created="Wed, 27 Jan 2016 08:01:53 +0000"  >&lt;p&gt;The URL /operations/tsdr-snmp-data-collector:setPollingInterval is used when we are setting Polling Interval through MD-SAL Apidocs.&lt;/p&gt;

&lt;p&gt;To set polling interval using Restconf, the URL for same is:&lt;br/&gt;
&lt;a href=&quot;http://localhost:8181/restconf/operations/tsdr-snmp-data-collector:setPollingInterval&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/operations/tsdr-snmp-data-collector:setPollingInterval&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Steps using ApiDocs:&lt;br/&gt;
1. feature:install odl-mdsal-all&lt;br/&gt;
2. Use method POST with URL: /operations/tsdr-snmp-data-collector:setPollingInterval under module &lt;br/&gt;
tsdr-snmp-data-collector(2015-10-13) &lt;br/&gt;
3. Use input:&lt;br/&gt;
{&quot;input&quot; : &lt;/p&gt;
{ &quot;interval&quot; : &quot;3000&quot; }
&lt;p&gt; }&lt;/p&gt;

&lt;p&gt;Steps using RestConf:&lt;br/&gt;
1. feature:install odl-restconf-all&lt;br/&gt;
2. Use POST method with URL : &lt;a href=&quot;http://localhost:8181/restconf/operations/tsdr-snmp-data-collector:setPollingInterval&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/operations/tsdr-snmp-data-collector:setPollingInterval&lt;/a&gt;&lt;br/&gt;
3. Set Content-Type: application/json in Headers.&lt;br/&gt;
4. Use input:&lt;br/&gt;
{&quot;input&quot; : &lt;/p&gt;
{ &quot;interval&quot; : &quot;3000&quot; }
&lt;p&gt; }&lt;/p&gt;

&lt;p&gt;I am able to successfully set polling interval using above steps respectively for Apidocs and Restconf. You can check screen shot to set polling interval using Restconf above.&lt;/p&gt;</comment>
                            <comment id="53797" author="ahmed.razi@tcs.com" created="Mon, 1 Feb 2016 13:01:55 +0000"  >&lt;p&gt;To get the polling interval, the correct URL for SNMP Data Collector is:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://localhost:8181/restconf/config/tsdr-snmp-data-collector:TSDRSnmpDataCollectorConfig/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/tsdr-snmp-data-collector:TSDRSnmpDataCollectorConfig/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53798" author="prem.annauniv@gmail.com" created="Fri, 5 Feb 2016 10:58:10 +0000"  >&lt;p&gt;SNMP polling worked fine.&lt;br/&gt;
Need help in getting this working.&lt;/p&gt;

&lt;p&gt;/restconf/config/tsdr-openflow-statistics-collector:TSDRDCConfig&lt;/p&gt;

&lt;p&gt;Query Output:&lt;/p&gt;

&lt;p&gt;{&quot;errors&quot;:{&quot;error&quot;:[&lt;/p&gt;
{&quot;error-type&quot;:&quot;protocol&quot;,&quot;error-tag&quot;:&quot;invalid-value&quot;,&quot;error-message&quot;:&quot;URI has bad format. Possible reasons:\n 1. \&quot;tsdr-openflow-statistics-collector:TSDRDCConfig\&quot; was not found in parent data node.\n 2. \&quot;tsdr-openflow-statistics-collector:TSDRDCConfig\&quot; is behind mount point. Then it should be in format \&quot;/yang-ext:mount/tsdr-openflow-statistics-collector:TSDRDCConfig\&quot;.&quot;}
&lt;p&gt;]}}&lt;/p&gt;</comment>
                            <comment id="53799" author="yulingchen54@gmail.com" created="Sat, 6 Feb 2016 21:26:53 +0000"  >&lt;p&gt;In my testing environment, I got setPollingInterval working in both snmp and openflowstats collector case. The problem is with the retrieval of the polling interval.&lt;/p&gt;

&lt;p&gt;Here I attach the screenshot.&lt;/p&gt;

&lt;p&gt;Razi/Trapti, could you test snmp polling interval case and attach screen shot as what you did for setPollingInterval?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;YuLing&lt;/p&gt;</comment>
                            <comment id="53807" author="yulingchen54@gmail.com" created="Mon, 8 Feb 2016 06:21:50 +0000"  >&lt;p&gt;Attachment PollingIntervalGet has been added with description: Error when retrieving the polling interval from snmp collector&lt;/p&gt;</comment>
                            <comment id="53808" author="yulingchen54@gmail.com" created="Mon, 8 Feb 2016 22:10:07 +0000"  >&lt;p&gt;Attachment &lt;a href=&quot;https://jira.opendaylight.org/browse/TSDR-16&quot; title=&quot;Error is returned when trying to set or get TSDR related configs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;TSDR-16&quot;&gt;&lt;del&gt;TSDR-16&lt;/del&gt;&lt;/a&gt; feature install.png has been added with description: feature install screenshot&lt;/p&gt;</comment>
                            <comment id="53800" author="yulingchen54@gmail.com" created="Mon, 8 Feb 2016 22:12:30 +0000"  >
&lt;p&gt;    Today in my testing environment, I was able to both set and retrieve the polling interval from both snmp and openflow stas collector.&lt;/p&gt;

&lt;p&gt;    The following are URLs for both snmp and OF stats collector:&lt;br/&gt;
    &lt;a href=&quot;http://localhost:8181/restconf/operations/tsdr-snmp-data-collector:setPollingInterval&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/operations/tsdr-snmp-data-collector:setPollingInterval&lt;/a&gt;&lt;br/&gt;
    &lt;a href=&quot;http://localhost:8181/restconf/operations/tsdr-openflow-statistics-collector:setPollingInterval&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/operations/tsdr-openflow-statistics-collector:setPollingInterval&lt;/a&gt;&lt;br/&gt;
    &lt;a href=&quot;http://localhost:8181/restconf/config/tsdr-snmp-data-collector:TSDRSnmpDataCollectorConfig&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/tsdr-snmp-data-collector:TSDRSnmpDataCollectorConfig&lt;/a&gt;&lt;br/&gt;
    &lt;a href=&quot;http://localhost:8181/restconf/config/tsdr-openflow-statistics-collector:TSDROSCConfig&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/tsdr-openflow-statistics-collector:TSDROSCConfig&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53809" author="yulingchen54@gmail.com" created="Mon, 8 Feb 2016 22:13:59 +0000"  >&lt;p&gt;Attachment &lt;a href=&quot;https://jira.opendaylight.org/browse/TSDR-16&quot; title=&quot;Error is returned when trying to set or get TSDR related configs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;TSDR-16&quot;&gt;&lt;del&gt;TSDR-16&lt;/del&gt;&lt;/a&gt;-snmp-interval-retrieval.png has been added with description: snmp collector polling interval retrieval from restconf&lt;/p&gt;</comment>
                            <comment id="53810" author="yulingchen54@gmail.com" created="Mon, 8 Feb 2016 22:14:59 +0000"  >&lt;p&gt;Attachment bug-5068-openflow-stats-interval-retrieval.png has been added with description: OF stats polling interval retrieval through restconf&lt;/p&gt;</comment>
                            <comment id="53811" author="yulingchen54@gmail.com" created="Mon, 8 Feb 2016 22:15:45 +0000"  >&lt;p&gt;Attachment &lt;a href=&quot;https://jira.opendaylight.org/browse/TSDR-16&quot; title=&quot;Error is returned when trying to set or get TSDR related configs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;TSDR-16&quot;&gt;&lt;del&gt;TSDR-16&lt;/del&gt;&lt;/a&gt;-openflow-stats-setpollinginterval.png has been added with description: OF stats setPolling interval through restconf&lt;/p&gt;</comment>
                            <comment id="53812" author="yulingchen54@gmail.com" created="Mon, 8 Feb 2016 22:17:13 +0000"  >&lt;p&gt;Attachment bug-5068-snmp-setPollingInterval.png has been added with description: SNMP collector setPollingInterval&lt;/p&gt;</comment>
                            <comment id="53801" author="yulingchen54@gmail.com" created="Mon, 8 Feb 2016 22:19:17 +0000"  >&lt;p&gt;Premnath, when you verify this bug, you might want to see if it could be the timing issue. As you know, when you install OFStats collector and SNMP Collector from karaf console, even when the command returns, you would still need to wait for some time until all the modules are installed and initialized. If you trigger the restconf commands quickly after those collectors are installed, you might hit errors.&lt;/p&gt;</comment>
                            <comment id="53802" author="ahmed.razi@tcs.com" created="Tue, 9 Feb 2016 04:11:29 +0000"  >&lt;p&gt;Premnath, to check retrieval of polling interval of OF stats , you have to install feature for that:&lt;br/&gt;
feature:install odl-tsdr-openflow-statistics-collector&lt;/p&gt;</comment>
                            <comment id="53803" author="prem.annauniv@gmail.com" created="Wed, 10 Feb 2016 09:29:08 +0000"  >&lt;p&gt;Get is working only after setting it atleast once in OpenFlow.&lt;br/&gt;
But this can be release noted as its not a major issue&lt;/p&gt;</comment>
                            <comment id="53804" author="ahmed.razi@tcs.com" created="Thu, 11 Feb 2016 04:11:45 +0000"  >&lt;p&gt;This issue is coming because we are not writing the hard coded polling interval to the data store. We have to call saveConfigData() method after setting polling interval.&lt;/p&gt;

&lt;p&gt;The changes have been tested and merged and this issue no longer persists.&lt;/p&gt;</comment>
                            <comment id="53805" author="yulingchen54@gmail.com" created="Thu, 11 Feb 2016 05:27:19 +0000"  >&lt;p&gt;fixed by patch set:&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/34433/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/34433/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13775" name="Polling-Interval-URL.png" size="44512" author="ahmed.razi@tcs.com" created="Wed, 27 Jan 2016 07:53:01 +0000"/>
                            <attachment id="13776" name="PollingIntervalGet" size="314970" author="yulingchen54@gmail.com" created="Mon, 8 Feb 2016 06:21:50 +0000"/>
                            <attachment id="13777" name="bug 5068 feature install.png" size="443959" author="yulingchen54@gmail.com" created="Mon, 8 Feb 2016 22:10:07 +0000"/>
                            <attachment id="13780" name="bug 5068-openflow-stats-setpollinginterval.png" size="300555" author="yulingchen54@gmail.com" created="Mon, 8 Feb 2016 22:15:45 +0000"/>
                            <attachment id="13778" name="bug 5068-snmp-interval-retrieval.png" size="279899" author="yulingchen54@gmail.com" created="Mon, 8 Feb 2016 22:13:59 +0000"/>
                            <attachment id="13779" name="bug-5068-openflow-stats-interval-retrieval.png" size="277405" author="yulingchen54@gmail.com" created="Mon, 8 Feb 2016 22:14:59 +0000"/>
                            <attachment id="13781" name="bug-5068-snmp-setPollingInterval.png" size="300020" author="yulingchen54@gmail.com" created="Mon, 8 Feb 2016 22:17:13 +0000"/>
                    </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>5068</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=5068]]></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="10354"><![CDATA[Beryllium-RC1]]></customfieldvalue>

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

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

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