<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:39:19 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-16] Results of calling rpc get-node-connector-list and rpc get-edge-list in branch stable/beryllium are null.</title>
                <link>https://jira.opendaylight.org/browse/SNMP4SDN-16</link>
                <project id="10170" key="SNMP4SDN">snmp4sdn</project>
                    <description>&lt;p&gt;Branch: stable/beryllium.&lt;/p&gt;


&lt;p&gt;There are three switches in my experiment, and their connections are as follows.&lt;br/&gt;
s1(GE1/0/1)-----&lt;del&gt;(GE1/0/1)s2(GE1/0/2)&lt;/del&gt;-----(GE1/0/1)s3&lt;/p&gt;


&lt;p&gt;File snmp4sdn_swdb.csv is as follows, and there are only s1 and s2 in this file.&lt;br/&gt;
MAC,IP,SNMP_Community,CLI_Username,CLI_Password,Model&lt;br/&gt;
74:25:8a:e4:11:be,17.0.2.104,public,admin,admin,H3C_VSR&lt;br/&gt;
74:25:8a:e3:56:b4,17.0.3.105,public,admin,admin,H3C_VSR&lt;/p&gt;


&lt;p&gt;Firstly, I use command snmp4sdn:readdb to read device information about s1 and s2. The result is as follows.&lt;br/&gt;
MAC_address (sid)                               IP_address      SNMP_community  CLI_username    CLI_password    Model_name&lt;br/&gt;
=======================================================================&lt;br/&gt;
00:00:74:25:8a:e3:56:b4 (127704592766644     )  17.0.3.105      public          admin           admin   H3C_VSR&lt;br/&gt;
00:00:74:25:8a:e4:11:be (127704592814526     )  17.0.2.104      public          admin           admin   H3C_VSR&lt;br/&gt;
MAC_address (sid)                               IP_address      SNMP_community  CLI_username    CLI_password    Model_name&lt;br/&gt;
=======================================================================&lt;br/&gt;
00:00:74:25:8a:e3:56:b4 (127704592766644     )  17.0.3.105      public          admin           admin   H3C_VSR&lt;br/&gt;
00:00:74:25:8a:e4:11:be (127704592814526     )  17.0.2.104      public          admin           admin   H3C_VSR&lt;/p&gt;


&lt;p&gt;Secondly, I use command snmp4sdn:topodiscover to discover the switches and the edges between them.&lt;/p&gt;


&lt;p&gt;And then, I call rpc get-node-list to get the nodes, and the result is right, as follows.&lt;br/&gt;
rpc get-node-list is called, node list:&lt;br/&gt;
SNMP|127704592766644&lt;br/&gt;
SNMP|127704592814526&lt;/p&gt;


&lt;p&gt;But when I call rpc get-node-connector-list and rpc get-edge-list, I find the results of calling those rpcs are null. And I find some ERROR logs also, as follows.&lt;/p&gt;


&lt;p&gt;2016-02-26 08:45:03,312 | INFO  | l for user karaf | Controller                       | 242 - org.opendaylight.snmp4sdn - 0.3.0.Beryllium | Add switch(00:00:74:25:8a:e3:56:b4) to the Controller&lt;br/&gt;
2016-02-26 08:45:03,322 | INFO  | l for user karaf | OFStatisticsManager              | 242 - org.opendaylight.snmp4sdn - 0.3.0.Beryllium | Added Switch 00:00:74:25:8a:e3:56:b4 to target pool&lt;br/&gt;
2016-02-26 08:45:03,380 | ERROR | l for user karaf | Controller                       | 242 - org.opendaylight.snmp4sdn - 0.3.0.Beryllium | ERROR: scanAndAddPort(): portStateTable has no entry for port 17&lt;br/&gt;
2016-02-26 08:45:03,390 | INFO  | l for user karaf | Controller                       | 242 - org.opendaylight.snmp4sdn - 0.3.0.Beryllium | Add switch(00:00:74:25:8a:e4:11:be) to the Controller&lt;br/&gt;
2016-02-26 08:45:03,391 | INFO  | l for user karaf | OFStatisticsManager              | 242 - org.opendaylight.snmp4sdn - 0.3.0.Beryllium | Added Switch 00:00:74:25:8a:e4:11:be to target pool&lt;br/&gt;
2016-02-26 08:45:03,445 | ERROR | l for user karaf | Controller                       | 242 - org.opendaylight.snmp4sdn - 0.3.0.Beryllium | ERROR: scanAndAddPort(): portStateTable has no entry for port 17&lt;br/&gt;
2016-02-26 08:45:45,223 | ERROR | opologyDiscovery | SwitchHandler                    | 242 - org.opendaylight.snmp4sdn - 0.3.0.Beryllium | ERROR: setPhysicalPortState(): given portState is null, for SNMPPhysicalPort phyPort whose portID is 17&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26755">SNMP4SDN-16</key>
            <summary>Results of calling rpc get-node-connector-list and rpc get-edge-list in branch stable/beryllium are null.</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>Fri, 26 Feb 2016 01:11:07 +0000</created>
                <updated>Thu, 19 Oct 2017 21:25:20 +0000</updated>
                            <resolved>Fri, 1 Apr 2016 11:17:42 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="53741" author="nanfei1988@126.com" created="Fri, 26 Feb 2016 01:16:49 +0000"  >&lt;p&gt;I have committed two changes for this bug.&lt;/p&gt;

&lt;p&gt;For branch stable/beryllium: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/35086/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/35086/&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For branch master: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/35091/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/35091/&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="53742" author="nanfei1988@126.com" created="Mon, 29 Feb 2016 02:39:07 +0000"  >&lt;p&gt;There are some problems in method readPortStateEntries of class SNMPHandler when dealing with tableVars.&lt;/p&gt;


&lt;p&gt;Because the valid port number in tableVars does not begin from 1 always. And the valid port number in tableVars does not be continuous always.&lt;/p&gt;


&lt;p&gt;For example, as to a device whose model is H3C S6800-4C, when the second slot is used only, the valid port number in tableVars will be 33~57, 61, 26446. There are also other similar situations.&lt;/p&gt;


&lt;p&gt;In those cases, there will be some problems when using tmpCount for decision.&lt;/p&gt;</comment>
                            <comment id="53743" author="ylhsieh@itri.org.tw" created="Fri, 1 Apr 2016 11:17:42 +0000"  >&lt;p&gt;Naifei provided fix is merged now, &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/35091/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/35091/&lt;/a&gt; &lt;br/&gt;
Thanks!&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>5433</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=5433]]></customfieldvalue>

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

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