[SNMP4SDN-17] Result of calling rpc get-arp-table defined in misc-config.yang is false. Created: 27/Feb/16 Updated: 19/Oct/17 Resolved: 02/Mar/16 |
|
| Status: | Resolved |
| Project: | snmp4sdn |
| Component/s: | General |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Nanfei Chen | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 5438 |
| Description |
|
Branch: stable/beryllium. There are three switches in my experiment, and their connections are as follows. File snmp4sdn_swdb.csv is as follows, and there are only s1 and s2 in this file. Firstly, I use command snmp4sdn:readdb to read device information about s1 and s2. The result is as follows. Arp table on switch s1 is as follows. 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. |
| Comments |
| Comment by Nanfei Chen [ 29/Feb/16 ] |
|
I have committed two changes for this bug. https://git.opendaylight.org/gerrit/#/c/35507/ https://git.opendaylight.org/gerrit/#/c/35508/ There will be some problems if we use the oid which consists of arpTableEntryPhyAddrOID and midStuffForArpTableEntryOID to get the arp talbe. Because the midStuffForArpTableEntryOID is not always 5121 for all devices which come from different vendors. 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's device, the result is as follows.
We can see that the midStuffForArpTableEntryOID is not a constant even for a same device from this example. |