Skip to content

sim-sled-agent: internally store a unified OmicronSledConfig (PR 1/4)#10880

Merged
jgallagher merged 1 commit into
mainfrom
john/sim-sa-cleanup-1
Jul 22, 2026
Merged

sim-sled-agent: internally store a unified OmicronSledConfig (PR 1/4)#10880
jgallagher merged 1 commit into
mainfrom
john/sim-sa-cleanup-1

Conversation

@jgallagher

Copy link
Copy Markdown
Contributor

This is several yaks deep from a problem I was poking at. This stack of PRs changes sim-sled-agent to operate on the unified OmicronSledConfig; it was still using the legacy triple of separate disks / datasets / zone configs internally.

I've separated this out into these changes:

  1. Update sim-sled-agent internals, but keep shim APIs that expose the old configs (this PR)
  2. Update DiskTest to operate on the full sled config
  3. Remove the datasets_ensure() shim left behind in step 1
  4. Remove the legacy datasets and disks configs entirely

I'd like to also remove the legacy OmicronZonesConfig, but (a) that requires reworking some of RSS, which still uses that internally and (b) it's not in my way in this particular stack of yaks.

This is several yaks deep from a problem I was poking at: this PR
addresses a few TODOs inside sim-sled-agent where it was still using /
exposing the legacy triple of separate disks / datasets / zones configs.
As of this PR it uses `OmicronSledConfig` internally, although for now
it still exposes separate disk/dataset configs (to avoid too much churn
in one change).
@jgallagher
jgallagher requested review from smklein and sunshowers July 21, 2026 17:54
@jgallagher
jgallagher merged commit 7cb0de1 into main Jul 22, 2026
19 checks passed
@jgallagher
jgallagher deleted the john/sim-sa-cleanup-1 branch July 22, 2026 14:09
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