Skip to content

make del_qdisc clear the pod's qdisc on kubendt meshnet - #249

Merged
emigcm98 merged 1 commit into
mainfrom
fix/del-qdisc-clears-the-pod
Dec 2, 2026
Merged

emigcm98 merged 1 commit into
mainfrom
fix/del-qdisc-clears-the-pod

Conversation

@emigcm98

@emigcm98 emigcm98 commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Description

On KubeNDT Meshnet the backend decided where a qdisc action runs from the pod's history alone, so it answered success and did nothing whenever the history did not hold the interface's shaping: a del_qdisc left an HTB added with persist_history: false or a qdisc set by hand, and a netem added with persist_history: false was applied nowhere.

Now a del_qdisc on a declared link end always clears the pod's qdisc as well as the declaration, and a qdisc action that is not persisted runs in the pod, since the declaration follows the history. When such an action acts on an end that keeps a declared shaping, the configure warns shaping_still_declared. A del_qdisc on a declared end therefore needs the pod running, and an add_qdisc still does not touch the pod.

Related issues

Closes #

Checklist

  • Scope limited to one logical change
  • API/behavior changes documented in this description
  • Impacted docs updated (README.md, doc/*, or example READMEs)
  • Swagger regenerated if routes/contracts changed
  • Screenshots included for UI changes (if relevant)
  • Lint/format pass locally (golangci-lint run in backend/, npm run format:check in frontend/)

CLA

By submitting this pull request I confirm:

I have read and agree to the KubeNDT CLA (CLA.md).

@emigcm98
emigcm98 merged commit 3850884 into main Dec 2, 2026
2 checks passed
@emigcm98
emigcm98 deleted the fix/del-qdisc-clears-the-pod branch December 2, 2026 20:10
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.

1 participant