OpenDaylight: How to get notified when a switch connects

93 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 best solutions below

0
On

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