Ask Your Question

How to Capture Network Notification From OpenFlow Plugin

asked 2015-09-21 22:42:18 -0700

anonymous user


Dear All,

I need to write a custom ODL bundle, to capture the OpenFlow node Up or Down notifications and processes them.

I used the SwitchManager interfaces and unable to get the notifications, During my testing, I observed the StatisticsManager is printing karaf logs for my Mininet node up and down events.

But there are multiple verstions of StatisticsManager, one is from AD-SAL version in controller and other is MD-SAL version. But the logs, whatever I am getting in karaf.log is not from either of these. They are coming from the OpenFlow pluging's Statistics manager.

Now, I am confused about, what to refere for implement my requirement. My requirement is simple to know the node up or down events.

Can any one show me the right way to implement my requirement?

Thanks in Advance,

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-23 23:04:20 -0700

Vishal Thapar gravatar image

You need to register for Data Change notification on Node Connecter. This is one example of it:

But this uses the Inventory model which is being deprecated in Be. I'll have to dig deeper and find an example that uses topology model, but if you're using Li or older, this should work.

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]

Question Tools

1 follower


Asked: 2015-09-21 22:42:18 -0700

Seen: 188 times

Last updated: Sep 23 '15