<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:13:51 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-690] BGP session does not get established when send-max flag is not included in configuration</title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-690</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;From the protocols-config.xml file, remove the line send-max and try to peer with other BGP speaker.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23930">BGPCEP-690</key>
            <summary>BGP session does not get established when send-max flag is not included in configuration</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10001">Won&apos;t Do</resolution>
                                        <assignee username="ajayslele">Ajay Lele</assignee>
                                    <reporter username="ajay1005@gmail.com">Ajay Chhabria</reporter>
                        <labels>
                    </labels>
                <created>Tue, 19 Sep 2017 18:03:02 +0000</created>
                <updated>Wed, 18 Apr 2018 07:59:16 +0000</updated>
                            <resolved>Tue, 16 Jan 2018 19:16:56 +0000</resolved>
                                    <version>Oxygen</version>
                                    <fixVersion>Bugzilla Migration</fixVersion>
                                    <component>BGP</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="46287" author="ajay1005@gmail.com" created="Tue, 19 Sep 2017 18:03:02 +0000"  >&lt;p&gt;Attachment karaf.log has been added with description: Karaf Log&lt;/p&gt;</comment>
                            <comment id="46280" author="ajayslele" created="Fri, 22 Sep 2017 20:07:29 +0000"  >&lt;p&gt;Master: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/63464/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/63464/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="46281" author="cdgasparini" created="Thu, 12 Oct 2017 13:45:25 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:Bug-9186&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:Bug-9186&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="46282" author="cdgasparini" created="Fri, 13 Oct 2017 07:17:04 +0000"  >&lt;p&gt;Hi Ajay, please extend the issue, scenario and what you are trying to achieve and its failing.&lt;/p&gt;

&lt;p&gt;After check the patch, from my point of view what you are doing is a missconfiguration and therefore you are hitting the NPE.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Claudio&lt;/p&gt;</comment>
                            <comment id="46283" author="cdgasparini" created="Fri, 13 Oct 2017 08:21:34 +0000"  >&lt;p&gt;When Configuring ADD PATH capabilty. &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;global/rib it should be configured per AFI/SAFI if its supported and what strategy will be used. send-max field is mandatory&lt;/li&gt;
	&lt;li&gt;peer here send-max is not mandatory, from doc:&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Note&lt;br/&gt;
The path selection strategy is not configurable on per peer basis. The send-max presence indicates a willingness to send ADD-PATH NLRIs to the neighbor. &lt;/p&gt;



&lt;p&gt;Regards, &lt;/p&gt;


&lt;p&gt;Claudio&lt;/p&gt;</comment>
                            <comment id="46284" author="ajayslele" created="Tue, 17 Oct 2017 22:46:01 +0000"  >&lt;p&gt;(In reply to Claudio D. Gasparini from comment #3)&lt;br/&gt;
&amp;gt; Hi Ajay, please extend the issue, scenario and what you are trying to&lt;br/&gt;
&amp;gt; achieve and its failing.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; After check the patch, from my point of view what you are doing is a&lt;br/&gt;
&amp;gt; missconfiguration and therefore you are hitting the NPE.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Regards,&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Claudio&lt;/p&gt;

&lt;p&gt;The issue was found while testing add-path capability modes (ref. &lt;a href=&quot;https://tools.ietf.org/html/rfc7911#page-4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/rfc7911#page-4&lt;/a&gt;). In version of OpenConfig model currently used by ODL BGP code, there is no separate provision to specify that send capability should not be advertised. Only value associated with send is send-max. If it is not specified, it was causing NPE. This patch adds check to prevent NPE. So now for send capability not to be advertised, send-max can be skipped&lt;/p&gt;

&lt;p&gt;BGP OpenConfig model has been updated recently to add a boolean flag for specifying if send capability should be advertised (ref. &lt;a href=&quot;https://github.com/openconfig/public/commit/e020ce4b7e94482a9bbcf8dfb73f3d01dbdda5e6#diff-0d759af0e8ee335a03ba94fd5055d69cL312&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/openconfig/public/commit/e020ce4b7e94482a9bbcf8dfb73f3d01dbdda5e6#diff-0d759af0e8ee335a03ba94fd5055d69cL312&lt;/a&gt;) which is the correct way of doing this and once we update to this version above will not be required&lt;/p&gt;</comment>
                            <comment id="46285" author="ajayslele" created="Tue, 17 Oct 2017 22:48:06 +0000"  >&lt;p&gt;(In reply to Claudio D. Gasparini from comment #4)&lt;br/&gt;
&amp;gt; When Configuring ADD PATH capabilty. &lt;br/&gt;
&amp;gt; - global/rib it should be configured per AFI/SAFI if its supported and what&lt;br/&gt;
&amp;gt; strategy will be used. send-max field is mandatory&lt;/p&gt;

&lt;p&gt;where is send-max mentioned as mandatory and how do we enforce it? I don&apos;t see it as mandatory in the yang&lt;/p&gt;

&lt;p&gt;&amp;gt; - peer here send-max is not mandatory, from doc:&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Note&lt;br/&gt;
&amp;gt; The path selection strategy is not configurable on per peer basis. The&lt;br/&gt;
&amp;gt; send-max presence indicates a willingness to send ADD-PATH NLRIs to the&lt;br/&gt;
&amp;gt; neighbor. &lt;br/&gt;
&amp;gt; &lt;/p&gt;

&lt;p&gt;I don&apos;t understand this doc note. Generally per neighbor config should override the global config&lt;/p&gt;

&lt;p&gt;&amp;gt; &lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Regards, &lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Claudio&lt;/p&gt;</comment>
                            <comment id="46286" author="cdgasparini" created="Wed, 18 Oct 2017 09:03:53 +0000"  >&lt;p&gt;(In reply to Ajay Lele from comment #6)&lt;br/&gt;
&amp;gt; (In reply to Claudio D. Gasparini from comment #4)&lt;br/&gt;
&amp;gt; &amp;gt; When Configuring ADD PATH capabilty. &lt;br/&gt;
&amp;gt; &amp;gt; - global/rib it should be configured per AFI/SAFI if its supported and what&lt;br/&gt;
&amp;gt; &amp;gt; strategy will be used. send-max field is mandatory&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; where is send-max mentioned as mandatory and how do we enforce it? I don&apos;t&lt;br/&gt;
&amp;gt; see it as mandatory in the yang&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &amp;gt; - peer here send-max is not mandatory, from doc:&lt;br/&gt;
&amp;gt; &amp;gt; &lt;br/&gt;
&amp;gt; &amp;gt; Note&lt;br/&gt;
&amp;gt; &amp;gt; The path selection strategy is not configurable on per peer basis. The&lt;br/&gt;
&amp;gt; &amp;gt; send-max presence indicates a willingness to send ADD-PATH NLRIs to the&lt;br/&gt;
&amp;gt; &amp;gt; neighbor. &lt;br/&gt;
&amp;gt; &amp;gt; &lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; I don&apos;t understand this doc note. Generally per neighbor config should&lt;br/&gt;
&amp;gt; override the global config&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &amp;gt; &lt;br/&gt;
&amp;gt; &amp;gt; &lt;br/&gt;
&amp;gt; &amp;gt; Regards, &lt;br/&gt;
&amp;gt; &amp;gt; &lt;br/&gt;
&amp;gt; &amp;gt; &lt;br/&gt;
&amp;gt; &amp;gt; Claudio&lt;/p&gt;

&lt;p&gt;Hi Ajay, global configuration is used to defined the path selection strategy to be used when supporting add-path(only configurable per RIB).&lt;br/&gt;
Then neighbor config is used to define the additional capability per neighbor(receive flag and send flag). As you mentioned send flag is not present therefore send-max presence is used as flag.&lt;/p&gt;

&lt;p&gt;All this is mentioned in documentation, if you thing that it can be improved, feel free to provide some improvement and we can go through it.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; &lt;a href=&quot;http://docs.opendaylight.org/en/stable-nitrogen/user-guide/bgp-user-guide.html#additional-path&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.opendaylight.org/en/stable-nitrogen/user-guide/bgp-user-guide.html#additional-path&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="59747" author="cdgasparini" created="Mon, 23 Oct 2017 17:10:26 +0000"  >&lt;p&gt;Could you close the bug as wont be fixed.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</comment>
                            <comment id="59750" author="ajayslele" created="Mon, 23 Oct 2017 20:08:58 +0000"  >&lt;p&gt;Hi Claudio&lt;/p&gt;

&lt;p&gt;Ok I see what you are saying. So to achieve what is intended, config required is:&lt;br/&gt;
1. config add-path (both receive and send-max params) at global level&lt;br/&gt;
2. exclude send-max param under neighbor config&lt;/p&gt;

&lt;p&gt;I tried it out and confirm that it works. Fine to close this issue&lt;/p&gt;

&lt;p&gt;Regards&lt;br/&gt;
Ajay&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13244" name="karaf.log" size="378852" author="ajay1005@gmail.com" created="Tue, 19 Sep 2017 18:03: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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9186</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=9186]]></customfieldvalue>

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

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