Update dependendency desc properly in RpcServiceMetadata 82/50682/1
authorTom Pantelis <tpanteli@brocade.com>
Thu, 19 Jan 2017 17:02:57 +0000 (12:02 -0500)
committerTom Pantelis <tpanteli@brocade.com>
Thu, 19 Jan 2017 17:02:57 +0000 (12:02 -0500)
When it transitions to waiting for available DOM RPCs, the
dependendency desc is now updated appropriately to reflect
the correct context.

Change-Id: Iaf7108dd664c9ed78444b0f3dfa4e14be431f35f
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>

index 6521807..030a684 100644 (file)
@@ -103,6 +103,7 @@ class RpcServiceMetadata extends AbstractDependentComponentFactoryMetadata {
     private void retrievedDOMRpcService(DOMRpcService domRpcService) {
         LOG.debug("{}: retrievedDOMRpcService", logName());
+        setDependendencyDesc("Available DOM RPC for binding RPC: " + rpcInterface);
         rpcListenerReg = domRpcService.registerRpcListener(new DOMRpcAvailabilityListener() {
             public void onRpcAvailable(Collection<DOMRpcIdentifier> rpcs) {

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.