<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:14:03 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-764] ipv6 formatting error</title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-764</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;When I try to connect exabgp with ipv6 address for example 2607:f0d0:1002:11::2, and I configure bgp peer with the same format of ipv6 &quot;2607:f0d0:1002:11::2&quot; I get error:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
2018-03-08T12:57:53,115 | ERROR | epollEventLoopGroup-6-1 | BGPDocumentedException           | 214 - org.opendaylight.bgpcep.bgp-parser-api - 0.9.0.SNAPSHOT | Error = CONNECTION_REJECTED
org.opendaylight.protocol.bgp.parser.BGPDocumentedException: BGP peer with ip: IpAddress [_ipv6Address=Ipv6Address [_value=2607:f0d0:1002:11:0:0:0:2]] not configured, check configured peers in : StrictBGPPeerRegistry{peers=[IpAddress [_ipv4Address=Ipv4Address [_value=192.0.2.1]], IpAddress [_ipv6Address=Ipv6Address [_value=2607:f0d0:1002:11::2]]]}
	at org.opendaylight.protocol.bgp.rib.impl.AbstractBGPSessionNegotiator.startNegotiation(AbstractBGPSessionNegotiator.java:104) [220:org.opendaylight.bgpcep.bgp-rib-impl:0.9.0.SNAPSHOT]
	at org.opendaylight.protocol.bgp.rib.impl.AbstractBGPSessionNegotiator.channelActive(AbstractBGPSessionNegotiator.java:279) [220:org.opendaylight.bgpcep.bgp-rib-impl:0.9.0.SNAPSHOT]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:213) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:199) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:192) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.ChannelInboundHandlerAdapter.channelActive(ChannelInboundHandlerAdapter.java:64) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:213) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:199) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:192) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.ChannelInboundHandlerAdapter.channelActive(ChannelInboundHandlerAdapter.java:64) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:213) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:199) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:192) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelActive(DefaultChannelPipeline.java:1347) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:213) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:199) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.DefaultChannelPipeline.fireChannelActive(DefaultChannelPipeline.java:911) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:518) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:423) [65:io.netty.transport:4.1.16.Final]
	at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:482) [65:io.netty.transport:4.1.16.Final]
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [62:io.netty.common:4.1.16.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) [62:io.netty.common:4.1.16.Final]
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:309) [66:io.netty.transport-&lt;span class=&quot;code-keyword&quot;&gt;native&lt;/span&gt;-epoll:4.1.16.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [62:io.netty.common:4.1.16.Final]
	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138) [62:io.netty.common:4.1.16.Final]
	at java.lang.&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.run(&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.java:748) [?:?]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;bgp is clearly looking only for peer with ipv6 in format 2607:f0d0:1002:11:0:0:0:2&lt;/p&gt;

&lt;p&gt;The same happens with full text address 2607:f0d0:1002:0011:0000:0000:0000:0002, again expecting only peer with ipv6 in format 2607:f0d0:1002:11:0:0:0:2&lt;/p&gt;

&lt;p&gt;Steps to reproduce:&lt;/p&gt;

&lt;p&gt;Start Karaf, (oxygen and fluorine tested and bug present)&lt;br/&gt;
Install odl-restoncf, odl-bgpcep-bgp, odl-bgpcep-bgp-config-example &lt;br/&gt;
Configure odl with script from attachements&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
./ipv6peerconf.py
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;start exabgp with &lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
env exabgp.tcp.port=1790 exabgp --debug exaipv6.cfg
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;watch $KARAF_HOME/data/log/karaf.log&lt;br/&gt;
where bug should be immediately visible&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
2018-03-19T12:53:34,059 | WARN  | epollEventLoopGroup-5-7 | AbstractBGPSessionNegotiator     | 126 - org.opendaylight.bgpcep.bgp-rib-impl - 0.10.0.SNAPSHOT | Channel [id: 0x161287c4, L:/0:0:0:0:0:0:0:1%0:1790 - R:/0:0:0:0:0:0:0:1%0:43791] negotiation failed: BGP peer with ip: IpAddress{_ipv6Address=Ipv6Address{_value=0:0:0:0:0:0:0:1}} not configured, check configured peers in : StrictBGPPeerRegistry{peers=[IpAddress{_ipv6Address=Ipv6Address{_value=::1}}, IpAddress{_ipv4Address=Ipv4Address{_value=192.0.2.1}}]}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;You can check after fix if the routes are present for example in full rib. If they are missing even in topology they should still be in full-rib-output&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
curl -H &lt;span class=&quot;code-quote&quot;&gt;&quot;Accept: application/json&quot;&lt;/span&gt; -u admin:admin &lt;span class=&quot;code-quote&quot;&gt;&quot;http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:8181/restconf/operational/bgp-rib:bgp-rib/rib/example-bgp-rib&quot;&lt;/span&gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="29376">BGPCEP-764</key>
            <summary>ipv6 formatting error</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="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="cdgasparini">Claudio David Gasparini</assignee>
                                    <reporter username="tomas.markovic">Tomas Markovic</reporter>
                        <labels>
                    </labels>
                <created>Thu, 8 Mar 2018 13:12:00 +0000</created>
                <updated>Fri, 23 Mar 2018 10:28:40 +0000</updated>
                            <resolved>Fri, 23 Mar 2018 10:28:34 +0000</resolved>
                                                                    <component>BGP</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="61818" author="cdgasparini" created="Tue, 20 Mar 2018 10:50:52 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:BGPCEP-764+(status:open+OR+status:merged&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:BGPCEP-764+(status:open+OR+status:merged&lt;/a&gt;)&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="14481" name="exaipv6.cfg" size="291" author="tomas.markovic" created="Mon, 19 Mar 2018 11:57:21 +0000"/>
                            <attachment id="14482" name="ipv6peerconf.py" size="1800" author="tomas.markovic" created="Mon, 19 Mar 2018 11:57:21 +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|i03bdr:</customfieldvalue>

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