<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:23:44 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>[NETVIRT-1301] Adjacency and learn entries are not removed after deleting external subnet</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-1301</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;The adjacency and learned entries for external subnet GW are not removed in DS after deleting the external subnet. As a result flows for external GW and PNF are not installed after re-creating the external subnet and attaching it to router.&#160;Here the ArpNotificationHandler ignores the ARP responses for these external IP addresses since the ip addresses are already learned and stored in DS (with wrong external subnet id)&lt;/p&gt;

&lt;p&gt;Release tested: master/oxygen&lt;/p&gt;

&lt;p&gt;Reproduction steps:&#160;&lt;/p&gt;

&lt;p&gt;1) Create network net1/subnet1&lt;br/&gt;
2) Create router router1&lt;br/&gt;
3) Attach subnet1 to router&lt;br/&gt;
3) Create external network/subnet&lt;br/&gt;
&#160; openstack network create ext-net1 --external --provider-physical-network physnet1 --provider-network-type flat&lt;br/&gt;
&#160; openstack subnet create --network ext-net1 --allocation-pool start=192.168.56.9,end=192.168.56.20 --no-dhcp --gateway 192.168.56.1 --subnet-range 192.168.56.0/24 ext-subnet1&lt;br/&gt;
4) Set external subnet to router&lt;br/&gt;
 openstack router set --external-gateway ext-net1 router1&lt;/p&gt;

&lt;p&gt;Fib flows:&lt;br/&gt;
&#160; cookie=0x8000003, duration=10.015s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d4a/0xfffffe,nw_dst=192.168.56.18 actions=write_metadata:0x30d4a/0xfffffe,goto_table:44&lt;br/&gt;
&#160; cookie=0x8000003, duration=5.017s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d4a/0xfffffe,nw_dst=192.168.56.1 actions=set_field:52:54:00:34:10:b5-&amp;gt;eth_dst,load:0x300-&amp;gt;NXM_NX_REG6[],resubmit(,220)&lt;br/&gt;
&#160; cookie=0x8000003, duration=10.008s, table=21, n_packets=0, n_bytes=0, priority=34,ip,metadata=0x30d4a/0xfffffe,nw_dst=192.168.56.0/24 actions=write_metadata:0x138b030d4a/0xfffffffffe,goto_table:22&lt;br/&gt;
&#160; cookie=0x8000004, duration=16.832s, table=21, n_packets=0, n_bytes=0, priority=10,ip,metadata=0x30d4a/0xfffffe actions=group:225000&lt;br/&gt;
&#160; cookie=0x8000004, duration=10.005s, table=21, n_packets=0, n_bytes=0, priority=10,ip,metadata=0x30d40/0xfffffe actions=goto_table:26&lt;br/&gt;
&#160; cookie=0x8000004, duration=10.008s, table=22, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d4a/0xfffffe,nw_dst=192.168.56.255 actions=drop&lt;/p&gt;

&lt;p&gt;Adjacencies:&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
&#160; &quot;name&quot;: &quot;262580518925378:br-physnet1-pa:trunk&quot;,&lt;br/&gt;
&#160; &quot;odl-l3vpn:adjacency&quot;: [&lt;br/&gt;
&#160; &#160; &lt;/p&gt;
{
&#160; &#160; &#160; &quot;adjacency_type&quot;: &quot;primary-adjacency&quot;,
&#160; &#160; &#160; &quot;ip_address&quot;: &quot;192.168.56.1/32&quot;,
&#160; &#160; &#160; &quot;mac_address&quot;: &quot;52:54:00:34:10:b5&quot;,
&#160; &#160; &#160; &quot;phys-network-func&quot;: true,
&#160; &#160; &#160; &quot;subnet_id&quot;: &quot;cb843374-e6a4-44a1-a711-f4b6735a5d49&quot;
&#160; &#160; }
&lt;p&gt;&#160; ],&lt;br/&gt;
&#160; &quot;router-interface&quot;: false,&lt;br/&gt;
&#160; &quot;scheduled-for-remove&quot;: false,&lt;br/&gt;
&#160; &quot;vpn-instance-names&quot;: [&lt;br/&gt;
&#160; &lt;/p&gt;
{
&#160; &#160; &quot;associated-subnet-type&quot;: &quot;V4AndV6Subnets&quot;,
&#160; &#160; &quot;vpn-name&quot;: &quot;2cb27917-216b-4edf-b90a-572e3d53b654&quot;
&#160; &#160;}
&lt;p&gt;&#160;]&lt;/p&gt;

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

&lt;p&gt;Learned VPN-VIP-TO-PORT&lt;/p&gt;

&lt;p&gt;&quot;learnt-vpn-vip-to-port&quot;: [&lt;/p&gt;
 {
&#160; &quot;creation-time&quot;: &quot;05/31/2018 1:18:52 PM&quot;,
&#160; &quot;mac-address&quot;: &quot;52:54:00:34:10:b5&quot;,
&#160; &quot;port-fixedip&quot;: &quot;192.168.56.1&quot;,
&#160; &quot;port-name&quot;: &quot;262580518925378:br-physnet1-pa:trunk&quot;,
&#160; &quot;vpn-name&quot;: &quot;2cb27917-216b-4edf-b90a-572e3d53b654&quot;
 }
&lt;p&gt; ]&lt;/p&gt;

&lt;p&gt;5) Unset external subnet to router&lt;br/&gt;
6) Delete external subnet&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;FIB flows for external sunet are gone&lt;/li&gt;
	&lt;li&gt;However in DS the adjacencies and learned vpn-vip for the external subnet GW remained (subnet_id: cb843374-e6a4-44a1-a711-f4b6735a5d49)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;7) Re-create the external subnet&lt;br/&gt;
&#160; openstack subnet create --network ext-net1 --allocation-pool start=192.168.56.9,end=192.168.56.20 --no-dhcp --gateway 192.168.56.1 --subnet-range 192.168.56.0/24 ext-subnet1&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;8) Re-Set external subnet to router&lt;br/&gt;
 openstack router set --external-gateway ext-net1 router1&lt;/p&gt;

&lt;p&gt;Issues:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;FIB flows for external subnet GW (192.168.56.1) is not installed&lt;br/&gt;
&#160; cookie=0x8000003, duration=10.015s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d4a/0xfffffe,nw_dst=192.168.56.18 actions=write_metadata:0x30d4a/0xfffffe,goto_table:44&lt;br/&gt;
&#160; cookie=0x8000003, duration=10.008s, table=21, n_packets=0, n_bytes=0, priority=34,ip,metadata=0x30d4a/0xfffffe,nw_dst=192.168.56.0/24 actions=write_metadata:0x138b030d4a/0xfffffffffe,goto_table:22&lt;br/&gt;
&#160; cookie=0x8000004, duration=16.832s, table=21, n_packets=0, n_bytes=0, priority=10,ip,metadata=0x30d4a/0xfffffe actions=group:225000&lt;br/&gt;
&#160; cookie=0x8000004, duration=10.005s, table=21, n_packets=0, n_bytes=0, priority=10,ip,metadata=0x30d40/0xfffffe actions=goto_table:26&lt;br/&gt;
&#160; cookie=0x8000004, duration=10.008s, table=22, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d4a/0xfffffe,nw_dst=192.168.56.255 actions=drop&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;The Adjacency and the learned entries for the deleted external subnet (in step 6) still remains. These entries cause ArpNotificationHandler to ignore&lt;br/&gt;
 ArpResponse when re-creating the external subnet. As a result, the adjacency for the re-created external subnet is not added in the DS.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="30100">NETVIRT-1301</key>
            <summary>Adjacency and learn entries are not removed after deleting external subnet</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="VinhNguyen">Vinh Nguyen</assignee>
                                    <reporter username="VinhNguyen">Vinh Nguyen</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Jun 2018 19:55:17 +0000</created>
                <updated>Mon, 25 Jun 2018 15:45:47 +0000</updated>
                            <resolved>Mon, 25 Jun 2018 15:45:47 +0000</resolved>
                                                    <fixVersion>Oxygen-SR3</fixVersion>
                    <fixVersion>Fluorine</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="63374" author="vinhnguyen" created="Fri, 8 Jun 2018 23:01:32 +0000"  >&lt;p&gt;patch: master&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/72812&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/72812&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03fdr:</customfieldvalue>

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