nodelink.jsp shared segment without ports

Description

The linknode.jsp displays a shared segment without any bridge port connected to.

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Antonio Russo April 26, 2016 at 1:59 AM

MacBook-Pro-di-Antonio-Russo:opennms antonio$ git cherry-pick b045df447f01cbc9e30cb68837da1883b43a073e
[foundation-2016 ebd2ee7] : nodelink.jsp shared segment without ports
2 files changed, 8 insertions, 158 deletions
MacBook-Pro-di-Antonio-Russo:opennms antonio$ git pull
Warning: Permanently added the RSA host key for IP address '192.30.252.121' to the list of known hosts.
remote: Counting objects: 59, done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 59 (delta 2), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (59/59), done.
From github.com:OpenNMS/opennms

  • [new branch] jira/ -> origin/jira/
    71161e8..1cb9e89 release-18.0.0 -> origin/release-18.0.0

  • [new branch] revert-735-jira/ -> origin/revert-735-jira/
    Already up-to-date.
    MacBook-Pro-di-Antonio-Russo:opennms antonio$ git push
    Counting objects: 108, done.
    Delta compression using up to 4 threads.
    Compressing objects: 100% (17/17), done.
    Writing objects: 100% (19/19), 1.74 KiB | 0 bytes/s, done.
    Total 19 (delta 12), reused 0 (delta 0)
    To git@github.com:OpenNMS/opennms.git
    0e19d7c..ebd2ee7 foundation-2016 -> foundation-2016

Antonio Russo April 25, 2016 at 1:35 PM

commit b045df447f01cbc9e30cb68837da1883b43a073e
Author: Antonio <rssntn67@yahoo.it>
Date: Mon Apr 25 19:33:39 2016 +0200

: nodelink.jsp shared segment without ports

Added a check to see if the shared segment exists

MacBook-Pro-di-Antonio-Russo:opennms antonio$ git commit -a
[features/17.1.1-enlinkd b045df4] : nodelink.jsp shared segment without ports
2 files changed, 8 insertions, 158 deletions

MacBook-Pro-di-Antonio-Russo:opennms antonio$ git push
Counting objects: 138, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (20/20), done.
Writing objects: 100% (22/22), 1.87 KiB | 0 bytes/s, done.
Total 22 (delta 16), reused 0 (delta 0)
To git@github.com:OpenNMS/opennms.git
042b8d8..b045df4 features/17.1.1-enlinkd -> features/17.1.1-enlinkd

Antonio Russo April 22, 2016 at 10:16 AM

here is no bridge link for that mac addresses...

The data is in ipnettomedia...

opennms=# select * from ipnettomedia where physaddress = '6c9ced308168';
id | netaddress | physaddress | sourcenodeid | sourceifindex | createtime | lastpolltime
--------------------------------------------------------------------------------------------------------------------- 2015 | 10.53.0.49 | 6c9ced308168 | 7 | 12 | 2016-03-28 22:33:33.066+02 | 2016-04-22 15:40:30.078+02
(1 row)

opennms=# select * from ipnettomedia where physaddress = '6c9ced308178';
id | netaddress | physaddress | sourcenodeid | sourceifindex | createtime | lastpolltime
------------------------------------------------------------------------------------------------------------------------ 3879 | 10.125.84.9 | 6c9ced308178 | 7 | 43 | 2016-04-22 15:40:30.326+02 | 2016-04-22 15:40:30.326+02
3881 | 10.193.84.128 | 6c9ced308178 | 7 | 44 | 2016-04-22 15:40:30.354+02 | 2016-04-22 15:40:30.354+02
3883 | 10.193.84.0 | 6c9ced308178 | 7 | 45 | 2016-04-22 15:40:30.383+02 | 2016-04-22 15:40:30.383+02

So no shared segment should be showed.

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

PagerDuty

Created April 22, 2016 at 10:09 AM
Updated May 9, 2016 at 10:51 AM
Resolved April 26, 2016 at 1:59 AM