Skip to content

XER10-2713: [XER10]QOS rules are not cleared after Factory Reset#268

Open
Jayashree-malaivasan wants to merge 4 commits intodevelopfrom
feature/XER10-2713
Open

XER10-2713: [XER10]QOS rules are not cleared after Factory Reset#268
Jayashree-malaivasan wants to merge 4 commits intodevelopfrom
feature/XER10-2713

Conversation

@Jayashree-malaivasan
Copy link

@Jayashree-malaivasan Jayashree-malaivasan commented Mar 18, 2026

Reason for change: Remove prioratization files on factory reset
Test Procedure: Check the Qos rules are removed on FR
Priority: P1

Signed-off-by: Jayashree jayashree_M@comcast.com

Reason for change: Remove prioratization files on factory reset
Test Procedure: Check the Qos rules are removed on FR
Priority: P1

Signed-off-by: Jayashree <jayashree_M@comcast.com>
Copilot AI review requested due to automatic review settings March 18, 2026 09:56
@Jayashree-malaivasan Jayashree-malaivasan requested review from a team as code owners March 18, 2026 09:56
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

Removes persisted QoS prioritization artifacts during factory reset so that QoS rules don’t survive a Factory Reset, aligning runtime behavior with expected “clean slate” resets.

Changes:

  • On factory reset, delete /nvram/pcs-now-priomac.dat and its .md5 file.

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

You can also share your feedback on Copilot code review. Take the survey.

jjoy202
jjoy202 previously approved these changes Mar 18, 2026
Reason for change: Remove prioratization files on factory reset
Test Procedure: Check the Qos rules are removed on FR
Priority: P1

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 19, 2026 05:52
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 PR updates the factory reset cleanup logic to ensure QoS prioritization artifacts are removed, addressing cases where QoS rules persist after a factory reset.

Changes:

  • Remove /nvram/pcs-now-priomac.dat and its .md5 during factory reset in the main utopia_init.sh init path.

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

You can also share your feedback on Copilot code review. Take the survey.

Reason for change: Remove prioratization files on factory reset
Test Procedure: Check the Qos rules are removed on FR
Priority: P1

Signed-off-by: Jayashree <jayashree_M@comcast.com>

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 19, 2026 05:57
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 PR addresses XER10-2713 by ensuring prioritized QoS schedule artifacts are cleared during factory reset, preventing QoS rules from persisting after FR.

Changes:

  • Delete /nvram/pcs-now-priomac.dat on factory reset.
  • Delete /nvram/pcs-now-priomac.dat.md5 on factory reset.

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

You can also share your feedback on Copilot code review. Take the survey.

Copy link
Contributor

@apattu200 apattu200 left a comment

Choose a reason for hiding this comment

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

Add check to make sure file exists before removal

Reason for change: Remove prioratization files on factory reset
Test Procedure: Check the Qos rules are removed on FR
Priority: P1
Signed-off-by: Jayashree jayashree_M@comcast.com
Copilot AI review requested due to automatic review settings March 19, 2026 14:37
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 PR addresses XER10-2713 by ensuring prioritized QoS schedule artifacts are cleared during factory reset, preventing stale QoS rules from persisting after FR.

Changes:

  • Delete /nvram/pcs-now-priomac.dat and /nvram/pcs-now-priomac.dat.md5 during the factory reset flow in the main utopia_init.sh.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +393 to +397
# Remove on factory reset, prioritized QoS schedule pcs-now-priomac.dat and pcs-now-priomac.dat.md5
rm -f /nvram/pcs-now-priomac.dat
rm -f /nvram/pcs-now-priomac.dat.md5
fi

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.

5 participants