OpenDaylight: How to get notified when a switch connects

64 views Asked by At

I am working with opendaylight Carbon. I want to write a DataTreeChangeListener which gets notified when a switch connects. I tried modeling this on the LearningSwitch example of the OpenFlow plugin but I do not see any notification when mininet connects to openflow.

Any pointers on how to do this would be greatly appreciated.

Thanks,

1

There are 1 answers

0
Karthik Prasad On

Have look at this, we use this class to add default flows when DPN gets connected