<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:47:04 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>[VPNSERVICE-2] Invalid range Exception in setDpnId</title>
                <link>https://jira.opendaylight.org/browse/VPNSERVICE-2</link>
                <project id="10184" key="VPNSERVICE">vpnservice</project>
                    <description>&lt;p&gt;Ran into following exception when trying to configure VPnInterface when using vpnservice with openstack/OVSDB.&lt;/p&gt;

&lt;p&gt;2015-05-19 23:46:16,518 | ERROR | ult-dispatcher-3 | DataChangeListener               | 276 - org.opendaylight.controller.sal-distributed-datastore - 1.2.0.SNAPSHOT | Error notifying listener org.opendaylight.vpnservice.fibmanager.FibManager&lt;br/&gt;
java.lang.IllegalArgumentException: Invalid range: 262702505666885, expected: [&lt;span class=&quot;error&quot;&gt;&amp;#91;0?4294967295&amp;#93;&lt;/span&gt;].&lt;br/&gt;
               at org.opendaylight.yang.gen.v1.urn.opendaylight.vpnservice.l3nexthop.rev150409.GetEgressPointerInputBuilder.setDpnId(GetEgressPointerInputBuilder.java:85)&lt;span class=&quot;error&quot;&gt;&amp;#91;356:org.opendaylight.vpnservice.nexthopmgr-api:0.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
               at org.opendaylight.vpnservice.fibmanager.FibManager.resolveAdjacency(FibManager.java:416)&lt;span class=&quot;error&quot;&gt;&amp;#91;367:org.opendaylight.vpnservice.fibmanager-impl:0.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
               at org.opendaylight.vpnservice.fibmanager.FibManager.addRouteInternal(FibManager.java:193)&lt;span class=&quot;error&quot;&gt;&amp;#91;367:org.opendaylight.vpnservice.fibmanager-impl:0.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
               at org.opendaylight.vpnservice.fibmanager.FibManager.createFibEntries(FibManager.java:184)&lt;span class=&quot;error&quot;&gt;&amp;#91;367:org.opendaylight.vpnservice.fibmanager-impl:0.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
               at org.opendaylight.vpnservice.fibmanager.FibManager.add(FibManager.java:160)&lt;span class=&quot;error&quot;&gt;&amp;#91;367:org.opendaylight.vpnservice.fibmanager-impl:0.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;When using mininet dpnId is within range for &apos;long&apos; but with OVSDB it uses a dpnid which is bigger than that. Note that most physical switches use a combination of mac-address and/or some other parameter to generate DatapathId, so dpnId will most of the times be bigger than range for long.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21611">VPNSERVICE-2</key>
            <summary>Invalid range Exception in setDpnId</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>Wed, 20 May 2015 03:39:16 +0000</created>
                <updated>Mon, 30 Oct 2017 19:53:32 +0000</updated>
                            <resolved>Fri, 22 May 2015 08:46:52 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="40465" author="thapar" created="Wed, 20 May 2015 03:44:45 +0000"  >&lt;p&gt;Correction: long is 64bit, so that is not the issue. Problem is that l3nexthop.yang defines dpnId as uint32:&lt;/p&gt;

&lt;p&gt;	rpc getEgressPointer {&lt;br/&gt;
		description &quot;returns egress pointer, an OF Group Id&quot;;&lt;br/&gt;
		input { &lt;br/&gt;
			leaf dpnId &lt;/p&gt;
{type uint32;}&lt;br/&gt;
			leaf vpnId { type uint32;}  /* optional */&lt;br/&gt;
			leaf ipPrefix {type string;}&lt;br/&gt;
			leaf nexthopIp {type string;}&lt;br/&gt;
		}&lt;br/&gt;
		output { &lt;br/&gt;
			leaf egressPointer {type uint32;}
&lt;p&gt; &lt;br/&gt;
			leaf localDestination &lt;/p&gt;
{type boolean;}
&lt;p&gt;		}&lt;br/&gt;
	}&lt;/p&gt;

&lt;p&gt;So, when trying to set a dpnInd with bigger value than uint32, it is causing this exception.&lt;/p&gt;</comment>
                            <comment id="40466" author="thapar" created="Fri, 22 May 2015 08:46:52 +0000"  >&lt;p&gt;Fixed by: &lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/20881&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/20881&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/20938&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/20938&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>3292</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=3292]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10101" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10302"><![CDATA[critical]]></customfieldvalue>

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