<!-- 
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-11] The result of calling rpc get-edge-list defined in topology.yang is false</title>
                <link>https://jira.opendaylight.org/browse/SNMP4SDN-11</link>
                <project id="10170" key="SNMP4SDN">snmp4sdn</project>
                    <description>&lt;p&gt;Three switches on which the sub type of PortID is Interface Name are used in my experiment, and the connection between them is as follows:&lt;/p&gt;

&lt;p&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;GE1/0/1 is short of GigabitEthernet1/0/1, and GE1/0/2 is short of GigabitEthernet1/0/2.&lt;/p&gt;

&lt;p&gt;Currently snmp4sdn can not support PortID sub type of Interface Name. Please see &lt;a href=&quot;https://jira.opendaylight.org/browse/SNMP4SDN-10&quot; title=&quot;Can not support PortID subtype: Interface name&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SNMP4SDN-10&quot;&gt;&lt;del&gt;SNMP4SDN-10&lt;/del&gt;&lt;/a&gt; to get more details about this.&lt;/p&gt;

&lt;p&gt;Firstly, I fix the &lt;a href=&quot;https://jira.opendaylight.org/browse/SNMP4SDN-10&quot; title=&quot;Can not support PortID subtype: Interface name&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SNMP4SDN-10&quot;&gt;&lt;del&gt;SNMP4SDN-10&lt;/del&gt;&lt;/a&gt; to make snmp4sdn to support PortID sub type of Interface Name by modifing the java file of SNMPHandler.&lt;/p&gt;

&lt;p&gt;Secondly, I use command snmp4sdn:readdb to read the device information of s1 and s2, but the device information of s3 is not read. So the device type of s3 in snmp4sdn is PR, not SNMP.&lt;/p&gt;

&lt;p&gt;Thirdly, I use command snmp4sdn:topodiscoverswitches to discovery the two switches, and to discovery the topology at the same time.&lt;/p&gt;

&lt;p&gt;Lastly, I use rpc get-node-list defined in yang file of topology to get the two switches, and the result is true. The information printed in karaf is as follows:&lt;/p&gt;

&lt;p&gt;rpc get-node-list is called, node list:&lt;br/&gt;
SNMP|7555994878208&lt;br/&gt;
SNMP|7578479100416&lt;/p&gt;

&lt;p&gt;7555994878208 is s1, and 7578479100416 is s2. Then I use rpc get-node-connector-list to get all ports and the result is also true. The information printed in karaf is as follows:&lt;/p&gt;

&lt;p&gt;rpc get-node-connector-list is called, node connector list:&lt;br/&gt;
SNMP|2@SNMP|7555994878208&lt;br/&gt;
SNMP|3@SNMP|7555994878208&lt;br/&gt;
SNMP|3@SNMP|7578479100416&lt;br/&gt;
SNMP|4@SNMP|7578479100416&lt;br/&gt;
SNMP|2@SNMP|7578479100416&lt;/p&gt;

&lt;p&gt;But When I use rpc get-edge-list to get all edges, the result is false. The information printed in karaf is as follows:&lt;/p&gt;

&lt;p&gt;(SNMP|2@SNMP|7555994878208-&amp;gt;SNMP|3@SNMP|7578479100416)&lt;br/&gt;
(SNMP|3@SNMP|7578479100416-&amp;gt;SNMP|2@SNMP|7555994878208)&lt;br/&gt;
(SNMP|2@SNMP|7578479100416-&amp;gt;SNMP|2@SNMP|7555994878208)&lt;/p&gt;

&lt;p&gt;As we know from above, the device type of s3 is PR, not SNMP. So there are two edges from SNMP@SNMP to SNMP@SNMP, and there is still an edge from PR@PR to SNMP@SNMP. Therefore the result of rpc get-edge-list is false.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26750">SNMP4SDN-11</key>
            <summary>The result of calling rpc get-edge-list defined in topology.yang is false</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>Mon, 26 Oct 2015 07:27:17 +0000</created>
                <updated>Thu, 19 Oct 2017 21:25:06 +0000</updated>
                            <resolved>Tue, 23 Feb 2016 06:21:24 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="53707" author="ylhsieh@itri.org.tw" created="Mon, 15 Feb 2016 02:29:18 +0000"  >&lt;p&gt;Sorry I missed this bug.&lt;/p&gt;

&lt;p&gt;As mentioned in previous comments:&lt;/p&gt;

&lt;p&gt;(SNMP|2@SNMP|7555994878208-&amp;gt;SNMP|3@SNMP|7578479100416)&lt;br/&gt;
(SNMP|3@SNMP|7578479100416-&amp;gt;SNMP|2@SNMP|7555994878208)&lt;br/&gt;
(SNMP|2@SNMP|7578479100416-&amp;gt;SNMP|2@SNMP|7555994878208)&lt;br/&gt;
... there are two edges from SNMP@SNMP to SNMP@SNMP, and there is still an edge from PR@PR to SNMP@SNMP...&lt;/p&gt;


&lt;p&gt;The result looks three SNMP-&amp;gt;SNMP edges, no PR-&amp;gt;SNMP edge?&lt;br/&gt;
Thanks.&lt;/p&gt;</comment>
                            <comment id="53708" author="nanfei1988@126.com" created="Mon, 15 Feb 2016 08:54:32 +0000"  >&lt;p&gt;Yes, there was not a PR@PR to SNMP@SNMP edge.&lt;/p&gt;

&lt;p&gt;I found there was some problems in the method resolvePortPairsAndAddEdges in class DiscoveryService when debugging.&lt;/p&gt;

&lt;p&gt;By the way, I have submitted a change for this bug: Change 32929.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/32929/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/32929/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53709" author="ylhsieh@itri.org.tw" created="Tue, 16 Feb 2016 10:00:59 +0000"  >&lt;p&gt;See the gerrit patch 32929.&lt;br/&gt;
A comment at bottom, &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/32929/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/32929/&lt;/a&gt;.&lt;br/&gt;
Thank you.&lt;/p&gt;</comment>
                            <comment id="53710" author="nanfei1988@126.com" created="Fri, 19 Feb 2016 01:34:30 +0000"  >&lt;p&gt;Please see the comment at bottom, &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/32929/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/32929/&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;</comment>
                            <comment id="53711" author="nanfei1988@126.com" created="Fri, 19 Feb 2016 11:48:31 +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/32929/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/32929/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53712" author="ylhsieh@itri.org.tw" created="Tue, 23 Feb 2016 06:21:24 +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>4526</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=4526]]></customfieldvalue>

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

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