<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:56 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-1201] netconf client check base1.1 capability wrong</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1201</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;I have a netconf server that does not advertise urn:ietf:params:netconf:base:1.1&lt;br/&gt;
. but advertise a private capability &quot;urn:com:xxx:yyy:ebase:1.1.1&quot;&lt;/p&gt;

&lt;p&gt;In the following method, it only check capability with string base:1.1. and get a wrong capability to make ODL sending the base1.1 separators in RPC messages.&lt;/p&gt;

&lt;p&gt;private boolean containsBase11Capability(final Document doc) {&lt;br/&gt;
        final NodeList nList = doc.getElementsByTagName(&quot;capability&quot;);&lt;br/&gt;
        for (int i = 0; i &amp;lt; nList.getLength(); i++) {&lt;br/&gt;
            if (nList.item&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/information.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;.getTextContent().contains(&quot;base:1.1&quot;)) &lt;/p&gt;
{
                return true;
            }
&lt;p&gt;        }&lt;br/&gt;
        return false;&lt;br/&gt;
    }&lt;/p&gt;

&lt;p&gt;I think the the check should use full capability string &quot;urn:ietf:params:netconf:base:1.1&quot;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25755">CONTROLLER-1201</key>
            <summary>netconf client check base1.1 capability wrong</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="mmarsale@cisco.com">Maros Marsalek</assignee>
                                    <reporter username="bo.l.li@ericsson.com">Bo Li</reporter>
                        <labels>
                    </labels>
                <created>Fri, 13 Mar 2015 09:21:17 +0000</created>
                <updated>Mon, 23 Mar 2015 10:30:27 +0000</updated>
                            <resolved>Mon, 23 Mar 2015 10:30:27 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="50246" author="mmarsale@cisco.com" created="Fri, 20 Mar 2015 14:21:39 +0000"  >&lt;p&gt;Pushed the fix:&lt;/p&gt;

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

&lt;p&gt;Would you mind performing a review on that (giving +1 or -1) ?&lt;/p&gt;</comment>
                            <comment id="50247" author="bo.l.li@ericsson.com" created="Fri, 20 Mar 2015 15:41:21 +0000"  >&lt;p&gt;(In reply to Maros Marsalek from comment #1)&lt;br/&gt;
&amp;gt; Pushed the fix:&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/16920/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/16920/&lt;/a&gt;&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Would you mind performing a review on that (giving +1 or -1) ?&lt;/p&gt;

&lt;p&gt;Hi Maros,&lt;/p&gt;

&lt;p&gt;I have review the code change, it&apos;s fine. but I did not see the code change in the xmlcontants.java...&lt;/p&gt;</comment>
                            <comment id="50248" author="bo.l.li@ericsson.com" created="Mon, 23 Mar 2015 03:07:20 +0000"  >&lt;p&gt;The code change looks good for me&lt;/p&gt;</comment>
                            <comment id="50249" author="mmarsale@cisco.com" created="Mon, 23 Mar 2015 08:56:51 +0000"  >&lt;p&gt;The XmlNetconfConstants did not change, it already contains the full capability string defined as:&lt;/p&gt;

&lt;p&gt;    public static final String URN_IETF_PARAMS_NETCONF_BASE_1_1 = &quot;urn:ietf:params:netconf:base:1.1&quot;;&lt;/p&gt;

&lt;p&gt;Just using it in AbstractNetconfSessionNegotiator instead of hardcoded &quot;base:1.1&quot;&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>2837</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=2837]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10380"><![CDATA[Lithium-M5]]></customfieldvalue>

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

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