Skip to content

RDKB-63624 Change from business mode check to feature supported check for TSIP#246

Merged
snayak002c merged 1 commit intodevelopfrom
feature/onestack_tsipudt
Feb 26, 2026
Merged

RDKB-63624 Change from business mode check to feature supported check for TSIP#246
snayak002c merged 1 commit intodevelopfrom
feature/onestack_tsipudt

Conversation

@schira267
Copy link
Contributor

@schira267 schira267 commented Feb 26, 2026

US: RDKB-63097: Subtask: RDKB-63624 Handle static ip for Firewall, OneToOneNAT and Static Routing

Reason for change: Add changes to change the checks which enable for firewall true static ip from device mode to feature supported mode.

Test Procedure: Build with OneStack distro and test
Risks: None

Is this a Bug or a User Story (US)?: US: RDKB-63097 [XB10] Handle static IPv4 configuration for business Partner ID. Subtask: RDKB-63624
If it is a User Story:
• Gerrit topic or list of all dependent PRs across components (including meta-layer changes) been shared?:
rdkcentral/provisioning-and-management#224

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

Updates OneStack True Static IP (TSIP) enablement logic in the firewall component to rely on “feature supported in current mode” gating rather than device business-mode gating, aligning TSIP behavior with the feature-mode gate mechanism.

Changes:

  • Replaced is_devicemode_business() checks with isFeatureSupportedInCurrentMode(FEATURE_TRUE_STATIC_IP) in TSIP-related NAT/static-IP flows.
  • Switched OneStack-specific include from devicemode.h to rdkb_feature_mode_gate.h.
  • Updated OneStack link dependencies to use -lrdkb_feature_mode_gate instead of -ldevicemode (and removed -lonestack_syscfg/-lonestack_log from this Makefile).

Reviewed changes

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

File Description
source/firewall/firewall.c Uses feature-mode gate API to determine TSIP support instead of business-mode device check.
source/firewall/Makefile.am Links OneStack builds against librdkb_feature_mode_gate to support the new gating API.

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

snayak002c pushed a commit to rdkcentral/provisioning-and-management that referenced this pull request Feb 26, 2026
… for TSIP and OneToOneNAT (#224)

US: RDKB-63097: Subtask: RDKB-63624 Handle static ip for Firewall,
OneToOneNAT and Static Routing

Reason for change: Add changes to change the checks which enable for
firewall true static ip and OnetoOneNAT in dml layer from device mode to
feature supported mode.

Test Procedure: Build with OneStack distro and test
Risks: None

Is this a Bug or a User Story (US)?: US: RDKB-63097 [XB10] Handle static
IPv4 configuration for business Partner ID. Subtask: RDKB-63624
If it is a User Story:
• Gerrit topic or list of all dependent PRs across components (including
meta-layer changes) been shared?:
rdkcentral/utopia#246
@snayak002c snayak002c merged commit 6ac17e8 into develop Feb 26, 2026
14 of 15 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