RDKB-60325 : notify_tunnel_status failure in hotspot#5
RDKB-60325 : notify_tunnel_status failure in hotspot#5supriya-shree1 wants to merge 21 commits intodevelopfrom
Conversation
5d75f45 to
688a372
Compare
|
Please write the L1 Unit Test cases for the New API and resolve the existing L1 test cases failures |
|
Bug Fix: TunnelStatus was not getting notified because the deprecated API CcspBaseIf_SendSignal_WithData was being used.
Dependent PR: Provisioning and Management #149 CC: @snayak002c |
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified Risks: Low Priority: P2 Signed-off-by:SupriyaShree_SS@comcast.com
e16e3ae to
d70236f
Compare
| } | ||
| }; | ||
|
|
||
| extern char TunnelStatus[128]; |
There was a problem hiding this comment.
TunnelStatus should be 8
Reason for change: notify_tunnel_status fails in hotspot Test Procedure: TunnelStatus should get notified successfully Risks: Low Priority: P2
| @@ -2046,17 +2056,27 @@ void hotspot_start() | |||
| hotspotfd_log(); | |||
|
|
|||
| #ifdef WAN_FAILOVER_SUPPORTED | |||
There was a problem hiding this comment.
Device.X_COMCAST-COM_GRE.Tunnel.1.TunnelStatus , since it is under WAN_FAILOVER_SUPPORTED, hotspot behavior during down/up will break in CBR which doesn't have this CFLAG
There was a problem hiding this comment.
This code change is expected to address the issue - 7176717
With code change ensured the Gerrit verification build passed for all devices - https://gerrit.teamccp.com/#/c/943504/
| #ifdef WAN_FAILOVER_SUPPORTED | ||
|
|
||
| rbusDataElement_t dataElements[1] = { | ||
| {"Device.X_COMCAST-COM_GRE.Tunnel.1.TunnelStatus", RBUS_ELEMENT_TYPE_EVENT | RBUS_ELEMENT_TYPE_PROPERTY, {TunnelStatus_GetStringHandler, TunnelStatus_SetStringHandler, NULL, NULL, NULL, NULL}} |
There was a problem hiding this comment.
Can you please confirm, rbus is not polling for ValueChange when someone subscribes for this parameter. since we have explicit publish this may not be needed.
In rbus code, i could see when element type is not property it won't go for autopublish, but want to double confirm
Otherwise we may need to have explicit subscribe handler with autoPublish setting to false
There was a problem hiding this comment.
This code change is expected to address the issue - 4684824
A separate subscribe handler with autoPublish setting to false is implemented here
Reason for change: notify_tunnel_status fails in hotspot
Test Procedure: TunnelStatus should get notified successfully
Risks: Low
Priority: P2