[HLD] SSD Wipe#2449
Open
ShauliTaragin wants to merge 2 commits into
Open
Conversation
Adds the high-level design document for the graceful SSD wipe feature: `config sed wipe-ssd` CLI, `SedMgmtBase.wipe_ssd()` + abstract `get_psid()`, and the `ssd_erase.sh` orchestrator that performs the ramdisk pivot, crypto erase (SED PSID revert), and NVMe block erase. Builds on the SED framework from sonic-net#2171 (change/reset SED password).
- §2 Scope: name the platform-specific API as get_psid() API for parity with the common API row. - §4.1 Warning: state that SED locking is disabled after wipe (Locking SP returned to unowned) in addition to the password reset. - §8 CLI: drop 'and reboot the switch' from the click.confirm prompt and from the interactive example - the operator does the reboot manually after the wipe completes. - §7.5: describe that check_sed_crypto_erase_prereqs delegates to the existing check_sed_ready for TPM/SED/locking checks instead of duplicating those checks.
Collaborator
|
/azp run |
|
No pipelines are associated with this pull request. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the High-Level Design document for the SSD Wipe feature (
config sed wipe-ssd), which securely erases the switch boot SSD in three sequential stages:tmpfsso the physical SSD can be unmounted while the OS keeps running.sedutil-cli(fast, key-based wipe).nvme sanitize --sanact=0x02(slower, NAND-level overwrite).The feature extends the SED framework adding:
SedMgmtBase.wipe_ssd()+ abstractget_psid()ssd_erase.shorchestrator (ramdisk pivot + crypto erase + block erase)check_sed_crypto_erase_prereqshelper in the sharedsed_pw_utils.shrsyncadded to the image (needed by the ramdisk pivot)