<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:25:35 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-108] Extra routes are not supported</title>
                <link>https://jira.opendaylight.org/browse/NEUTRON-108</link>
                <project id="10145" key="NEUTRON">neutron</project>
                    <description>&lt;p&gt;This spec &lt;a href=&quot;http://specs.openstack.org/openstack/neutron-specs/specs/api/extra_routes.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://specs.openstack.org/openstack/neutron-specs/specs/api/extra_routes.html&lt;/a&gt; adds support for adding static routes to a router object. This is supported in ODL_L3 plugin also. But these routes are not stored by NeutronNorthbound in MDSAL.&lt;/p&gt;

&lt;p&gt;Steps to reproduce:&lt;br/&gt;
-------------------&lt;br/&gt;
1. Create neutron network, subnet and router and add interface in that subnet to router.&lt;br/&gt;
2. Add extra routes to router:&lt;br/&gt;
 neutron router-update myrouter --routes type=dict list=true destination=100.0.0.0/24,nexthop=11.11.11.8&lt;/p&gt;

&lt;p&gt;Expected behavior:&lt;br/&gt;
------------------&lt;br/&gt;
A get on MDSAL show show routes added to MDSAL.&lt;/p&gt;

&lt;p&gt;Actual behavior:&lt;br/&gt;
----------------&lt;br/&gt;
stack@liberty-osc:~/devstack$ neutron router-show myrouter&lt;br/&gt;
&lt;ins&gt;----------------------&lt;del&gt;&lt;/ins&gt;&lt;/del&gt;---------------------------------------------------------+&lt;/p&gt;
&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; Field                 &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; Value                                                    &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;

&lt;p&gt;&lt;ins&gt;----------------------&lt;del&gt;&lt;/ins&gt;&lt;/del&gt;---------------------------------------------------------+&lt;/p&gt;
&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; admin_state_up        &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; True                                                     &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; distributed           &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; False                                                    &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; external_gateway_info &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; id                    &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; d74a39ab-da42-4a27-bd3a-701a16f0955a                     &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; name                  &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; myrouter                                                 &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; routes                &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; {&quot;destination&quot;: &quot;100.0.0.0/24&quot;, &quot;nexthop&quot;: &quot;11.11.11.8&quot;} &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; status                &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; ACTIVE                                                   &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; tenant_id             &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; ba37d16d954f4e16bc5b6c78e41f55a5                         &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;

&lt;p&gt;&lt;ins&gt;----------------------&lt;del&gt;&lt;/ins&gt;&lt;/del&gt;---------------------------------------------------------+&lt;/p&gt;

&lt;p&gt;Routes are not added to MDSAL:&lt;br/&gt;
{&lt;br/&gt;
    &quot;routers&quot;: [&lt;/p&gt;
        {
            &quot;admin_state_up&quot;: true,
            &quot;distributed&quot;: false,
            &quot;external_gateway_info&quot;: null,
            &quot;gw_port_id&quot;: null,
            &quot;id&quot;: &quot;d74a39ab-da42-4a27-bd3a-701a16f0955a&quot;,
            &quot;name&quot;: &quot;myrouter&quot;,
            &quot;routes&quot;: [
                &quot;&quot;
            ],
            &quot;tenant_id&quot;: &quot;ba37d16d954f4e16bc5b6c78e41f55a5&quot;
        }
&lt;p&gt;    ]&lt;br/&gt;
}&lt;/p&gt;


&lt;p&gt;Relevant log entries in q-svc.log:&lt;br/&gt;
----------------------------------&lt;br/&gt;
2016-01-29 14:59:57.327 DEBUG networking_odl.common.client &lt;span class=&quot;error&quot;&gt;&amp;#91;req-49c04196-7d47-4b3d-863f-5861b9f687c9 admin ba37d16d954f4e16bc5b6c78e41f55a5&amp;#93;&lt;/span&gt; Sending METHOD (put) URL (&lt;a href=&quot;http://192.168.56.1:8080/controller/nb/v2/neutron/routers/d74a39ab-da42-4a27-bd3a-701a16f0955a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.56.1:8080/controller/nb/v2/neutron/routers/d74a39ab-da42-4a27-bd3a-701a16f0955a&lt;/a&gt;) JSON ({&apos;router&apos;: {&apos;external_gateway_info&apos;: None, &apos;name&apos;: u&apos;myrouter&apos;, &apos;gw_port_id&apos;: None, &apos;admin_state_up&apos;: True, &apos;distributed&apos;: False, &apos;routes&apos;: [&lt;/p&gt;
{&apos;nexthop&apos;: u&apos;11.11.11.4&apos;, &apos;destination&apos;: u&apos;100.0.0.0/24&apos;}
&lt;p&gt;, &lt;/p&gt;
{&apos;nexthop&apos;: u&apos;11.11.11.5&apos;, &apos;destination&apos;: u&apos;100.0.0.0/24&apos;}
&lt;p&gt;]}}) from (pid=4250) sendjson /usr/local/lib/python2.7/dist-packages/networking_odl/common/client.py:48&lt;/p&gt;

&lt;p&gt;2016-01-29 14:59:57.344 DEBUG networking_odl.common.client &lt;span class=&quot;error&quot;&gt;&amp;#91;req-49c04196-7d47-4b3d-863f-5861b9f687c9 admin ba37d16d954f4e16bc5b6c78e41f55a5&amp;#93;&lt;/span&gt; Got response ({&lt;br/&gt;
   &quot;router&quot; : &lt;/p&gt;
{
      &quot;id&quot; : &quot;d74a39ab-da42-4a27-bd3a-701a16f0955a&quot;,
      &quot;tenant_id&quot; : &quot;ba37d16d954f4e16bc5b6c78e41f55a5&quot;,
      &quot;name&quot; : &quot;myrouter&quot;,
      &quot;admin_state_up&quot; : true,
      &quot;external_gateway_info&quot; : null,
      &quot;distributed&quot; : false,
      &quot;gw_port_id&quot; : null,
      &quot;routes&quot; : [ &quot;&quot; ]
   }
&lt;p&gt;}) from (pid=4250) sendjson /usr/local/lib/python2.7/dist-packages/networking_odl/common/client.py:60&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26670">NEUTRON-108</key>
            <summary>Extra routes are not supported</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="thapar">Vishal Thapar</assignee>
                                    <reporter username="thapar">Vishal Thapar</reporter>
                        <labels>
                    </labels>
                <created>Fri, 29 Jan 2016 10:44:06 +0000</created>
                <updated>Mon, 30 Oct 2017 19:53:31 +0000</updated>
                            <resolved>Thu, 11 Feb 2016 14:08:46 +0000</resolved>
                                    <version>Multiple</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="53530" author="yamahata" created="Tue, 2 Feb 2016 01:51:56 +0000"  >&lt;p&gt;According to the neutron API, the yang model itself is wrong.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://developer.openstack.org/api-ref-networking-v2-ext.html#extraroute-ext&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://developer.openstack.org/api-ref-networking-v2-ext.html#extraroute-ext&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The patch is proposed at&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/33846/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/33846/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53531" author="skitt@redhat.com" created="Wed, 3 Feb 2016 09:40:18 +0000"  >&lt;p&gt;This also needs &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/33919/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/33919/&lt;/a&gt; for OVSDB.&lt;/p&gt;</comment>
                            <comment id="53532" author="thapar" created="Wed, 3 Feb 2016 09:43:20 +0000"  >&lt;p&gt;VPNService: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/33921/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/33921/&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>5137</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=5137]]></customfieldvalue>

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

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