<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:14:27 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>[BGPCEP-902] Unable to delete BGP-LU routes </title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-902</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;Configured controller and one virtual cisco router c7200&lt;/p&gt;

&lt;p&gt;Added neighbor from both side to each other using following configuration.&lt;/p&gt;

&lt;p&gt;on controller added peer using following api&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://localhost:8181/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/bgp-example/bgp/neighbors&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/bgp-example/bgp/neighbors&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;having xml body :&lt;/p&gt;

&lt;p&gt;&amp;lt;neighbor xmlns=&quot;urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions&quot;&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &amp;lt;neighbor-address&amp;gt;192.168.10.2&amp;lt;/neighbor-address&amp;gt;&lt;/p&gt;

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

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

&lt;p&gt;&#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;hold-time&amp;gt;180&amp;lt;/hold-time&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;connect-retry&amp;gt;10&amp;lt;/connect-retry&amp;gt;&lt;/p&gt;

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

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

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

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

&lt;p&gt;&#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;remote-port&amp;gt;179&amp;lt;/remote-port&amp;gt;&lt;/p&gt;

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

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

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

&lt;p&gt;&#160; &#160; &#160; &#160; &amp;lt;peer-type&amp;gt;EXTERNAL&amp;lt;/peer-type&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &amp;lt;peer-as&amp;gt;100&amp;lt;/peer-as&amp;gt;&lt;/p&gt;

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

&lt;p&gt;&#160; &#160; &amp;lt;afi-safis&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160;&amp;lt;afi-safi&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;afi-safi-name xmlns:x=&quot;http://openconfig.net/yang/bgp-types&quot;&amp;gt;x:IPV4-UNICAST&amp;lt;/afi-safi-name&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &amp;lt;/afi-safi&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &amp;lt;afi-safi&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;afi-safi-name xmlns:x=&quot;http://openconfig.net/yang/bgp-types&quot;&amp;gt;x:IPV4-LABELLED-UNICAST&amp;lt;/afi-safi-name&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &amp;lt;/afi-safi&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &amp;lt;afi-safi&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;afi-safi-name xmlns:x=&quot;http://openconfig.net/yang/bgp-types&quot;&amp;gt;x:IPV6-LABELLED-UNICAST&amp;lt;/afi-safi-name&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &amp;lt;/afi-safi&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &amp;lt;/afi-safis&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;/neighbor&amp;gt;&lt;/p&gt;

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

&lt;p&gt;on cisco router configuration is :&lt;/p&gt;

&lt;p&gt;router bgp 100&lt;br/&gt;
no bgp enforce-first-as&lt;br/&gt;
neighbor 192.168.10.1 remote-as 500&lt;br/&gt;
neighbor 192.168.10.1 update-source gig0/0&lt;br/&gt;
!&lt;br/&gt;
!&lt;br/&gt;
address-family ipv4 unicast&lt;br/&gt;
neighbor 192.168.10.1 activate&lt;br/&gt;
neighbor 192.168.10.1 next-hop-self&lt;br/&gt;
neighbor 192.168.10.1 send-label&lt;/p&gt;

&lt;p&gt;after that i was able to see they are connected to each other&lt;/p&gt;



&lt;p&gt;then I advertised route from cisco router using command :&lt;/p&gt;

&lt;p&gt;network 192.168.100.0 mask 255.255.255.0&lt;/p&gt;

&lt;p&gt;which&#160;immediately updated in controller and I able to see the route in adj-rib-in effective-rib-in and loc-rib under &quot;labeled-unicast-route&quot;&lt;/p&gt;

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

&lt;p&gt;after that I withdrawn route from the cisco router using following command :&lt;br/&gt;
no&#160;network 192.168.100.0 mask 255.255.255.0&lt;/p&gt;

&lt;p&gt;as soon as I entered the command I seen update message for withdrawn route in karaf.log file but the route was not removed from adj-rib-in, effective-rib-in and loc-rib.&lt;/p&gt;</description>
                <environment></environment>
        <key id="32549">BGPCEP-902</key>
            <summary>Unable to delete BGP-LU routes </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="10001" iconUrl="https://jira.opendaylight.org/" description="">In Review</status>
                    <statusCategory id="4" key="indeterminate" colorName="yellow"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="KDeshmukh">Kailas Deshmukh</reporter>
                        <labels>
                            <label>BGP-LU</label>
                            <label>labeled-unicast</label>
                            <label>route</label>
                            <label>withdrawn</label>
                    </labels>
                <created>Mon, 30 Mar 2020 19:55:28 +0000</created>
                <updated>Wed, 24 Jan 2024 15:54:32 +0000</updated>
                                                            <fixVersion>0.21.0</fixVersion>
                    <fixVersion>0.19.9</fixVersion>
                    <fixVersion>0.20.7</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                    <workratio workratioPercent="0"/>
                                    <progress percentage="0">
                                    <originalProgress>
                                                    <row percentage="100" backgroundColor="#89afd7"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="0" backgroundColor="#51a825"/>
                                                    <row percentage="100" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </progress>
                                    <aggregateprogress percentage="0">
                                    <originalProgress>
                                                    <row percentage="100" backgroundColor="#89afd7"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="0" backgroundColor="#51a825"/>
                                                    <row percentage="100" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </aggregateprogress>
                                    <timeoriginalestimate seconds="144000">1 week</timeoriginalestimate>
                            <timeestimate seconds="144000">1 week</timeestimate>
                                        <comments>
                            <comment id="68001" author="JIRAUSER12918" created="Mon, 30 Mar 2020 20:02:54 +0000"  >&lt;p&gt;Actual problem for not removing for labeled unicast route is Route kay..&lt;br/&gt;
to create unique route key it uses CLabeledUnicastDestination  which is extracted from update message.&lt;br/&gt;
when I add route router send update message like&lt;/p&gt;

&lt;p&gt;2020-03-26T12:57:58,214 | DEBUG | epollEventLoopGroup-5-4 | BGPUpdateMessageParser           | 377 - org.opendaylight.bgpcep.bgp-parser-impl - 0.14.0.SNAPSHOT | BGP Update message was parsed Update{_attributes=Attributes{_asPath=AsPath{_segments=[Segments{_asSequence=&lt;span class=&quot;error&quot;&gt;&amp;#91;AsNumber{_value=100}&amp;#93;&lt;/span&gt;, augmentation=[]}], augmentation=[]}, _multiExitDisc=MultiExitDisc{_med=0, augmentation=[]}, _origin=Origin{_value=Igp, augmentation=[]}, _unrecognizedAttributes=[], augmentation=[Attributes1{_mpReachNlri=MpReachNlri{_advertizedRoutes=AdvertizedRoutes{_destinationType=DestinationLabeledUnicastCase{_destinationLabeledUnicast=DestinationLabeledUnicast{_cLabeledUnicastDestination=[CLabeledUnicastDestination{_labelStack=[LabelStack{_labelValue=MplsLabel{_value=3}, augmentation=[]}], _prefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=192.168.100.0/24}}, augmentation=[]}], augmentation=[]}, augmentation=[]}, augmentation=[]}, _afi=interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.Ipv4AddressFamily, _cNextHop=Ipv4NextHopCase{_ipv4NextHop=Ipv4NextHop{_global=Ipv4Address{_value=192.168.10.2}, augmentation=[]}, augmentation=[]}, _safi=interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.labeled.unicast.rev180329.LabeledUnicastSubsequentAddressFamily, augmentation=[]}}]}, augmentation=[]}.&lt;/p&gt;


&lt;p&gt;and when I withdrawn route it send update message like&lt;/p&gt;


&lt;p&gt;2020-03-26T16:14:23,948 | DEBUG | epollEventLoopGroup-5-6 | BGPUpdateMessageParser           | 221 - org.opendaylight.bgpcep.bgp-parser-impl - 0.14.0.SNAPSHOT | BGP Update message was parsed Update{_attributes=Attributes{_unrecognizedAttributes=[], augmentation=[Attributes2{_mpUnreachNlri=MpUnreachNlri{_afi=interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.Ipv4AddressFamily, _safi=interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.labeled.unicast.rev180329.LabeledUnicastSubsequentAddressFamily, _withdrawnRoutes=WithdrawnRoutes{_destinationType=DestinationLabeledUnicastCase{_destinationLabeledUnicast=DestinationLabeledUnicast{_cLabeledUnicastDestination=[CLabeledUnicastDestination{_prefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=192.168.102.0/24}}, augmentation=[]}], augmentation=[]}, augmentation=[]}, augmentation=[]}, augmentation=[]}}]}, augmentation=[]}.&lt;/p&gt;

&lt;p&gt;when i observed both messages i seen some difference in CLabeledUnicastDestination&lt;br/&gt;
When adding route&lt;/p&gt;

&lt;p&gt;CLabeledUnicastDestination{_labelStack=[LabelStack{_labelValue=MplsLabel{_value=3}, augmentation=[]}], _prefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=192.168.100.0/24}}, augmentation=[]}&lt;/p&gt;

&lt;p&gt;when removing route&lt;/p&gt;

&lt;p&gt;CLabeledUnicastDestination{_prefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=192.168.102.0/24}}, augmentation=[]} &lt;/p&gt;

&lt;p&gt;thats why it is creating different keys like&lt;br/&gt;
when adding route it was MAAAMcCoZQ==&lt;br/&gt;
and when removing route it was GMCoZQ==&lt;br/&gt;
so thats why it is not able to delete route...&lt;/p&gt;</comment>
                            <comment id="68002" author="JIRAUSER12918" created="Mon, 30 Mar 2020 21:17:08 +0000"  >&lt;p&gt; &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/attachment/15624/15624_MyCommit.patch&quot; title=&quot;MyCommit.patch attached to BGPCEP-902&quot;&gt;MyCommit.patch&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.opendaylight.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;</comment>
                            <comment id="68510" author="rovarga" created="Mon, 3 Aug 2020 12:37:31 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=kdeshmukh&quot; class=&quot;user-hover&quot; rel=&quot;KDeshmukh&quot;&gt;kdeshmukh&lt;/a&gt;can you propose that patch to gerrit, please?&lt;/p&gt;</comment>
                            <comment id="68707" author="rovarga" created="Fri, 16 Oct 2020 21:08:01 +0000"  >&lt;p&gt;Alright, I have moved the patch there, but cannot really vouch for it.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="15624" name="MyCommit.patch" size="17523" author="KDeshmukh" created="Mon, 30 Mar 2020 21:17:02 +0000"/>
                    </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|i03rsf:</customfieldvalue>

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