<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:01:02 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>[GBP-63] Fix addition of EP augmentations across neutron-mapper/ofoverlay.</title>
                <link>https://jira.opendaylight.org/browse/GBP-63</link>
                <project id="10127" key="GBP">groupbasedpolicy</project>
                    <description>&lt;p&gt;Ensure all &quot;setAugmentation(class,getAugmentation)&quot; type EP patterns pull all augmentations, not just OfOverlayContext/OfOverlayL3Context&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28369">GBP-63</key>
            <summary>Fix addition of EP augmentations across neutron-mapper/ofoverlay.</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="kblagov@cisco.com">Konstantin Blagov</assignee>
                                    <reporter username="alagalah">Keith Burns</reporter>
                        <labels>
                    </labels>
                <created>Fri, 29 May 2015 12:31:55 +0000</created>
                <updated>Wed, 17 Jun 2015 08:37:36 +0000</updated>
                            <resolved>Wed, 17 Jun 2015 08:37:36 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due>Fri, 12 Jun 2015 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="59467" author="alagalah" created="Mon, 1 Jun 2015 03:55:11 +0000"  >&lt;p&gt;What can happen is when we assign a field to an Augmentation, we have to ensure that there aren&apos;t existing augmentations. Either pull the aug&apos;s and update and push back, or update the subtree using the specific key.&lt;/p&gt;</comment>
                            <comment id="59468" author="kblagov@cisco.com" created="Wed, 3 Jun 2015 13:01:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/21759/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/21759/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Unfortunately, the code for EndpointBuilder (in fact, any builder) generated by Yangtools provides only &quot;unsafe&quot; version of addAugmentation method. So it is mostly on programmer&apos;s good will, whether the potentially existing (in Datastore) augmentations added by some other party will be replaced with the new augmentation or not. The most reliable way seems to carefully chose between &quot;put&quot; or &quot;merge&quot;, and general knowledge of possibility to break consistency.&lt;/p&gt;

&lt;p&gt;The pressure will be on code reviewers to control the intention of the whole operation.&lt;br/&gt;
So far, there was just one such unsafe part of code, which was fixed.&lt;br/&gt;
Ideally, a feature request for yangtools should be raised.&lt;/p&gt;</comment>
                            <comment id="59469" author="kblagov@cisco.com" created="Fri, 5 Jun 2015 14:17:49 +0000"  >&lt;p&gt;I added a method that can check if an EP with given key exists and if it has some other augmentations (not counting our OfOverlayContext/OfOverlayL3Context). So one can chose if put or merge should be done.&lt;/p&gt;</comment>
                            <comment id="59470" author="kblagov@cisco.com" created="Wed, 17 Jun 2015 08:37:36 +0000"  >&lt;p&gt;The only fragment of code where there was a possibility to unintentionally delete augmentations was eliminated by change &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/22114&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/22114&lt;/a&gt;&lt;br/&gt;
Further we have to rely on programmer&apos;s understanding of possible consequences of datastore writing operations.&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>3434</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=3434]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10304"><![CDATA[Low]]></customfieldvalue>

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

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