<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:51 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-769] Cannot create new NETCONF connector with a POST</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-769</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;I have opendaylight-14.0.0 installed.&lt;/p&gt;

&lt;p&gt;I am following this guide:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.opendaylight.org/projects/netconf/en/latest/user-guide.html#southbound-netconf-connector&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.opendaylight.org/projects/netconf/en/latest/user-guide.html#southbound-netconf-connector&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I have started karaf with java 11 and done:&lt;/p&gt;

&lt;p&gt;feature:install &lt;tt&gt;odl-restconf&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;feature:install &lt;tt&gt;odl-netconf-topology&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;curl -vv -k -X POST --header &apos;Content-Type: application/json&apos; -u admin:admin &lt;a href=&quot;http://10.200.120.168:8181/rest/data/network-topology:network-topology/topology=topology-netconf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.200.120.168:8181/rest/data/network-topology:network-topology/topology=topology-netconf&lt;/a&gt; -d @create-new-netconf-connector.json&lt;/p&gt;


&lt;ul&gt;
	&lt;li&gt;About to connect() to 10.200.120.168 port 8181 (#0)&lt;/li&gt;
	&lt;li&gt;Trying 10.200.120.168...&lt;/li&gt;
	&lt;li&gt;Connected to 10.200.120.168 (10.200.120.168) port 8181 (#0)&lt;/li&gt;
	&lt;li&gt;Server auth using Basic with user &apos;admin&apos;&lt;br/&gt;
&amp;gt; POST /rest/data/network-topology:network-topology/topology=topology-netconf HTTP/1.1&lt;br/&gt;
&amp;gt; Authorization: Basic YWRtaW46YWRtaW4=&lt;br/&gt;
&amp;gt; User-Agent: curl/7.29.0&lt;br/&gt;
&amp;gt; Host: 10.200.120.168:8181&lt;br/&gt;
&amp;gt; Accept: &lt;b&gt;/&lt;/b&gt;&lt;br/&gt;
&amp;gt; Content-Type: application/json&lt;br/&gt;
&amp;gt; Content-Length: 722&lt;br/&gt;
&amp;gt; &lt;/li&gt;
	&lt;li&gt;upload completely sent off: 722 out of 722 bytes&lt;br/&gt;
&amp;lt; HTTP/1.1 401 Unauthorized&lt;br/&gt;
&amp;lt; Cache-Control: must-revalidate,no-cache,no-store&lt;br/&gt;
&amp;lt; Content-Type: text/html;charset=iso-8859-1&lt;br/&gt;
&amp;lt; Content-Length: 436&lt;br/&gt;
&amp;lt; &lt;br/&gt;
&amp;lt;html&amp;gt;&lt;br/&gt;
&amp;lt;head&amp;gt;&lt;br/&gt;
&amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=utf-8&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;title&amp;gt;Error 401 Unauthorized&amp;lt;/title&amp;gt;&lt;br/&gt;
&amp;lt;/head&amp;gt;&lt;br/&gt;
&amp;lt;body&amp;gt;&amp;lt;h2&amp;gt;HTTP ERROR 401 Unauthorized&amp;lt;/h2&amp;gt;&lt;br/&gt;
&amp;lt;table&amp;gt;&lt;br/&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;URI:&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;/rest/data/network-topology:network-topology/topology=topology-netconf&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;STATUS:&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;401&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;MESSAGE:&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;Unauthorized&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;SERVLET:&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;default&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;
&amp;lt;/table&amp;gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&amp;lt;/body&amp;gt;&lt;br/&gt;
&amp;lt;/html&amp;gt;&lt;/p&gt;

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

&lt;p&gt;What am I lacking?&lt;/p&gt;

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

&lt;p&gt;//mike&lt;/p&gt;</description>
                <environment></environment>
        <key id="34009">NETCONF-769</key>
            <summary>Cannot create new NETCONF connector with a POST</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="eraonel">mikael petterson</reporter>
                        <labels>
                    </labels>
                <created>Wed, 5 May 2021 14:07:42 +0000</created>
                <updated>Thu, 4 Nov 2021 19:17:11 +0000</updated>
                            <resolved>Thu, 4 Nov 2021 19:17:11 +0000</resolved>
                                                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="69349" author="tcere" created="Fri, 2 Jul 2021 12:59:10 +0000"  >&lt;p&gt;Looks like you have a typo in the link you are trying to send the POST request to:&lt;/p&gt;


&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
http:&lt;span class=&quot;code-comment&quot;&gt;//10.200.120.168:8181/&lt;span class=&quot;code-keyword&quot;&gt;rest&lt;/span&gt;/data/network-topology:network-topology/topology=topology-netconf &lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The rfc8040 restconf endpoint is located under /rests/data&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|i03xvb:</customfieldvalue>

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