feat(storcli2): physical drive blinker#72
Open
g-carre wants to merge 1 commit into
Open
Conversation
Implement ports.Blinker on the storcli2/perccli2 adapter: - StartBlink / StopBlink issue "/cx/ex/sx start locate" / "stop locate" (same grammar as storcli), choosing the enclosure or no-enclosure selector form from the drive's parsed slot, and surface the in-JSON failure payload via storcli2.Decode. A single implementation serves both binaries; the runner is injected. Issue: ARTESCA-17650
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
Implements
ports.Blinkeron the storcli2/perccli2 adapter (ARTESCA-17650). Stacked on #70.StartBlink/StopBlink— issue/cx/ex/sx start locate/stop locate(same grammar as storcli), pick the enclosure or no-enclosure selector form from the drive's parsed slot, and surface the in-JSON failure payload viastorcli2.Decode.A single implementation serves both binaries; the runner is injected.
Testing
go build,go vet,gofmt, and the package test suite pass. Tests cover start/stop locate against theblink/storcli2/{start,stop}.jsonfixtures (enclosure and no-enclosure selectors), the runner-error path, and an invalid-slot rejection.Issue: ARTESCA-17650
🤖 Generated with Claude Code