Merge "Controller inventory service doesn't come up - After the commit e55cbeebfe5bae...
authorAlessandro Boch <aboch@cisco.com>
Tue, 6 Aug 2013 16:21:29 +0000 (16:21 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 6 Aug 2013 16:21:29 +0000 (16:21 +0000)
commit8c0ff882a546c4089c0c8c2bd0d65d9d0291882b
treebfc81f7dad992795682162035f5b30ebb2a14245
parent91e19b8e94b926a286d1ad4cd1077858017931e9
parentb6d3e684e8ffc5125dc71a619ac41323924a32c5
Merge "Controller inventory service doesn't come up - After the commit e55cbeebfe5bae130becc3facd7c6235a56529ee the InventoryShimService in OF protocol plugin was not coming up because was waiting on a service that was provided by SAL InventoryService, but this was waiting on a service provided by the protocol plugin (a typical circular dependency condition). SAL implementations should never wait on the protocol plugin, rather should track them dynamically. - In InventoryService in protocol plugin the list of pluginOutInventoryServices was initialized during init, but init is called after the necessary dependency have been met, that means that the list may already have the proper listener sets, and those will not be relearnt again. The proper initialization is the instance init, and clearing when the protocol plugin is stopping."