<!-- 
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-17] Result of calling rpc get-arp-table defined in misc-config.yang is false.</title>
                <link>https://jira.opendaylight.org/browse/SNMP4SDN-17</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)-----&lt;del&gt;(GE1/0)s2(GE2/0)&lt;/del&gt;-----(GE1/0)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;Arp table on switch s1 is as follows.&lt;br/&gt;
IP address      MAC address    VLAN     Interface                Aging Type &lt;br/&gt;
17.0.0.105      000c-2961-ee6b N/A      GE1/0                    17    D    &lt;br/&gt;
17.0.2.107      000c-2970-f2b2 N/A      GE2/0                    17    D    &lt;/p&gt;


&lt;p&gt;Then, I call rpc get-arp-table defined in file misc-config.yang to get the arp table on switch s1. But the output of this rpc is null.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26756">SNMP4SDN-17</key>
            <summary>Result of calling rpc get-arp-table defined in misc-config.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>Sat, 27 Feb 2016 03:14:20 +0000</created>
                <updated>Thu, 19 Oct 2017 21:25:12 +0000</updated>
                            <resolved>Wed, 2 Mar 2016 14:31:58 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="53744" author="nanfei1988@126.com" created="Mon, 29 Feb 2016 02:17:21 +0000"  >&lt;p&gt;I have committed two changes for this bug.&lt;/p&gt;

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

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


&lt;p&gt;There will be some problems if we use the oid which consists of arpTableEntryPhyAddrOID and midStuffForArpTableEntryOID to get the arp talbe.&lt;/p&gt;


&lt;p&gt;Because the midStuffForArpTableEntryOID is not always 5121 for all devices which come from different vendors.&lt;/p&gt;


&lt;p&gt;Furthermore, the midStuffForArpTableEntryOID is also not a constant even for a same device. For example, when I use MG-SOFT MIB Browser software to get ipNetToMediaPhysAddress(this oid is arpTableEntryPhyAddrOID, and it is 1.3.6.1.2.1.4.22.1.2) from h3c&apos;s device, the result is as follows.&lt;/p&gt;


&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&gt;
			&lt;ul&gt;
				&lt;li&gt;
				&lt;ul&gt;
					&lt;li&gt;SNMP QUERY STARTED *****&lt;br/&gt;
1: ipNetToMediaPhysAddress.37.192.168.1.1 (PhysAddress) 70:F9:6D:EB:03:17 &lt;span class=&quot;error&quot;&gt;&amp;#91;70.F9.6D.EB.03.17 (hex)&amp;#93;&lt;/span&gt;&lt;br/&gt;
2: ipNetToMediaPhysAddress.39.192.168.5.1 (PhysAddress) 70:F9:6D:EB:03:17 &lt;span class=&quot;error&quot;&gt;&amp;#91;70.F9.6D.EB.03.17 (hex)&amp;#93;&lt;/span&gt;&lt;br/&gt;
3: ipNetToMediaPhysAddress.47.172.168.2.1 (PhysAddress) 00:50:56:60:AC:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;Vmware_60:AC:56&amp;#93;&lt;/span&gt;&lt;br/&gt;
4: ipNetToMediaPhysAddress.26446.98.0.0.1 (PhysAddress) 00:0F:E1:21:21:15 &lt;span class=&quot;error&quot;&gt;&amp;#91;Id_21:21:15&amp;#93;&lt;/span&gt;&lt;br/&gt;
5: ipNetToMediaPhysAddress.26446.98.0.0.5 (PhysAddress) 5C:DD:70:0F:00:D0 &lt;span class=&quot;error&quot;&gt;&amp;#91;5C.DD.70.0F.00.D0 (hex)&amp;#93;&lt;/span&gt;&lt;/li&gt;
				&lt;/ul&gt;
				&lt;/li&gt;
			&lt;/ul&gt;
			&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;We can see that the midStuffForArpTableEntryOID is not a constant even for a same device from this example.&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>5438</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=5438]]></customfieldvalue>

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

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