XB10-2731: Disable setting of 'Auto' WAN mode in XB10. - #73
Conversation
Reason for change: Disable setting of 'Auto' WAN mode in XB10. Test Procedure: Build and Verify Risks: medium Priority: P1 Signed-off-by: Jayant_Rai2@comcast.com
|
I have read the CLA Document and I hereby sign the CLA Rai seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. |
There was a problem hiding this comment.
Pull request overview
This PR updates the Ethernet WAN TR-181 setter logic to prevent selecting the "Auto" operational mode when building for the XB10 product, aligning platform capabilities with the intended configuration behavior.
Changes:
- Extends the existing platform compile-time guard to also block
"Auto"mode on_XB10_PRODUCT_REQ_. - Updates the warning log text emitted when
"Auto"is rejected.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| wan_mode = WAN_MODE_AUTO; | ||
| #else | ||
| CcspTraceWarning(("Auto operationalMode is not supported in XER5/XER10 platform\n")); | ||
| CcspTraceWarning(("Auto operationalMode is not supported in XER5/XER10/XB10 platform\n")); |
Reason for change: Disable setting of 'Auto' WAN mode in XB10.
Test Procedure: Build and Verify
Risks: medium
Priority: P1
Signed-off-by: Jayant_Rai2@comcast.com