ironcore-dev / ironcore-dev/sonic-operator
Remove the legacy template-based ZTP mode
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 4
- Forks
- 155
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 8
Description
Summary
Deprecate and remove the legacy --ztp-mode=templates mode, including the leaf and spine ZTP templates.
Also remove the operator-level ConfigMap configuration used to provide switch metadata to these templates.
Motivation
The existing templates are highly opinionated and configure topology-specific switch settings directly.
The recent sonic-operator direction is to describe the desired bootstrap configuration through the Switch spec and let it render the corresponding ZTP script. Removing the legacy mode avoids maintaining two different configuration models and keeps switch bootstrap behavior declarative.
This change should not remove the separate --ztp-mode=configmap option for serving user-provided ZTP scripts.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the --ztp-mode handling, the leaf and spine ZTP templates, and the operator-level ConfigMap configuration that supplies switch metadata. Trace how these paths are exposed and tested, then verify the templates mode and its metadata configuration are removed while --ztp-mode=configmap still serves user-provided scripts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- infrastructure
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100