Skip to content

XF10-889 : change ETHWAN MAC to DEVICE MAC in network_setup GUI page#143

Open
michaelamal wants to merge 7 commits into
rdkcentral:developfrom
michaelamal:develop
Open

XF10-889 : change ETHWAN MAC to DEVICE MAC in network_setup GUI page#143
michaelamal wants to merge 7 commits into
rdkcentral:developfrom
michaelamal:develop

Conversation

@michaelamal

Copy link
Copy Markdown

Reason for change: change ETHWAN MAC to DEVICE MAC
Test Procedure: build procedure
Risks: Medium
Priority: P0

Signed-off-by: Michael_AmalAnand@comcast.com

Reason for change: change ETHWAN MAC to DEVICE MAC  
Test Procedure: build procedure
Risks: Medium
Priority: P0

Signed-off-by: Michael_AmalAnand@comcast.com
Reason for change: change ETHWAN MAC to DEVICE MAC  
Test Procedure: build procedure
Risks: Medium
Priority: P0

Signed-off-by: Michael_AmalAnand@comcast.com
Reason for change: change ETHWAN MAC to DEVICE MAC  
Test Procedure: build procedure
Risks: Medium
Priority: P0

Signed-off-by: Michael_AmalAnand@comcast.com
Copilot AI review requested due to automatic review settings July 9, 2026 19:26
@michaelamal
michaelamal requested review from a team as code owners July 9, 2026 19:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the Network Setup GUI to display a “Device MAC” label (instead of “ETHWAN MAC”) on PON-capable devices, by introducing a helper that checks a PON_SUPPORTED environment flag.

Changes:

  • In xb6 Network Setup page, conditionally show Device MAC vs ETHWAN MAC based on PON support.
  • Add a new utility helper to detect PON/EPON support via PON_SUPPORTED.

Reviewed changes

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

File Description
source/Styles/xb6/jst/network_setup.jst Switches the MAC label to “Device MAC” when PON is supported.
source/Styles/xb3/jst/includes/utility.jst Adds a new helper function to detect PON support using an environment variable.

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

Comment thread source/Styles/xb3/jst/includes/utility.jst
Comment thread source/Styles/xb6/jst/network_setup.jst
Reason for change: change ETHWAN MAC to DEVICE MAC
Test Procedure: build procedure
Risks: Medium
Priority: P0

Signed-off-by: Michael_AmalAnand@comcast.com
Copilot AI review requested due to automatic review settings July 14, 2026 14:55
Reason for change: change ETHWAN MAC to DEVICE MAC
Test Procedure: build procedure
Risks: Medium
Priority: P0

Signed-off-by: Michael_AmalAnand@comcast.com

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread source/Styles/xb6/jst/network_setup.jst Outdated
<span class="readonlyLabel">ETHWAN MAC:</span>
<span class="value"><?% echo( strtoupper(getStr("Device.DeviceInfo.X_COMCAST-COM_CM_MAC")));?></span>
<?% } else { ?>
<?% if (is_PON_Supported()) { ?>
Copilot AI review requested due to automatic review settings July 14, 2026 14:57
Reason for change: change ETHWAN MAC to DEVICE MAC
Test Procedure: build procedure
Risks: Medium
Priority: P0

Signed-off-by: Michael_AmalAnand@comcast.com

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread source/Styles/xb6/jst/network_setup.jst Outdated
Copilot AI review requested due to automatic review settings July 14, 2026 14:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread source/Styles/xb6/jst/network_setup.jst
Comment thread source/Styles/xb6/jst/network_setup.jst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants