Enable restart of CSS modules on blueprint container restart 31/40731/6
authorTom Pantelis <tpanteli@brocade.com>
Wed, 22 Jun 2016 13:58:08 +0000 (09:58 -0400)
committerMilos Fabian <milfabia@cisco.com>
Sat, 16 Jul 2016 20:25:37 +0000 (20:25 +0000)
commitcad476acd33525e1a121d34e05df4054ada06517
tree2171b9669aac55bf53a4de97e331fa4ec8ed6556
parent4a4e7fe4be39f82a25a911bb60eae659b8b0bdc0
Enable restart of CSS modules on blueprint container restart

For the CSS modules whose services are now created via blueprint, if
the corresponding blueprint container is restarted, eg due to config
change, we want to also restart the CSS module. To accomplish this, we
need to associate the blueprint service with the corresponding module
by adding well-known service properties that identify the CSS module's
namespace, module type name, and module instance name. Thus when the
BlueprintContainerRestartServiceImpl encounters the service properties
it will restart the specified CSS module..

Change-Id: Ia1acad4d44e3dff1f3f34bc1f56b33f16862ba62
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
bgp/rib-impl/src/main/resources/org/opendaylight/blueprint/bgp-rib.xml
bgp/rib-spi/src/main/resources/org/opendaylight/blueprint/bgp-rib-spi.xml