<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:13: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>[NETCONF-7] Netconf config pusher for plain XML files with Karaf</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-7</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;After loading RC1-6 and the config for XRVR netconf &lt;br/&gt;
connection&lt;br/&gt;
I  was unalbe to see any evidence of config being dected in the logs&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21020">NETCONF-7</key>
            <summary>Netconf config pusher for plain XML files with Karaf</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="ricjhill@gmail.com">RichardHill</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 Sep 2014 15:44:12 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:09 +0000</updated>
                            <resolved>Mon, 27 Aug 2018 21:06:39 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="38701" author="ricjhill@gmail.com" created="Mon, 22 Sep 2014 15:44:12 +0000"  >&lt;p&gt;Attachment karaf.log has been added with description: odl log&lt;/p&gt;</comment>
                            <comment id="38694" author="mmarsale@cisco.com" created="Mon, 22 Sep 2014 15:54:48 +0000"  >&lt;p&gt;Karaf config pusher is different to the basic config pusher. It loads config xml files as a part of a feature.&lt;/p&gt;

&lt;p&gt;If you need to change the configuration, you have to wait until controller is up and running and then push the configuration manually using Netconf, Restconf + loopback netconf connector or JMX.&lt;/p&gt;

&lt;p&gt;There will be an entry on wiki for how to do that using Restconf + loopback netconf connector in the near future.&lt;/p&gt;

&lt;p&gt;So this is not a bug, marking as enhancement.&lt;/p&gt;</comment>
                            <comment id="38695" author="ricjhill@gmail.com" created="Mon, 22 Sep 2014 17:22:16 +0000"  >&lt;p&gt;Work around was to POST  XRVR device configuration to configuration datastore&lt;/p&gt;

&lt;p&gt;/restconf/config/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount/config:modules&lt;/p&gt;

&lt;p&gt;PAYLOAD&lt;/p&gt;


&lt;p&gt;       &amp;lt;module xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:config&quot;&amp;gt;&lt;br/&gt;
          &amp;lt;type xmlns:prefix=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf&quot;&amp;gt;prefix:sal-netconf-connector&amp;lt;/type&amp;gt;&lt;br/&gt;
          &amp;lt;name&amp;gt;controller-config_xrvr&amp;lt;/name&amp;gt;&lt;br/&gt;
          &amp;lt;address xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf&quot;&amp;gt;10.25.2.37&amp;lt;/address&amp;gt;&lt;br/&gt;
          &amp;lt;port xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf&quot;&amp;gt;830&amp;lt;/port&amp;gt;&lt;br/&gt;
          &amp;lt;username xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf&quot;&amp;gt;cisco&amp;lt;/username&amp;gt;&lt;br/&gt;
          &amp;lt;password xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf&quot;&amp;gt;cisco&amp;lt;/password&amp;gt;&lt;br/&gt;
          &amp;lt;tcp-only xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf&quot;&amp;gt;false&amp;lt;/tcp-only&amp;gt;&lt;br/&gt;
          &amp;lt;event-executor xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf&quot;&amp;gt;&lt;br/&gt;
            &amp;lt;type xmlns:prefix=&quot;urn:opendaylight:params:xml:ns:yang:controller:netty&quot;&amp;gt;prefix:netty-event-executor&amp;lt;/type&amp;gt;&lt;br/&gt;
            &amp;lt;name&amp;gt;global-event-executor&amp;lt;/name&amp;gt;&lt;br/&gt;
          &amp;lt;/event-executor&amp;gt;&lt;br/&gt;
          &amp;lt;binding-registry xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf&quot;&amp;gt;&lt;br/&gt;
            &amp;lt;type xmlns:prefix=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding&quot;&amp;gt;prefix:binding-broker-osgi-registry&amp;lt;/type&amp;gt;&lt;br/&gt;
            &amp;lt;name&amp;gt;binding-osgi-broker&amp;lt;/name&amp;gt;&lt;br/&gt;
          &amp;lt;/binding-registry&amp;gt;&lt;br/&gt;
          &amp;lt;dom-registry xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf&quot;&amp;gt;&lt;br/&gt;
            &amp;lt;type xmlns:prefix=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom&quot;&amp;gt;prefix:dom-broker-osgi-registry&amp;lt;/type&amp;gt;&lt;br/&gt;
            &amp;lt;name&amp;gt;dom-broker&amp;lt;/name&amp;gt;&lt;br/&gt;
          &amp;lt;/dom-registry&amp;gt;&lt;br/&gt;
          &amp;lt;client-dispatcher xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf&quot;&amp;gt;&lt;br/&gt;
            &amp;lt;type xmlns:prefix=&quot;urn:opendaylight:params:xml:ns:yang:controller:config:netconf&quot;&amp;gt;prefix:netconf-client-dispatcher&amp;lt;/type&amp;gt;&lt;br/&gt;
            &amp;lt;name&amp;gt;global-netconf-dispatcher&amp;lt;/name&amp;gt;&lt;br/&gt;
          &amp;lt;/client-dispatcher&amp;gt;&lt;br/&gt;
          &amp;lt;processing-executor xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf&quot;&amp;gt;&lt;br/&gt;
            &amp;lt;type xmlns:prefix=&quot;urn:opendaylight:params:xml:ns:yang:controller:threadpool&quot;&amp;gt;prefix:threadpool&amp;lt;/type&amp;gt;&lt;br/&gt;
            &amp;lt;name&amp;gt;global-netconf-processing-executor&amp;lt;/name&amp;gt;&lt;br/&gt;
          &amp;lt;/processing-executor&amp;gt;&lt;br/&gt;
        &amp;lt;/module&amp;gt;&lt;/p&gt;</comment>
                            <comment id="38696" author="mmarsale@cisco.com" created="Tue, 23 Sep 2014 10:40:36 +0000"  >&lt;p&gt;Promised wiki entry for workaround:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_Controller:Config:Examples:Netconf#Spawning_additional_netconf_connector_while_controller_is_running&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OpenDaylight_Controller:Config:Examples:Netconf#Spawning_additional_netconf_connector_while_controller_is_running&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="38697" author="mmarsale@cisco.com" created="Tue, 11 Nov 2014 12:59:10 +0000"  >&lt;p&gt;We need enhance karaf config pusher to allow pushing initial config files from pure xml files. Not just within features. Since it is then impossible to easily modify/add initial config files.&lt;/p&gt;</comment>
                            <comment id="38698" author="vrpolak" created="Tue, 11 Nov 2014 16:51:41 +0000"  >&lt;p&gt;(In reply to Maros Marsalek from comment #4)&lt;br/&gt;
&amp;gt; We need enhance karaf config pusher to allow pushing initial config files&lt;br/&gt;
&amp;gt; from pure xml files. Not just within features. Since it is then impossible&lt;br/&gt;
&amp;gt; to easily modify/add initial config files.&lt;/p&gt;

&lt;p&gt;It was also my initial reaction, but then I have heard counter arguments.&lt;/p&gt;

&lt;p&gt;Usual way for pushing additional config files was unconditional, which means it was possible to push xml file before its handling feature has been installed. This can lead to confusing errors, missing functionality, and it has great (non-deterministic) chance to happen when karaf is being re-started.&lt;/p&gt;

&lt;p&gt;As opposed to that, adding or modifying feature-defined configs is relatively painless.&lt;br/&gt;
To modify, simply place your modified file (without filename change) to etc/opendaylight/karaf/ before feature is installed, it will be applied instead of the packaged &quot;default&quot; config file.&lt;br/&gt;
To add, you can use the fact that if a feature can digest config, it usually has default one packaged; so you only need to merge your additions to the default, and do just described &quot;modify&quot; steps.&lt;br/&gt;
For netconf-connector, it means merging additional sal-netconf-connector modules into 99-netconf-connector.xml file.&lt;/p&gt;</comment>
                            <comment id="38699" author="mmarsale@cisco.com" created="Mon, 1 Dec 2014 09:12:40 +0000"  >&lt;p&gt;Changing this to new feature.&lt;/p&gt;

&lt;p&gt;You are right Vratko. With karaf it is possible that required bundles will not appear at all if user does not install needed features. But this problem was also present with the old distribution and config pusher tries to wait for the bundles to appear (using required capabilities tag in the xml files). The case was an unresolved bundle or unknown required capabilities stated in the config file. With detailed error reporting or some kind of &quot;auto install feature&quot; mechanism this might be feasible, but a broader discussion is welcomed.&lt;/p&gt;</comment>
                            <comment id="38700" author="rovarga" created="Fri, 13 Nov 2015 13:02:53 +0000"  >&lt;p&gt;Move to NETCONF project&lt;/p&gt;</comment>
                            <comment id="64788" author="rovarga" created="Mon, 27 Aug 2018 21:06:39 +0000"  >&lt;p&gt;Config Subsystem is gone, this is no longer relevant.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12628" name="karaf.log" size="192067" author="ricjhill@gmail.com" created="Mon, 22 Sep 2014 15:44:12 +0000"/>
                    </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>2025</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=2025]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10308"><![CDATA[New Feature]]></customfieldvalue>

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

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

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