<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:31:24 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-33] Not able to read GroupStats from Operational data</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-33</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;The augmentation FlowCapableNode does not contain the Group details present in the switch. All other Stats are present in the augmentation(Meter,Flow).&lt;/p&gt;

&lt;p&gt;The Group Array is showing as empty.&lt;/p&gt;

&lt;p&gt;I am receiving the GroupStats and it is correctly storing the Stats in the Operational datastore. &lt;/p&gt;

&lt;p&gt;Reading from the same is the issue.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27301">OPNFLWPLUG-33</key>
            <summary>Not able to read GroupStats from Operational data</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="michal.rehak">Michal Rehak</assignee>
                                    <reporter username="goyaltushar7@gmail.com">Tushar Goyal</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 Jan 2014 06:29:19 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:01 +0000</updated>
                            <resolved>Sun, 26 Jan 2014 15:19:46 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="55206" author="prasanna.huddar@ericsson.com" created="Fri, 17 Jan 2014 09:32:04 +0000"  >&lt;p&gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;Apache Tomcat/7.0.32 - Error report&amp;lt;/title&amp;gt;&amp;lt;style&amp;gt;&amp;lt;!--H1 &lt;/p&gt;
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
&lt;p&gt; H2 &lt;/p&gt;
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
&lt;p&gt; H3 &lt;/p&gt;
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
&lt;p&gt; BODY &lt;/p&gt;
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
&lt;p&gt; B &lt;/p&gt;
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
&lt;p&gt; P &lt;/p&gt;
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}
&lt;p&gt;A &lt;/p&gt;
{color : black;}
&lt;p&gt;A.name &lt;/p&gt;
{color : black;}
&lt;p&gt;HR &lt;/p&gt;
{color : #525D76;}
&lt;p&gt;--&amp;gt;&amp;lt;/style&amp;gt; &amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&amp;lt;h1&amp;gt;HTTP Status 500 - &amp;lt;/h1&amp;gt;&amp;lt;HR size=&quot;1&quot; noshade=&quot;noshade&quot;&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;type&amp;lt;/b&amp;gt; Exception report&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;message&amp;lt;/b&amp;gt; &amp;lt;u&amp;gt;&amp;lt;/u&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;description&amp;lt;/b&amp;gt; &amp;lt;u&amp;gt;The server encountered an internal error that prevented it from fulfilling this request.&amp;lt;/u&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;exception&amp;lt;/b&amp;gt; &amp;lt;pre&amp;gt;java.lang.IllegalArgumentException&lt;br/&gt;
	com.google.common.base.Preconditions.checkArgument(Preconditions.java:76)&lt;br/&gt;
	org.opendaylight.controller.sal.restconf.impl.ControllerContext.addKeyValue(ControllerContext.java:682)&lt;br/&gt;
	org.opendaylight.controller.sal.restconf.impl.ControllerContext.collectPathArguments(ControllerContext.java:596)&lt;br/&gt;
	org.opendaylight.controller.sal.restconf.impl.ControllerContext.collectPathArguments(ControllerContext.java:612)&lt;br/&gt;
	org.opendaylight.controller.sal.restconf.impl.ControllerContext.collectPathArguments(ControllerContext.java:612)&lt;br/&gt;
	org.opendaylight.controller.sal.restconf.impl.ControllerContext.toInstanceIdentifier(ControllerContext.java:160)&lt;br/&gt;
	org.opendaylight.controller.sal.restconf.impl.RestconfImpl.resolveInstanceIdentifier(RestconfImpl.java:384)&lt;br/&gt;
	org.opendaylight.controller.sal.restconf.impl.RestconfImpl.readData(RestconfImpl.java:165)&lt;br/&gt;
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br/&gt;
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;br/&gt;
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br/&gt;
	java.lang.reflect.Method.invoke(Method.java:606)&lt;br/&gt;
	com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)&lt;br/&gt;
	com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)&lt;br/&gt;
	com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)&lt;br/&gt;
	com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)&lt;br/&gt;
	com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;br/&gt;
	com.sun.jersey.server.impl.uri.rules.ResourceObjectRule.accept(ResourceObjectRule.java:100)&lt;br/&gt;
	com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;br/&gt;
	com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)&lt;br/&gt;
	com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)&lt;br/&gt;
	com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)&lt;br/&gt;
	com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)&lt;br/&gt;
	com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)&lt;br/&gt;
	com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)&lt;br/&gt;
	com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)&lt;br/&gt;
	com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)&lt;br/&gt;
	javax.servlet.http.HttpServlet.service(HttpServlet.java:848)&lt;br/&gt;
	org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:440)&lt;br/&gt;
	org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:179)&lt;br/&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;note&amp;lt;/b&amp;gt; &amp;lt;u&amp;gt;The full stack trace of the root cause is available in the Apache Tomcat/7.0.32 logs.&amp;lt;/u&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;HR size=&quot;1&quot; noshade=&quot;noshade&quot;&amp;gt;&amp;lt;h3&amp;gt;Apache Tomcat/7.0.32&amp;lt;/h3&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/p&gt;</comment>
                            <comment id="55207" author="hagbard@gmail.com" created="Fri, 17 Jan 2014 16:22:32 +0000"  >&lt;p&gt;Anil, could you check the statisticsmanager code to see if there is an issue there?&lt;/p&gt;</comment>
                            <comment id="55208" author="vishnoianil@gmail.com" created="Sun, 19 Jan 2014 17:48:56 +0000"  >&lt;p&gt;Hi Ed/Tushar,&lt;/p&gt;

&lt;p&gt;I manually added group to the switch and i can see the group stats when i access the node details using following restconf uri:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://localhost:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;                   &amp;lt;group &lt;br/&gt;
                        xmlns=&quot;urn:opendaylight:group:types&quot;&amp;gt;&lt;br/&gt;
                        &amp;lt;group-desc &lt;br/&gt;
                            xmlns=&quot;urn:opendaylight:group:statistics&quot;&amp;gt;&lt;br/&gt;
                            &amp;lt;group-type&amp;gt;group-select&amp;lt;/group-type&amp;gt;&lt;br/&gt;
                            &amp;lt;buckets&amp;gt;&lt;br/&gt;
                                &amp;lt;bucket&amp;gt;&lt;br/&gt;
                                    &amp;lt;action&amp;gt;&lt;br/&gt;
                                        &amp;lt;output-action&amp;gt;&lt;br/&gt;
                                            &amp;lt;max-length&amp;gt;0&amp;lt;/max-length&amp;gt;&lt;br/&gt;
                                            &amp;lt;output-node-connector&amp;gt;1&amp;lt;/output-node-connector&amp;gt;&lt;br/&gt;
                                        &amp;lt;/output-action&amp;gt;&lt;br/&gt;
                                        &amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;&lt;br/&gt;
                                    &amp;lt;/action&amp;gt;&lt;br/&gt;
                                    &amp;lt;weight&amp;gt;10&amp;lt;/weight&amp;gt;&lt;br/&gt;
                                    &amp;lt;bucket-id&amp;gt;0&amp;lt;/bucket-id&amp;gt;&lt;br/&gt;
                                    &amp;lt;watch_group&amp;gt;4294967295&amp;lt;/watch_group&amp;gt;&lt;br/&gt;
                                    &amp;lt;watch_port&amp;gt;4294967295&amp;lt;/watch_port&amp;gt;&lt;br/&gt;
                                &amp;lt;/bucket&amp;gt;&lt;br/&gt;
                            &amp;lt;/buckets&amp;gt;&lt;br/&gt;
                            &amp;lt;group-id&amp;gt;2&amp;lt;/group-id&amp;gt;&lt;br/&gt;
                        &amp;lt;/group-desc&amp;gt;&lt;br/&gt;
                        &amp;lt;group-id&amp;gt;2&amp;lt;/group-id&amp;gt;&lt;br/&gt;
                        &amp;lt;group-statistics &lt;br/&gt;
                            xmlns=&quot;urn:opendaylight:group:statistics&quot;&amp;gt;&lt;br/&gt;
                            &amp;lt;byte-count&amp;gt;0&amp;lt;/byte-count&amp;gt;&lt;br/&gt;
                            &amp;lt;duration&amp;gt;&lt;br/&gt;
                                &amp;lt;nanosecond&amp;gt;988000&amp;lt;/nanosecond&amp;gt;&lt;br/&gt;
                                &amp;lt;second&amp;gt;1390150039&amp;lt;/second&amp;gt;&lt;br/&gt;
                            &amp;lt;/duration&amp;gt;&lt;br/&gt;
                            &amp;lt;buckets&amp;gt;&lt;br/&gt;
                                &amp;lt;bucket-counter&amp;gt;&lt;br/&gt;
                                    &amp;lt;byte-count&amp;gt;0&amp;lt;/byte-count&amp;gt;&lt;br/&gt;
                                    &amp;lt;bucket-id&amp;gt;0&amp;lt;/bucket-id&amp;gt;&lt;br/&gt;
                                    &amp;lt;packet-count&amp;gt;0&amp;lt;/packet-count&amp;gt;&lt;br/&gt;
                                &amp;lt;/bucket-counter&amp;gt;&lt;br/&gt;
                            &amp;lt;/buckets&amp;gt;&lt;br/&gt;
                            &amp;lt;packet-count&amp;gt;0&amp;lt;/packet-count&amp;gt;&lt;br/&gt;
                            &amp;lt;ref-count&amp;gt;0&amp;lt;/ref-count&amp;gt;&lt;br/&gt;
                            &amp;lt;group-id&amp;gt;2&amp;lt;/group-id&amp;gt;&lt;br/&gt;
                        &amp;lt;/group-statistics&amp;gt;&lt;br/&gt;
                    &amp;lt;/group&amp;gt;&lt;/p&gt;

&lt;p&gt;But when i tried to access this specific group using its id(2)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://localhost:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/group/2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/group/2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;i get the exception which prasanna pasted above.&lt;/p&gt;

&lt;p&gt;I looked at the yang models and statistics manager code, but didn&apos;t find any obvious issue.&lt;/p&gt;

&lt;p&gt;Can we get someone from restconf team to have a quick look at it and see why restconf is throwing this exception?&lt;/p&gt;

&lt;p&gt;Probably that&apos;s the reason tushar is not able to fetch list of groups programmatically. &lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
Anil&lt;/p&gt;</comment>
                            <comment id="55209" author="vishnoianil@gmail.com" created="Mon, 20 Jan 2014 14:03:17 +0000"  >&lt;p&gt;I had chat with Martin Sunal, and it seems to be bug in Yangtools.&lt;/p&gt;

&lt;p&gt;Martin will open new bug and mark this bug as a dependent on the new one.&lt;/p&gt;</comment>
                            <comment id="55210" author="msunal@cisco.com" created="Mon, 20 Jan 2014 14:14:08 +0000"  >&lt;p&gt;there is a &lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-75&quot; title=&quot;key from ListSchemaNode has different revision&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-75&quot;&gt;&lt;del&gt;YANGTOOLS-75&lt;/del&gt;&lt;/a&gt; which has to be resolved in yangtools.&lt;/p&gt;</comment>
                            <comment id="55211" author="goyaltushar7@gmail.com" created="Fri, 24 Jan 2014 09:01:27 +0000"  >&lt;p&gt;Still the group are not received while testing using the CommmandProvider.&lt;/p&gt;

&lt;p&gt;Using REST, I am able to get specific group level Stats.&lt;/p&gt;

&lt;p&gt;The command line commands for testing the groupStats are checked-in in OpenflowpluginStatsCommandProvider.java&lt;/p&gt;

&lt;p&gt;Methods: _groupStats&lt;br/&gt;
         _groupDescStats&lt;/p&gt;</comment>
                            <comment id="55212" author="mirehak@cisco.com" created="Sat, 25 Jan 2014 17:28:16 +0000"  >&lt;p&gt;Retested:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;group can be added via osgi command &quot;addGroup openflow:1&quot;&lt;/li&gt;
	&lt;li&gt;group can be then removed via osgi command &quot;removeGroup openflow:1&quot;&lt;/li&gt;
	&lt;li&gt;on cpqd switch this group can be seen via comand &quot;sudo dpctl unix:/tmp/s1 stats-group&quot;&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;group xml can be GET via rest (&lt;a href=&quot;http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/group/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/group/1&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;group item can be deleted via rest&lt;/li&gt;
	&lt;li&gt;group item CAN NOT be inserted into config datastore via rest&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;Tony is working on including patched bundle into master.&lt;/p&gt;</comment>
                            <comment id="55213" author="mirehak@cisco.com" created="Sun, 26 Jan 2014 15:19:46 +0000"  >&lt;p&gt;Fixed by&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/4801/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/4801/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Reason: group delete request must NOT contain buckets definition (OF-1.3.2::6.5 Group Table Modi&#64257;cation Messages)&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="22495">YANGTOOLS-75</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>317</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=317]]></customfieldvalue>

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

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