<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:25:22 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>[NEUTRON-31] On a router_interface_add, the Northbound code assumed (incorrectly) the port has null device_id and device_owner</title>
                <link>https://jira.opendaylight.org/browse/NEUTRON-31</link>
                <project id="10145" key="NEUTRON">neutron</project>
                    <description>&lt;p&gt;This was found while integrating with the router_interface_add/remove calls from OpenStack.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26593">NEUTRON-31</key>
            <summary>On a router_interface_add, the Northbound code assumed (incorrectly) the port has null device_id and device_owner</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="jaiswal.rajesh@tcs.com">Rajesh Jaiswal</assignee>
                                    <reporter username="mestery@mestery.com">Kyle Mestery</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 Apr 2015 14:54:17 +0000</created>
                <updated>Thu, 11 Jun 2015 16:08:44 +0000</updated>
                            <resolved>Thu, 11 Jun 2015 16:08:44 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="53309" author="jaiswal.rajesh@tcs.com" created="Thu, 7 May 2015 12:25:15 +0000"  >&lt;p&gt;As per northbound code the device_Id and device_Owner on router_interface_add does not looks that it assumes (incorrectly) the port has null device_id and device_owner .Please look at the following code .. &lt;/p&gt;

&lt;p&gt;  if (targetPort.getDeviceID() != null &amp;amp;&amp;amp; !targetPort.getDeviceID().equals(routerUUID))&lt;br/&gt;
            throw new ResourceConflictException(&quot;Target Port already allocated to a different device id&quot;);&lt;br/&gt;
        if (targetPort.getDeviceOwner() != null &amp;amp;&amp;amp;&lt;br/&gt;
            !targetPort.getDeviceOwner().equalsIgnoreCase(ROUTER_INTERFACE_STR))&lt;br/&gt;
            throw new ResourceConflictException(&quot;Target Port already allocated to non-router interface&quot;);&lt;/p&gt;


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

&lt;p&gt;        //mark the port device id and device owner fields&lt;br/&gt;
        if (targetPort.getDeviceOwner() == null || targetPort.getDeviceOwner().isEmpty())&lt;br/&gt;
            targetPort.setDeviceOwner(ROUTER_INTERFACE_STR);&lt;br/&gt;
        targetPort.setDeviceID(routerUUID);&lt;/p&gt;</comment>
                            <comment id="53310" author="rmoats@us.ibm.com" created="Tue, 9 Jun 2015 17:36:16 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/22220&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/22220&lt;/a&gt; adds tests to address this defect in master branch&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/22222&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/22222&lt;/a&gt; does the same for the stable/lithium branch&lt;/p&gt;</comment>
                            <comment id="53311" author="flavio@flaviof.com" created="Tue, 9 Jun 2015 18:59:41 +0000"  >&lt;p&gt;Merge to Helium via this gerrit:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/22227&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/22227&lt;/a&gt;&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>3014</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=3014]]></customfieldvalue>

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

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