<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:31:21 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-19] Group counter stats request and group description stats request malformed</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-19</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;When connected to an OVS mininet, OVS rejects the Group Counter Statistics requests and the Group Description Statistics requests.&lt;/p&gt;

&lt;p&gt;1. Start the controller&lt;/p&gt;

&lt;p&gt;2. Start mininet: sudo mn --topo single,3  --controller &apos;remote,ip=192.168.4.1:6653&apos; --switch ovsk,protocols=OpenFlow13&lt;/p&gt;

&lt;p&gt;3. Observe wireshark or logs as shown below, for example:&lt;/p&gt;

&lt;p&gt;Error notification  flow Xid.........................34&lt;br/&gt;
-----------------------------------------------------------------------------------&lt;br/&gt;
2014-01-11 14:36:28.670 PST &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-22-thread-4&amp;#93;&lt;/span&gt; INFO  o.o.c.sal.binding.impl.NotifyTask - Notification delivered NodeErrorNotification [_code=1, _data=^D^R^@&lt;sup&gt;X&lt;/sup&gt;@&lt;sup&gt;@&lt;/sup&gt;@&quot;^@&lt;sup&gt;F&lt;/sup&gt;@&lt;sup&gt;@&lt;/sup&gt;@&lt;sup&gt;@&lt;/sup&gt;@^@&#65533;&#65533;&#65533;&#65533;, _type=BadRequest, _transactionId=TransactionId &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=34&amp;#93;&lt;/span&gt;, _transactionUri=null, augmentation=[]] to org.opendaylight.controller.sal.compatibility.FlowProgrammerAdapter$$Broker$ListenerInvoker@1b8bc4da&lt;br/&gt;
2014-01-11 14:36:28.670 PST &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-22-thread-5&amp;#93;&lt;/span&gt; INFO  o.o.c.sal.binding.impl.NotifyTask - Notification delivered NodeErrorNotification [_code=1, _data=^D^R^@&lt;sup&gt;X&lt;/sup&gt;@&lt;sup&gt;@&lt;/sup&gt;@&quot;^@&lt;sup&gt;F&lt;/sup&gt;@&lt;sup&gt;@&lt;/sup&gt;@&lt;sup&gt;@&lt;/sup&gt;@^@&#65533;&#65533;&#65533;&#65533;, _type=BadRequest, _transactionId=TransactionId &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=34&amp;#93;&lt;/span&gt;, _transactionUri=null, augmentation=[]] to org.opendaylight.openflowplugin.test.OpenflowpluginTestCommandProvider$FlowEventListener$$Broker$ListenerInvoker@53b72d18&lt;br/&gt;
2014-01-11 14:36:28.670 PST &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-22-thread-3&amp;#93;&lt;/span&gt; INFO  o.o.c.sal.binding.impl.NotifyTask - Delivering notification MeterStatisticsUpdated [_moreReplies=false, _id=Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:1&amp;#93;&lt;/span&gt;, _nodeConnector=null, _transactionId=TransactionId &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=35&amp;#93;&lt;/span&gt;, _meterStats=[], augmentation=[]] to org.opendaylight.controller.md.statistics.manager.StatisticsUpdateCommiter$$Broker$ListenerInvoker@3cfde83a&lt;br/&gt;
2014-01-11 14:36:28.670 PST &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-22-thread-3&amp;#93;&lt;/span&gt; INFO  o.o.c.sal.binding.impl.NotifyTask - Notification delivered MeterStatisticsUpdated [_moreReplies=false, _id=Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:1&amp;#93;&lt;/span&gt;, _nodeConnector=null, _transactionId=TransactionId &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=35&amp;#93;&lt;/span&gt;, _meterStats=[], augmentation=[]] to org.opendaylight.controller.md.statistics.manager.StatisticsUpdateCommiter$$Broker$ListenerInvoker@3cfde83a&lt;br/&gt;
2014-01-11 14:36:28.670 PST &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-22-thread-1&amp;#93;&lt;/span&gt; INFO  o.o.c.sal.binding.impl.NotifyTask - Delivering notification NodeErrorNotification [_code=1, _data=^D^R^@^P&lt;br/&gt;
&lt;sup&gt;@&lt;/sup&gt;@&lt;sup&gt;@$&lt;/sup&gt;@&lt;sup&gt;G&lt;/sup&gt;@&lt;sup&gt;@&lt;/sup&gt;@&lt;sup&gt;@&lt;/sup&gt;@^@, _type=BadRequest, _transactionId=TransactionId &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=36&amp;#93;&lt;/span&gt;, _transactionUri=null, augmentation=[]] to org.opendaylight.controller.sal.compatibility.FlowProgrammerAdapter$$Broker$ListenerInvoker@1b8bc4da&lt;br/&gt;
2014-01-11 14:36:28.670 PST &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-22-thread-2&amp;#93;&lt;/span&gt; INFO  o.o.c.sal.binding.impl.NotifyTask - Delivering notification NodeErrorNotification [_code=1, _data=^D^R^@^P&lt;br/&gt;
&lt;sup&gt;@&lt;/sup&gt;@&lt;sup&gt;@$&lt;/sup&gt;@&lt;sup&gt;G&lt;/sup&gt;@&lt;sup&gt;@&lt;/sup&gt;@&lt;sup&gt;@&lt;/sup&gt;@^@, _type=BadRequest, _transactionId=TransactionId &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=36&amp;#93;&lt;/span&gt;, _transactionUri=null, augmentation=[]] to org.opendaylight.openflowplugin.test.OpenflowpluginTestCommandProvider$FlowEventListener$$Broker$ListenerInvoker@53b72d18&lt;br/&gt;
Error notification  flow Xid.........................36&lt;br/&gt;
-----------------------------------------------------------------------------------&lt;br/&gt;
2014-01-11 14:36:28.670 PST &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-22-thread-1&amp;#93;&lt;/span&gt; INFO  o.o.c.sal.binding.impl.NotifyTask - Notification delivered NodeErrorNotification [_code=1, _data=^D^R^@&lt;sup&gt;P&lt;/sup&gt;@&lt;sup&gt;@&lt;/sup&gt;@$^@&lt;sup&gt;G&lt;/sup&gt;@&lt;sup&gt;@&lt;/sup&gt;@&lt;sup&gt;@&lt;/sup&gt;@^@, _type=BadRequest, _transactionId=TransactionId &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=36&amp;#93;&lt;/span&gt;, _transactionUri=null, augmentation=[]] to org.opendaylight.controller.sal.compatibility.FlowProgrammerAdapter$$Broker$ListenerInvoker@1b8bc4da&lt;br/&gt;
2014-01-11 14:36:28.670 PST &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-22-thread-2&amp;#93;&lt;/span&gt; INFO  o.o.c.sal.binding.impl.NotifyTask - Notification delivered NodeErrorNotification [_code=1, _data=^D^R^@&lt;sup&gt;P&lt;/sup&gt;@&lt;sup&gt;@&lt;/sup&gt;@$^@&lt;sup&gt;G&lt;/sup&gt;@&lt;sup&gt;@&lt;/sup&gt;@&lt;sup&gt;@&lt;/sup&gt;@^@, _type=BadRequest, _transactionId=TransactionId &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=36&amp;#93;&lt;/span&gt;, _transactionUri=null, augmentation=[]] to org.opendaylight.openflowplugin.test.OpenflowpluginTestCommandProvider$FlowEventListener$$Broker$ListenerInvoker@53b72d18&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: Macintosh&lt;/p&gt;</environment>
        <key id="27287">OPNFLWPLUG-19</key>
            <summary>Group counter stats request and group description stats request malformed</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="Avishnoi">Anil Vishnoi</assignee>
                                    <reporter username="jmedved@cisco.com">Jan Medved</reporter>
                        <labels>
                    </labels>
                <created>Sat, 11 Jan 2014 22:52:34 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:00 +0000</updated>
                            <resolved>Fri, 17 Jan 2014 16:46:44 +0000</resolved>
                                                                    <component>General</component>
                        <due>Mon, 20 Jan 2014 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="55100" author="vishnoianil@gmail.com" created="Fri, 17 Jan 2014 14:33:06 +0000"  >&lt;p&gt;Hi Jan,&lt;/p&gt;

&lt;p&gt;Openvswitch 2.0.0 doesn&apos;t support following multipart requests (copied from OVS code base)&lt;/p&gt;

&lt;p&gt;      /* FIXME: Change the following once they are implemented: */&lt;br/&gt;
    case OFPTYPE_QUEUE_GET_CONFIG_REQUEST:&lt;br/&gt;
    case OFPTYPE_GET_ASYNC_REQUEST:&lt;br/&gt;
    case OFPTYPE_GROUP_STATS_REQUEST:&lt;br/&gt;
    case OFPTYPE_GROUP_DESC_STATS_REQUEST:&lt;br/&gt;
    case OFPTYPE_GROUP_FEATURES_STATS_REQUEST:&lt;br/&gt;
    case OFPTYPE_TABLE_FEATURES_STATS_REQUEST:&lt;/p&gt;

&lt;p&gt;That&apos;s the reason OVS throwing bad request error. &lt;/p&gt;

&lt;p&gt;CPqD switch supports all the above requests and i tested the code with that switch. With CPqD switch  I don&apos;t see any error for group description and group statistics multipart requests and I confirmed that relevant data is also getting augmented to the datastore tree. &lt;/p&gt;

&lt;p&gt;Following is the snapshot of data I fetched using restconf for the group i added manually to the CPqD switch. &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;99000&amp;lt;/nanosecond&amp;gt;&lt;br/&gt;
                                &amp;lt;second&amp;gt;120444271&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;</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>283</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=283]]></customfieldvalue>

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

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