<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:02:37 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>[INTDIST-37] need mechanism to get ODL version</title>
                <link>https://jira.opendaylight.org/browse/INTDIST-37</link>
                <project id="10130" key="INTDIST">integration-distribution</project>
                    <description>&lt;p&gt;We need a mechanism to get the ODL version from:&lt;br/&gt;
1) karaf CLI&lt;br/&gt;
2) REST (or RESTCONF)&lt;br/&gt;
3) NETCONF/YANG&lt;/p&gt;

&lt;p&gt;I&apos;m not sure where this should live - odlparent, controller (does that still exist as a project post-Lithium), or md-sal (but then you need to have md-sal to make this work - though does a controller with no md-sal make sense?)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="19343">INTDIST-37</key>
            <summary>need mechanism to get ODL version</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="-1">Unassigned</assignee>
                                    <reporter username="giheron@cisco.com">Giles Heron</reporter>
                        <labels>
                    </labels>
                <created>Fri, 11 Sep 2015 12:00:35 +0000</created>
                <updated>Fri, 20 Oct 2017 10:22:51 +0000</updated>
                            <resolved>Wed, 4 Jan 2017 11:39:11 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>Version</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="34957" author="vrpolak" created="Fri, 29 Jan 2016 17:01:31 +0000"  >&lt;p&gt;It looks like Restconf already exposes some statistics &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;, perhaps a Restconf version string can be added there.&lt;/p&gt;

&lt;p&gt;Netconf is the most sure place to put such addition. Odlparent does not depend on mdsal, so there is no easy way to expose anything.&lt;br/&gt;
On the other hand, integration/distribution may have the most direct version interpretation, but it has no Yang model yet for such additions.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/gitweb?p=netconf.git;a=blob;f=opendaylight/restconf/sal-rest-connector/src/main/yang/opendaylight-rest-connector.yang;h=c6c7c87115956d0324de34cbe0942043330f0e84;hb=refs/heads/master#l63&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/gitweb?p=netconf.git;a=blob;f=opendaylight/restconf/sal-rest-connector/src/main/yang/opendaylight-rest-connector.yang;h=c6c7c87115956d0324de34cbe0942043330f0e84;hb=refs/heads/master#l63&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="34958" author="rovarga" created="Tue, 9 Feb 2016 07:31:47 +0000"  >&lt;p&gt;The concept of &apos;the ODL version&apos; makes sense in terms of a Simultaneous Release, and thus can be exposed only by the leaf (distribution) project. All other projects have independent versioning.&lt;/p&gt;</comment>
                            <comment id="34959" author="giheron@cisco.com" created="Wed, 16 Mar 2016 11:27:05 +0000"  >&lt;p&gt;Is it possible to get this fixed by Beryllium-SR2?&lt;/p&gt;</comment>
                            <comment id="34960" author="vrpolak" created="Wed, 16 Mar 2016 13:37:32 +0000"  >&lt;p&gt;&amp;gt; Is it possible to get this fixed by Beryllium-SR2?&lt;/p&gt;

&lt;p&gt;&amp;gt;&amp;gt; 1) karaf CLI&lt;/p&gt;

&lt;p&gt;It is already there:&lt;br/&gt;
  feature:repo-list&lt;br/&gt;
It outputs a long list, but you can use &quot;| grep &amp;lt;something&amp;gt;&quot; to narrow the list down. For example, current post-SR1 Beryllium snapshots contains these:&lt;br/&gt;
  odl-integration-0.4.1-SNAPSHOT             | mvn:org.opendaylight.integration/features-integration-index/0.4.1-SNAPSHOT/xml/features&lt;br/&gt;
  odlparent-1.6.1-SNAPSHOT                   | mvn:org.opendaylight.odlparent/features-odlparent/1.6.1-SNAPSHOT/xml/features&lt;/p&gt;

&lt;p&gt;&amp;gt;&amp;gt; 2) REST (or RESTCONF)&lt;br/&gt;
&amp;gt;&amp;gt; 3) NETCONF/YANG&lt;/p&gt;

&lt;p&gt;The simplest workaround is GET to &amp;lt;host&amp;gt;:8181/restconf/modules and classify modules (and revisions) present there. For example this one is in Beryllium but not in Lithium:&lt;/p&gt;
  {&quot;name&quot;:&quot;aaa-authn-netconf-plugin&quot;,&quot;revision&quot;:&quot;2015-07-15&quot;,&quot;namespace&quot;:&quot;config:aaa:authn:netconf:plugin&quot;}
&lt;p&gt;and this one is in Beryllium-SR1 (possibly by an oversight) but not in Beryllium release:&lt;/p&gt;
  {&quot;name&quot;:&quot;instance-identifier-patch-module&quot;,&quot;revision&quot;:&quot;2015-11-21&quot;,&quot;namespace&quot;:&quot;instance:identifier:patch:module&quot;}
&lt;p&gt;The downside is that presence of modules depends on features installed.&lt;/p&gt;

&lt;p&gt;As integration/distribution projects does not currently contain any yang models or config files, it is not probable to have a more straightforward solution before Beryllium-SR2.&lt;/p&gt;</comment>
                            <comment id="34961" author="giheron@cisco.com" created="Wed, 16 Mar 2016 13:46:22 +0000"  >&lt;p&gt;Hi Vratko,&lt;/p&gt;

&lt;p&gt;thanks for the info re Karaf.  That&apos;s helpful.&lt;/p&gt;

&lt;p&gt;re REST and NETCONF/YANG yes, I&apos;ve already suggested that people use the method you suggested.  However it does feel like something of a hack to have to find a module that is in e.g. Beryllium but not in Lithium, and as you say it depends on features installed.  So far I&apos;m using ietf-inet-types &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;Giles&lt;/p&gt;</comment>
                            <comment id="34962" author="vrpolak" created="Thu, 17 Mar 2016 13:33:01 +0000"  >&lt;p&gt;&amp;gt; As integration/distribution projects does not currently contain any yang&lt;br/&gt;
&amp;gt; models or config files, it is not probable to have a more straightforward&lt;br/&gt;
&amp;gt; solution before Beryllium-SR2.&lt;/p&gt;

&lt;p&gt;I gave it a try anyway.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36311/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36311/&lt;/a&gt;&lt;br/&gt;
You would need odl-restconf, odl-netconf-connector-ssh and the new odl-integration-version feature installed.&lt;/p&gt;

&lt;p&gt;Still, it may take some time to merge that, as there are not many committers familiar with Java in integration/distribution.&lt;/p&gt;</comment>
                            <comment id="34963" author="giheron@cisco.com" created="Tue, 22 Mar 2016 19:48:53 +0000"  >&lt;p&gt;looks good to me &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;any value in me reviewing the code?&lt;/p&gt;</comment>
                            <comment id="34964" author="vrpolak" created="Wed, 23 Mar 2016 12:05:06 +0000"  >&lt;p&gt;&amp;gt; any value in me reviewing the code?&lt;/p&gt;

&lt;p&gt;Yes, there are several string identifiers visible, and I am not sure my chosen values are systematic enough. This includes module name &quot;odl-distribution-version&quot;, XML namespace &quot;urn:opendaylight:params:xml:ns:yang:integration:distribution:version&quot;, type identity &quot;odl-version&quot;, leaf name &quot;version&quot;, config file name &quot;odl-version.xml&quot; and the two config-module names defined in it &quot;odl-distribution-version&quot; and &quot;odl-odlparent-version&quot;.&lt;/p&gt;

&lt;p&gt;I should also find someone who is familiar with config subsystem to decide whether I got all the dependencies right (or whether it only works by accident).&lt;/p&gt;</comment>
                            <comment id="34965" author="vrpolak" created="Wed, 23 Mar 2016 14:49:01 +0000"  >&lt;p&gt;&amp;gt; there are several string identifiers visible&lt;/p&gt;

&lt;p&gt;I forgot the feature name, currently &quot;odl-distribution-version&quot;.&lt;/p&gt;</comment>
                            <comment id="34966" author="giheron@cisco.com" created="Wed, 23 Mar 2016 16:17:42 +0000"  >&lt;p&gt;the default-config.xml is hand-generated, right?&lt;/p&gt;

&lt;p&gt;is there any way to auto-generate it?  that way there&apos;d be no risk of the versions being out of sync between what we report and what we&apos;ve actually built (if that makes sense...)&lt;/p&gt;</comment>
                            <comment id="34967" author="vrpolak" created="Wed, 23 Mar 2016 16:50:34 +0000"  >&lt;p&gt;&amp;gt; the default-config.xml is hand-generated, right?&lt;/p&gt;

&lt;p&gt;Yes, and further manual edits are expected, as other projects may want to add their version.&lt;/p&gt;

&lt;p&gt;I am not expert enough to figure a way to make config-parent do replacements from defined properties (such as ${feature.odlparent.version}) before packaging the config file into the jar bundle. (I can open improvement Bug when this gets merged.)&lt;/p&gt;

&lt;p&gt;So far I am only trying to make sure that version bumping scripts will bump the value too. &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36408&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36408&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="34968" author="vrpolak" created="Thu, 26 May 2016 18:06:16 +0000"  >&lt;p&gt;&amp;gt; the default-config.xml is hand-generated, right?&lt;/p&gt;

&lt;p&gt;Currently, I favor using property values from pom file (where they would get bumped by current version bumping script).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/37210/6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/37210/6&lt;/a&gt; (current Boron integration/distribution patch)&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/39427/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/39427/1&lt;/a&gt; (required patch in controller)&lt;/p&gt;</comment>
                            <comment id="34969" author="vrpolak" created="Fri, 3 Jun 2016 13:19:26 +0000"  >&lt;p&gt;Merged: &lt;a href=&quot;https://git.opendaylight.org/gerrit/37210&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/37210&lt;/a&gt;&lt;br/&gt;
Still waiting for: &lt;a href=&quot;https://git.opendaylight.org/gerrit/39427&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/39427&lt;/a&gt;&lt;br/&gt;
That is for Boron, backport to Beryllium will be the next step.&lt;/p&gt;</comment>
                            <comment id="34970" author="vrpolak" created="Wed, 31 Aug 2016 11:02:42 +0000"  >&lt;p&gt;So, Beryllium-SR3 and (almost surely) Boron do have the most of functionality, but user has to edit config file (or use restonf at runtime) to modify version values, due to &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1522&quot; title=&quot;config-parent: Substitute properties in the default config file&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1522&quot;&gt;&lt;del&gt;CONTROLLER-1522&lt;/del&gt;&lt;/a&gt; fix still not being merged.&lt;/p&gt;</comment>
                            <comment id="34971" author="vrpolak" created="Mon, 26 Sep 2016 17:36:14 +0000"  >&lt;p&gt;Carbon is on its way to get fixed: &lt;a href=&quot;https://git.opendaylight.org/gerrit/46198&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/46198&lt;/a&gt;&lt;br/&gt;
Boron may take longer time, Beryllium will probably be never fixed.&lt;/p&gt;</comment>
                            <comment id="34972" author="vrpolak" created="Mon, 14 Nov 2016 16:42:09 +0000"  >&lt;p&gt;Carbon is fixed.&lt;br/&gt;
Boron: &lt;a href=&quot;https://git.opendaylight.org/gerrit/48328&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/48328&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="34973" author="vrpolak" created="Wed, 4 Jan 2017 11:39:11 +0000"  >&lt;p&gt;Boron change merged, test &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; passes.&lt;br/&gt;
As Beryllium will not get fixed, this Bug can be considered FIXED.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/distribution/job/distribution-csit-1node-userfeatures-only-boron/lastSuccessfulBuild/robot/distribution-userfeatures.txt/Version/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/distribution/job/distribution-csit-1node-userfeatures-only-boron/lastSuccessfulBuild/robot/distribution-userfeatures.txt/Version/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="26076">CONTROLLER-1522</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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>4296</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=4296]]></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="10307"><![CDATA[Boron-1]]></customfieldvalue>

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

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