Send node details notification up to the application, 95/34195/1
authorAnil Vishnoi <vishnoianil@gmail.com>
Tue, 26 Jan 2016 02:49:03 +0000 (18:49 -0800)
committerAnil Vishnoi <vishnoianil@gmail.com>
Fri, 5 Feb 2016 23:37:36 +0000 (23:37 +0000)
commita430953064e4a8e203641af98d844568c6b0adc4
treeb036718dfcb14355d1df5da2aa2e33341269d023
parent66e2e16c8d18816990e8f545ffb8ae501e11a8c3
Send node details notification up to the application,
once switch role is configured. Currently application were getting notified when switch Description message
received by the controller, and application assume that switch is configured and ready to use.
This patch, send the desc request when switch role is configured and it's ready to use

Change-Id: I8a02c209c4796b7aa01161257d523139fdc9c881
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
(cherry picked from commit 636fd4b5cdf0751c684b0c6996523a9fedb5c63a)
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/md/ModelDrivenSwitch.java
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/ConnectionConductorImpl.java
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/role/OfEntityManager.java
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/sal/ModelDrivenSwitchImpl.java
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/session/RolePushTask.java
openflowplugin/src/test/java/org/opendaylight/openflowplugin/openflow/md/core/ConnectionConductorImplTest.java