docs: clarify retained address lifetime - #4842
Conversation
A Retained address becomes Static for the lifetime of its machine-interface record. Calling it non-expiring made it sound like we saved the address for reuse after that interface was deleted and re-ingested, which we do not. So, update the CLI help, model Rustdoc, and protobuf comments to name the actual lifetime. The CLI arguments, protobuf wire format, and allocation behavior stay the same. This supports NVIDIA#4836 Signed-off-by: Chet Nichols III <chetn@nvidia.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
Summary by CodeRabbit
WalkthroughThe pull request updates retained BMC IP allocation documentation in the admin CLI, API model, and protobuf definitions. The text now limits address retention to the lifetime of the machine-interface record. ChangesRetained BMC IP documentation
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related issues
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai full_review, thanks! |
|
✅ Action performedFull review finished. |
🔐 TruffleHog Secret Scan✅ No secrets or credentials found! Your code has been scanned for 700+ types of secrets and credentials. All clear! 🎉 🕐 Last updated: 2026-08-11 21:28:18 UTC | Commit: f491260 |
A Retained BMC address becomes Static for the lifetime of its machine-interface record. Calling it non-expiring made it sound like the address was saved for reuse after that interface was deleted and re-ingested, which it is not.
So, this updates the
nico-admin-cli expected-machine {add,patch}help, the model Rustdoc, and the protobuf comments to name the actual lifetime. The checked-in REST protobuf mirrors are regenerated from the updated source. CLI arguments, protobuf wire values, and allocation behavior all stay the same.Related issues
Type of Change
Breaking Changes
Testing
Unit tests added/updated
Integration tests added/updated
Manual testing performed
No testing required (docs, internal refactor, etc.)
cargo test -p nico-admin-cli(427 passed)Rendered and inspected
nico-admin-cli expected-machine add --helpRendered and inspected
nico-admin-cli expected-machine patch --helpRegenerated the REST Core protobuf snapshots and Go bindings, then verified the worktree stayed clean
cargo make format-nightlycargo make clippyCached Carbide-lints workflow
Additional Notes
The generated
nico-admin-clireference underdocs/stays in the separate docs-only #4151 / #4418 so the code and documentation review paths remain independent.