<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:10 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>[NETCONF-488] We call rpc addNetconfNode by restconf,attribute TcpOnly is default&#65292;After write datastore,the TcpOnly is null in datastore</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-488</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;2017-11-24 17:45:05,855 | ERROR | on-dispatcher-51 | DataTreeChangeListenerActor | 199 - org.opendaylight.controller.sal-clustering-commons - 1.6.0 | member-1-shard-topology-config: Error notifying listener org.opendaylight.netconf.topology.impl.NetconfTopologyImpl@1c1e15a9&lt;br/&gt;
java.lang.NullPointerException&lt;br/&gt;
 at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:782)&lt;span class=&quot;error&quot;&gt;&amp;#91;71:com.google.guava:22.0.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 at org.opendaylight.netconf.topology.AbstractNetconfTopology.setupConnection(AbstractNetconfTopology.java:224)&lt;span class=&quot;error&quot;&gt;&amp;#91;344:netconf-topology-config:1.3.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 at org.opendaylight.netconf.topology.AbstractNetconfTopology.connectNode(AbstractNetconfTopology.java:200)&lt;span class=&quot;error&quot;&gt;&amp;#91;344:netconf-topology-config:1.3.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 at org.opendaylight.netconf.topology.impl.NetconfTopologyImpl.onDataTreeChanged(NetconfTopologyImpl.java:125)&lt;span class=&quot;error&quot;&gt;&amp;#91;344:netconf-topology-config:1.3.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeListenerAdapter.onDataTreeChanged(BindingDOMDataTreeChangeListenerAdapter.java:41)&lt;span class=&quot;error&quot;&gt;&amp;#91;193:org.opendaylight.controller.sal-binding-broker-impl:1.6.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 at org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerActor.dataChanged(DataTreeChangeListenerActor.java:67)&lt;span class=&quot;error&quot;&gt;&amp;#91;206:org.opendaylight.controller.sal-distributed-datastore:1.6.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 at org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerActor.handleReceive(DataTreeChangeListenerActor.java:41)&lt;span class=&quot;error&quot;&gt;&amp;#91;206:org.opendaylight.controller.sal-distributed-datastore:1.6.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 at org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor.onReceive(AbstractUntypedActor.java:38)&lt;span class=&quot;error&quot;&gt;&amp;#91;199:org.opendaylight.controller.sal-clustering-commons:1.6.0&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="28900">NETCONF-488</key>
            <summary>We call rpc addNetconfNode by restconf,attribute TcpOnly is default&#65292;After write datastore,the TcpOnly is null in datastore</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="JMorvay">Jakub Morvay</assignee>
                                    <reporter username="xygeng">Geng Xingyuan</reporter>
                        <labels>
                    </labels>
                <created>Sat, 25 Nov 2017 02:56:42 +0000</created>
                <updated>Tue, 5 Feb 2019 07:55:30 +0000</updated>
                            <resolved>Tue, 5 Feb 2019 07:55:30 +0000</resolved>
                                                    <fixVersion>Sodium</fixVersion>
                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="60200" author="xygeng" created="Sat, 25 Nov 2017 03:01:17 +0000"  >&lt;p&gt;Can modify method encryptPassword(AddNetconfNodeInput input) &#160; in NetconfTopologyRPCProvider.java&lt;/p&gt;

&lt;p&gt;add&#160;&lt;/p&gt;

&lt;p&gt;builder.setTcpOnly(null == input.isTcpOnly()?false:input.isTcpOnly()); &#160;&lt;/p&gt;

&lt;p&gt;at line 66.&lt;/p&gt;</comment>
                            <comment id="60204" author="tcere" created="Mon, 27 Nov 2017 07:08:31 +0000"  >&lt;p&gt;Feel free to submit a patch&lt;/p&gt;</comment>
                            <comment id="64816" author="rovarga" created="Tue, 28 Aug 2018 00:28:45 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=xygeng&quot; class=&quot;user-hover&quot; rel=&quot;xygeng&quot;&gt;xygeng&lt;/a&gt; any update on this issue?&lt;/p&gt;</comment>
                            <comment id="66418" author="jmorvay" created="Mon, 4 Feb 2019 19:52:52 +0000"  >&lt;p&gt;Actually I checked netconf-node-topology model and tcp-only leaf does not have any default value. So I am not sure why do you expect such behavior from NetconfTopologyRPCProvider (the class that implements and provides add-device RPC).&lt;/p&gt;

&lt;p&gt;On the other hand I think that tcp-only leaf should have some default value and it should default to false. We want to use more secure protocol by default.&lt;/p&gt;

&lt;p&gt;I created a patch that does this. It should also solve that NPE you saw when calling add-device RPC without tcp-only node defined.&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i038fz:</customfieldvalue>

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