Ask Your Question

Link-down event handler

asked 2015-02-09 08:55:03 -0700

jlm7 gravatar image

Hello All,

I'm working on an implementation of a NB application for Hydrogen controller to controll switches according to the ARPPath protocol rules. I started using the Learning Switch example as my reference and with this I have developed the learning phase of the protocol. Now I have to approach the fixing paths phase, for which I need to detect link-down events. I have read that switches send to the controller messages called PortStatusMessages to notify this, but I'm not able to find the event to handle these kind of messages. I tried registering a new class as the listener of these events with the NotificationService (following how the LearningSwitch application do it), but it is not triggered when I bring down a link with mininet.

I hope someone can help me with the handler of this link-down event.

Thanks in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-02-09 23:10:35 -0700

Vishal Thapar gravatar image

Take a look at OpendaylightInventoryService and different onNodeConenctor events. Link-down will come as onNodeConnectorUpdated event.

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]


Asked: 2015-02-09 08:55:03 -0700

Seen: 182 times

Last updated: Feb 09 '15