<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:52: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>[CONTROLLER-85] RESTCONF not passing any values through for Groups (all null)</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-85</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;This is against:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/3314/10&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/3314/10&lt;/a&gt; (controller side)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/3451/2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/3451/2&lt;/a&gt; (openflowplugin side)&lt;/p&gt;

&lt;p&gt;Build the controller&lt;br/&gt;
Build openflowplugin using -nsu&lt;/p&gt;

&lt;p&gt;Run distribution/base/target/../run.sh -debug&lt;/p&gt;

&lt;p&gt;From POSTMAN:&lt;/p&gt;

&lt;p&gt;PUT: &lt;a href=&quot;http://192.168.195.157:8080/restconf/config/opendaylight-inventory:nodes/node/foo:node:1/group/125&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.195.157:8080/restconf/config/opendaylight-inventory:nodes/node/foo:node:1/group/125&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Content-Type: application/xml&lt;/p&gt;

&lt;p&gt;Accept: application/xml&lt;/p&gt;

&lt;p&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;group &lt;br/&gt;
        xmlns=&quot;urn:opendaylight:flow:inventory&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;group-id&amp;gt;125&amp;lt;/group-id&amp;gt;&lt;br/&gt;
        &amp;lt;buckets&amp;gt;&lt;br/&gt;
            &amp;lt;bucket&amp;gt;&lt;br/&gt;
                &amp;lt;watch_port&amp;gt;1234&amp;lt;/watch_port&amp;gt;&lt;br/&gt;
                &amp;lt;watch_group&amp;gt;123&amp;lt;/watch_group&amp;gt;&lt;br/&gt;
                &amp;lt;action&amp;gt;&lt;br/&gt;
                    &amp;lt;pop-vlan-action/&amp;gt;&lt;br/&gt;
                &amp;lt;/action&amp;gt;&lt;br/&gt;
                &amp;lt;bucket-id&amp;gt;12&amp;lt;/bucket-id&amp;gt;&lt;br/&gt;
                &amp;lt;weight&amp;gt;123&amp;lt;/weight&amp;gt;&lt;br/&gt;
            &amp;lt;/bucket&amp;gt;&lt;br/&gt;
        &amp;lt;/buckets&amp;gt;&lt;br/&gt;
        &amp;lt;install&amp;gt;false&amp;lt;/install&amp;gt;&lt;br/&gt;
        &amp;lt;group-name&amp;gt;Foo&amp;lt;/group-name&amp;gt;&lt;br/&gt;
        &amp;lt;barrier&amp;gt;false&amp;lt;/barrier&amp;gt;&lt;br/&gt;
    &amp;lt;/group&amp;gt;&lt;/p&gt;

&lt;p&gt;What arrives at the RPC is :&lt;/p&gt;

&lt;p&gt;2013-12-09 05:02:22.976 PST &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-20-thread-6&amp;#93;&lt;/span&gt; INFO  o.o.o.t.OpenflowpluginGroupTestServiceProvider - addGroup - AddGroupInput [_barrier=null, _buckets=null, _containerName=null, _groupId=null, _groupName=null, _groupType=null, _install=null, _node=NodeRef [_value=InstanceIdentifier [path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=foo:node:1&amp;#93;&lt;/span&gt;]]]]], _transactionId=null]&lt;/p&gt;

&lt;p&gt;Basically, all Group values nulled out.&lt;/p&gt;

&lt;p&gt;Additionally, while debugging its clear that the data that comes into the Transaction has all fields nulled as well.  So the issue is prior to the data commit.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="24639">CONTROLLER-85</key>
            <summary>RESTCONF not passing any values through for Groups (all null)</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</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="10002">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="hagbard">Ed Warnicke</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Dec 2013 13:14:27 +0000</created>
                <updated>Tue, 25 Jul 2023 08:22:54 +0000</updated>
                            <resolved>Fri, 24 Jan 2014 14:33:45 +0000</resolved>
                                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="47438" author="hagbard@gmail.com" created="Mon, 9 Dec 2013 13:15:20 +0000"  >&lt;p&gt;Oops... this is against&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/3314/11&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/3314/11&lt;/a&gt; (controller side)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/3451/3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/3451/3&lt;/a&gt; (openflowplugin side)&lt;/p&gt;</comment>
                            <comment id="47439" author="msunal@cisco.com" created="Tue, 14 Jan 2014 16:07:03 +0000"  >&lt;p&gt;In current version all data from request are sent to transaction from restconf. &lt;br/&gt;
I had to changed data in request because there should be &quot;order&quot; element in &quot;action&quot; and &quot;install&quot; is removed. Problem will be in another component or it was already resolved. Bug is moved to mdsal&lt;/p&gt;

&lt;p&gt;Current data:&lt;/p&gt;

&lt;p&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;group &lt;br/&gt;
    xmlns=&quot;urn:opendaylight:flow:inventory&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;group-id&amp;gt;125&amp;lt;/group-id&amp;gt;&lt;br/&gt;
    &amp;lt;buckets&amp;gt;&lt;br/&gt;
        &amp;lt;bucket&amp;gt;&lt;br/&gt;
            &amp;lt;watch_port&amp;gt;1234&amp;lt;/watch_port&amp;gt;&lt;br/&gt;
            &amp;lt;watch_group&amp;gt;123&amp;lt;/watch_group&amp;gt;&lt;br/&gt;
            &amp;lt;action&amp;gt;&lt;br/&gt;
                &amp;lt;order&amp;gt;1&amp;lt;/order&amp;gt;&lt;br/&gt;
                &amp;lt;pop-vlan-action/&amp;gt;&lt;br/&gt;
            &amp;lt;/action&amp;gt;&lt;br/&gt;
            &amp;lt;bucket-id&amp;gt;12&amp;lt;/bucket-id&amp;gt;&lt;br/&gt;
            &amp;lt;weight&amp;gt;123&amp;lt;/weight&amp;gt;&lt;br/&gt;
        &amp;lt;/bucket&amp;gt;&lt;br/&gt;
    &amp;lt;/buckets&amp;gt;&lt;br/&gt;
    &amp;lt;group-name&amp;gt;Foo&amp;lt;/group-name&amp;gt;&lt;br/&gt;
    &amp;lt;barrier&amp;gt;false&amp;lt;/barrier&amp;gt;&lt;br/&gt;
&amp;lt;/group&amp;gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="24673">CONTROLLER-119</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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>216</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=216]]></customfieldvalue>

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

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