Ask Your Question
0

How to Capture Network Notification From OpenFlow Plugin

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

anonymous user

Anonymous

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
0

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: https://github.com/opendaylight/vpnservice/blob/master/interfacemgr/interfacemgr-impl/src/main/java/org/opendaylight/vpnservice/interfacemgr/IfmNodeConnectorListener.java

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
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

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

Seen: 192 times

Last updated: Sep 23 '15