Skip to content

RDKB-63135, RDKB-63664 : Handle Security Edge feature for business#12

Merged
apattu200 merged 10 commits intodevelopfrom
feature/onestack_20260202
Feb 26, 2026
Merged

RDKB-63135, RDKB-63664 : Handle Security Edge feature for business#12
apattu200 merged 10 commits intodevelopfrom
feature/onestack_20260202

Conversation

@SanthoshGujulvajagadeesh
Copy link
Contributor

Reason for change: Handle Security Edge feature for business
Test Procedure:

  • residential and business devicemode needs to be tested.

Functionality of the following DMLs need to be tested:

Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.EnableMultiProfileXDNS
Device.X_RDKCENTRAL-COM_XDNS.DNSSecEnable

Above mentioned DML parameters SHOULD work only if the devicemode is business.

Risks: Low
Priority: P1

Signed-off-by: Santhosh_GujulvaJagadeesh@comcast.com

@SanthoshGujulvajagadeesh SanthoshGujulvajagadeesh requested a review from a team as a code owner February 24, 2026 14:39
Copilot AI review requested due to automatic review settings February 24, 2026 14:39
@SanthoshGujulvajagadeesh SanthoshGujulvajagadeesh requested a review from a team as a code owner February 24, 2026 14:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds support for the Security Edge feature in business mode for ONESTACK products. The changes make DNSSecEnable and MultiProfileXDNS features conditional based on device mode - they work only in business mode when ONESTACK_PRODUCT_REQ is defined, while maintaining backward compatibility for CBR products.

Changes:

  • Added configure option and build system support for ONESTACK products with devicemode library dependency
  • Modified XDNS functionality to check device mode (business vs residential) when ONESTACK_PRODUCT_REQ is defined
  • Replaced ReplaceDnsmasqConfEntry with RemoveDnsmasqConfEntry in DNSMappingTable_DelEntry for cleaner deletion logic

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
configure.ac Added --enable-onestacksupport configuration option
source/dmlxdns/Makefile.am Added devicemode library dependency and include path for ONESTACK builds
source/dmlxdns/cosa_xdns_apis.h Added conditional include for devicemode.h and declared RemoveDnsmasqConfEntry function
source/dmlxdns/cosa_xdns_apis.c Implemented RemoveDnsmasqConfEntry function and added business mode checks for Multi Profile XDNS feature
source/dmlxdns/cosa_xdns_dml.c Added business mode conditional logic for DNSSecEnable parameter get/set operations and improved logging
source/dmlxdns/cosa_xdns_webconfig_api.c Added business mode checks for XDNS configuration and DNS IP handling

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 24, 2026 15:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@apattu200 apattu200 merged commit 9a25240 into develop Feb 26, 2026
7 of 10 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants