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,