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,
Have look at this, we use this class to add default flows when DPN gets connected