The findByNodeidAndIfIndex will return now a list of links This is needed because it can happen that different links are found on the same nodeid/ifindex. All the test passes successfully
MacBook-Pro-di-Antonio-Russo-2:opennms-TS antonio$ git push Counting objects: 91, done. Delta compression using up to 4 threads. Compressing objects: 100% (36/36), done. Writing objects: 100% (57/57), 8.99 KiB, done. Total 57 (delta 14), reused 0 (delta 0) To git@github.com:OpenNMS/opennms.git 77babf8..92d18e2 features/TS -> features/TS
Antonio Russo September 12, 2013 at 9:16 AM
[master fc749b6] Fix for and 8 files changed, 100 insertions, 30 deletions MacBook-Pro-di-Antonio-Russo:opennms-services antonio$ git push Counting objects: 46, done. Delta compression using up to 4 threads. Compressing objects: 100% (21/21), done. Writing objects: 100% (25/25), 4.20 KiB, done. Total 25 (delta 13), reused 0 (delta 0) To git@github.com:OpenNMS/opennms.git ffe0f7c..fc749b6 master -> master
There are several duplicated row in datalinkinterface table where
they only difference is status (A and N) and LastPolltime.
The behaviuor is that only one row is must be into the database.