<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:39:18 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>[SNMP4SDN-10] Can not support PortID subtype: Interface name</title>
                <link>https://jira.opendaylight.org/browse/SNMP4SDN-10</link>
                <project id="10170" key="SNMP4SDN">snmp4sdn</project>
                    <description>&lt;p&gt;Three switches on which the PortID subtype is Interface name are used in my experiment, and the connection between them is as follows:&lt;br/&gt;
switch1(GigabitEthernet1/0/1,177.0.0.104)-------&lt;del&gt;(GigabitEthernet1/0/1,177.0.0.105) switch2 (GigabitEthernet1/0/2,177.0.1.105)&lt;/del&gt;-------(GigabitEthernet1/0/1,177.0.1.106)switch3&lt;/p&gt;

&lt;p&gt;Firstly, I configure the SNMP protocol and LLDP protocol on three switches correctly.&lt;/p&gt;

&lt;p&gt;Secondly, I use command snmp4sdn:readdb to read device information of the three switches, and the information is as follows:&lt;br/&gt;
MAC,IP,SNMP_Community,CLI_Username,CLI_Password&lt;br/&gt;
06:DF:44:64:01:00,177.0.0.104,public, ,&lt;br/&gt;
06:E4:80:8E:02:00,177.0.0.105,public, ,&lt;br/&gt;
78:74:6B:FE:03:00,177.0.1.106,public, ,&lt;/p&gt;

&lt;p&gt;The result after executing this command is as follows:&lt;br/&gt;
MAC address (sid)               IP address      SNMP community  CLI username    CLI password&lt;br/&gt;
00:00:06:e4:80:8e:02:00 (7578479100416) 177.0.0.105     public&lt;br/&gt;
00:00:78:74:6b:fe:03:00 (132441423348480)       177.0.1.106     public&lt;br/&gt;
00:00:06:df:44:64:01:00 (7555994878208) 177.0.0.104     public&lt;/p&gt;

&lt;p&gt;Thirdly,  when I use command snmp4sdn:topodiscoverswitches to discovery the three switches, the error java.lang.NullPointerException occurs when executing this command.&lt;/p&gt;

&lt;p&gt;2015-10-25 21:14:41,982 | ERROR | l for user karaf | ShellUtil                        | 25 - org.apache.karaf.shell.console - 3.0.3 | Exception caught while executing command&lt;br/&gt;
java.lang.NullPointerException&lt;br/&gt;
        at org.opendaylight.snmp4sdn.internal.DiscoveryService.readLLDPonOneSwitch(DiscoveryService.java:1758)&lt;br/&gt;
        at org.opendaylight.snmp4sdn.internal.DiscoveryService.readLLDPonSwitches(DiscoveryService.java:1777)&lt;br/&gt;
        at org.opendaylight.snmp4sdn.internal.DiscoveryService.doEthSwDiscovery(DiscoveryService.java:1722)&lt;br/&gt;
        at org.opendaylight.snmp4sdn.internal.InventoryServiceShim.doTopoDiscover(InventoryServiceShim.java:590)&lt;br/&gt;
        at org.opendaylight.snmp4sdn.core.internal.Controller.topologyDiscoverEdges(Controller.java:482)&lt;br/&gt;
        at org.opendaylight.snmp4sdn.core.internal.Controller.topoDiscover(Controller.java:373)&lt;br/&gt;
        at Proxydb09afef_f7b9_4fc1_b2d9_5829eef9b60e.topoDiscover(Unknown Source)&lt;br/&gt;
        at org.opendaylight.snmp4sdn.shell.TopoDiscoverSwitch.doExecute(TopoDiscoverSwitch.java:22)&lt;br/&gt;
        at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at Proxy08dc5d78_0bd0_49cb_8ae2_b80fd7a0ac3b.execute(Unknown Source)&lt;span class=&quot;error&quot;&gt;&amp;#91;:&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at Proxy08dc5d78_0bd0_49cb_8ae2_b80fd7a0ac3b.execute(Unknown Source)&lt;span class=&quot;error&quot;&gt;&amp;#91;:&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)&lt;br/&gt;
        at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208)&lt;br/&gt;
        at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109)&lt;br/&gt;
        at java.security.AccessController.doPrivileged(Native Method)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_80&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)&lt;span class=&quot;error&quot;&gt;&amp;#91;26:org.apache.karaf.jaas.modules:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26749">SNMP4SDN-10</key>
            <summary>Can not support PortID subtype: Interface name</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="-1">Unassigned</assignee>
                                    <reporter username="nanfei1988@126.com">Nanfei Chen</reporter>
                        <labels>
                    </labels>
                <created>Sun, 25 Oct 2015 08:02:17 +0000</created>
                <updated>Thu, 19 Oct 2017 21:25:16 +0000</updated>
                            <resolved>Tue, 23 Feb 2016 06:37:29 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="53699" author="ylhsieh@itri.org.tw" created="Mon, 15 Feb 2016 03:13:24 +0000"  >&lt;p&gt;Thank you. Different kinds of Port ID subtype will be supported in the future release. This limitation could be solved by referring to port ID subtype, or by vendor-specific support.&lt;/p&gt;</comment>
                            <comment id="53700" author="nanfei1988@126.com" created="Fri, 19 Feb 2016 03:42:06 +0000"  >&lt;p&gt;Yes, thank you, and I submitted a change in branch stable/lithium for this bug.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/32927/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/32927/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53701" author="ylhsieh@itri.org.tw" created="Fri, 19 Feb 2016 04:05:56 +0000"  >&lt;p&gt;Reviewed, please see the suggestion in the comment. Thank you.&lt;/p&gt;</comment>
                            <comment id="53702" author="ylhsieh@itri.org.tw" created="Fri, 19 Feb 2016 04:13:31 +0000"  >&lt;p&gt;By the way, I just recall that port ID subtype of interface name is supported now, see the gerrit 30120, &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/30120&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/30120&lt;/a&gt;. This gerrit provide more robust functions and design, and it is introduced in Beryllium. However it is not cherry picked to Lithium SR, due to the patch includes some files which can&apos;t be introduced in Lithium.&lt;/p&gt;</comment>
                            <comment id="53703" author="ylhsieh@itri.org.tw" created="Fri, 19 Feb 2016 04:23:45 +0000"  >&lt;p&gt;By the way, I just recall that port ID subtype of interface name is supported now, see the gerrit 30120, &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/30120&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/30120&lt;/a&gt;. This gerrit provide more robust functions and design, and it is introduced in Beryllium. However it is not cherry picked to Lithium SR, due to the patch includes some files which can&apos;t be introduced in Lithium, such as pom file.&lt;/p&gt;</comment>
                            <comment id="53704" author="nanfei1988@126.com" created="Fri, 19 Feb 2016 05:01:52 +0000"  >&lt;p&gt;OK, thanks. Pleanse see the reply, &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/32927/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/32927/&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="53705" author="nanfei1988@126.com" created="Fri, 19 Feb 2016 13:01:24 +0000"  >&lt;p&gt;I have amended the change.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/32927/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/32927/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53706" author="ylhsieh@itri.org.tw" created="Tue, 23 Feb 2016 06:37:29 +0000"  >&lt;p&gt;Thanks for the patch, merged now.&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>4524</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=4524]]></customfieldvalue>

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

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