Skip to content

Flush caches of VLAN object from new dp not old dp - #4856

Merged
gizmoguy merged 1 commit into
faucetsdn:mainfrom
gizmoguy:fix-del-vlan-cache
Oct 2, 2026
Merged

gizmoguy merged 1 commit into
faucetsdn:mainfrom
gizmoguy:fix-del-vlan-cache

Conversation

@gizmoguy

@gizmoguy gizmoguy commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Fixes bug introduced in #4850, when deleting a VLAN we want to remove the VLAN from the old DP configuration so that all the flowmods that were created by the old VLAN instance are deleted, however for VLANs that continue to exist in the new DP configuration (those whose configuration has changed) we want to reset the caches of the cloned and updated VLAN object that exists in new_dp.

@codecov

codecov Bot commented Oct 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.74%. Comparing base (67e888b) to head (2275552).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4856   +/-   ##
=======================================
  Coverage   91.74%   91.74%           
=======================================
  Files          46       46           
  Lines        9082     9084    +2     
=======================================
+ Hits         8332     8334    +2     
  Misses        750      750           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gizmoguy
gizmoguy merged commit 6f70223 into faucetsdn:main Oct 2, 2026
21 checks passed
@gizmoguy
gizmoguy deleted the fix-del-vlan-cache branch October 2, 2026 01:22
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