-
Notifications
You must be signed in to change notification settings - Fork 6
RDKB-60325 : notify_tunnel_status failure in hotspot #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TunnelStatus should be 8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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