<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:17 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>[YANGTOOLS-450] v6 prefix checking broken</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-450</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;This is an example piece of code from openflowplugin tests.&lt;/p&gt;

&lt;p&gt;ActionSetNwSrcReactorTest.java:45&lt;/p&gt;

&lt;p&gt;                new Ipv6Builder().setIpv6Address(new Ipv6Prefix(&quot;1234:5678:9abc:def1:2345:6789:abcd:ef12&quot;)).build(),&lt;/p&gt;

&lt;p&gt;This passes a prefix without a /X to the Ipv6Prefix constructor. &lt;/p&gt;

&lt;p&gt;This should not work. But it does - test passes in stock openflowplugin from helium.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22870">YANGTOOLS-450</key>
            <summary>v6 prefix checking broken</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="tony.tkacik@gmail.com">Tony Tkacik</assignee>
                                    <reporter username="aivanov@brocade.com">Anton Ivanov</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Apr 2015 09:09:52 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:32 +0000</updated>
                            <resolved>Mon, 8 Jun 2015 13:27:14 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="43378" author="tony.tkacik@gmail.com" created="Thu, 23 Apr 2015 15:15:55 +0000"  >&lt;p&gt;remote:   &lt;a href=&quot;https://git.opendaylight.org/gerrit/18922&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/18922&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="43379" author="aivanov@brocade.com" created="Thu, 23 Apr 2015 15:30:24 +0000"  >&lt;p&gt;Exec summary: I have no clue what is going on here.&lt;/p&gt;

&lt;p&gt;The java code generated by yangtools looks correct. However it accepts input which should definitely fail (as in the openflow example).&lt;/p&gt;

&lt;p&gt;The regexps are correct. If I cut-n-paste them into the following perl snippet they work:&lt;/p&gt;

&lt;p&gt;#!/usr/bin/perl&lt;/p&gt;

&lt;p&gt;@z = (&quot;^((:|&lt;span class=&quot;error&quot;&gt;&amp;#91;0-9a-fA-F&amp;#93;&lt;/span&gt;&lt;/p&gt;
{0,4})&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;span class=&quot;error&quot;&gt;&amp;#91;0-9a-fA-F&amp;#93;&lt;/span&gt;{0,4}
&lt;p&gt;&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;
{0,5}
&lt;p&gt;(((&lt;span class=&quot;error&quot;&gt;&amp;#91;0-9a-fA-F&amp;#93;&lt;/span&gt;&lt;/p&gt;
{0,4}&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;span class=&quot;error&quot;&gt;&amp;#91;0-9a-fA-F&amp;#93;&lt;/span&gt;{0,4}
&lt;p&gt;))|(((25&lt;span class=&quot;error&quot;&gt;&amp;#91;0-5&amp;#93;&lt;/span&gt;|2&lt;span class=&quot;error&quot;&gt;&amp;#91;0-4&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0-9&amp;#93;&lt;/span&gt;|&lt;span class=&quot;error&quot;&gt;&amp;#91;01&amp;#93;&lt;/span&gt;?&lt;span class=&quot;error&quot;&gt;&amp;#91;0-9&amp;#93;&lt;/span&gt;?&lt;span class=&quot;error&quot;&gt;&amp;#91;0-9&amp;#93;&lt;/span&gt;)&lt;br class=&quot;atl-forced-newline&quot; /&gt;.)&lt;/p&gt;
{3}
&lt;p&gt;(25&lt;span class=&quot;error&quot;&gt;&amp;#91;0-5&amp;#93;&lt;/span&gt;|2&lt;span class=&quot;error&quot;&gt;&amp;#91;0-4&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0-9&amp;#93;&lt;/span&gt;|&lt;span class=&quot;error&quot;&gt;&amp;#91;01&amp;#93;&lt;/span&gt;?&lt;span class=&quot;error&quot;&gt;&amp;#91;0-9&amp;#93;&lt;/span&gt;?&lt;span class=&quot;error&quot;&gt;&amp;#91;0-9&amp;#93;&lt;/span&gt;)))(/((&lt;span class=&quot;error&quot;&gt;&amp;#91;0-9&amp;#93;&lt;/span&gt;)|(&lt;span class=&quot;error&quot;&gt;&amp;#91;0-9&amp;#93;&lt;/span&gt;&lt;/p&gt;
{2}
&lt;p&gt;)|(1&lt;span class=&quot;error&quot;&gt;&amp;#91;0-1&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0-9&amp;#93;&lt;/span&gt;)|(12&lt;span class=&quot;error&quot;&gt;&amp;#91;0-8&amp;#93;&lt;/span&gt;)))\$&quot;, &quot;^((&lt;span class=&quot;error&quot;&gt;&amp;#91;^:&amp;#93;&lt;/span&gt;+&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;
{6}
&lt;p&gt;((&lt;span class=&quot;error&quot;&gt;&amp;#91;^:&amp;#93;&lt;/span&gt;&lt;ins&gt;:&lt;span class=&quot;error&quot;&gt;&amp;#91;^:&amp;#93;&lt;/span&gt;&lt;/ins&gt;)|(.&lt;b&gt;&lt;br class=&quot;atl-forced-newline&quot; /&gt;..&lt;/b&gt;)))|(((&lt;span class=&quot;error&quot;&gt;&amp;#91;^:&amp;#93;&lt;/span&gt;&lt;ins&gt;&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;b&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;^:&amp;#93;&lt;/span&gt;&lt;/ins&gt;)?:&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(&lt;span class=&quot;error&quot;&gt;&amp;#91;^:&amp;#93;&lt;/span&gt;&lt;ins&gt;&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;/b&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;^:&amp;#93;&lt;/span&gt;&lt;/ins&gt;)?)(/.+)\$&quot;);&lt;/p&gt;

&lt;p&gt;while ($a = &amp;lt;STDIN&amp;gt;) {&lt;br/&gt;
    chomp($a);&lt;br/&gt;
    foreach $regexp (@z) {&lt;br/&gt;
        if ($a =~ /$regexp/) &lt;/p&gt;
{
            print &quot;OK for $regexp\n&quot;;
        }
&lt;p&gt; else &lt;/p&gt;
{
            print &quot;NOK for $regexp\n&quot;;
        }
&lt;p&gt;    }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;Unless there is something in the yang generated code which I have missed, this looks like a bug in the underlying regexp library.&lt;/p&gt;</comment>
                            <comment id="43380" author="carolsand@gmail.com" created="Tue, 19 May 2015 16:42:06 +0000"  >&lt;p&gt;Awaiting down stream projects to update their code.&lt;br/&gt;
To remain open until new IPv6Builder() is used.&lt;/p&gt;

&lt;p&gt;Projects Still failing:&lt;br/&gt;
Openflow&lt;br/&gt;
OVSDB&lt;br/&gt;
GBP&lt;/p&gt;</comment>
                            <comment id="43381" author="vishnoianil@gmail.com" created="Wed, 20 May 2015 11:46:38 +0000"  >&lt;p&gt;Hi Carol,&lt;/p&gt;

&lt;p&gt;What exactly are the changes that down stream project need to do?&lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
Anil&lt;/p&gt;</comment>
                            <comment id="43382" author="aivanov@brocade.com" created="Wed, 20 May 2015 13:08:14 +0000"  >&lt;p&gt;Anil, you need to replace any instantiation of IpvXPrefix (mostly found in Matchers) which is being done without a netmask with a correct argument - with netmask.&lt;/p&gt;

&lt;p&gt;The easiest way is utility class with multiple createPrefix() methods:&lt;/p&gt;

&lt;p&gt;Ipv6Prefix createPrefix(string);&lt;br/&gt;
Ipv6Prefix createPrefix(string, integer);&lt;/p&gt;

&lt;p&gt;Ipv6Prefix createPrefix(Ipv6Address);&lt;br/&gt;
Ipv6Prefix createPrefix(Ipv6Address, integer);&lt;/p&gt;

&lt;p&gt;Ipv4Prefix createPrefix(string);&lt;br/&gt;
Ipv4Prefix createPrefix(string, integer);&lt;/p&gt;

&lt;p&gt;Ipv4Prefix createPrefix(Ipv4Address);&lt;br/&gt;
Ipv4Prefix createPrefix(Ipv4Address, integer);&lt;/p&gt;

&lt;p&gt;You just drop that in instead of the direct new IpvXPrefix() instantiation across the board. It will take whatever argument you are feeding it and consume it.&lt;/p&gt;

&lt;p&gt;I ended up adding temprorarily (string, string) for openflowplugin, but IMHO that is temporary, the mask has no need of being a string in a network application. Ever. &lt;/p&gt;

&lt;p&gt;The easiest way to get that done would have been to override the yangtools generation if we had that facility. As we do not have it, you have to do it manually.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="28339">GBP-33</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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>3051</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=3051]]></customfieldvalue>

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

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

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

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