Skip to content

docs(site-explorer): document the mlx-devices NIC-firmware report#3650

Open
chet wants to merge 1 commit into
NVIDIA:mainfrom
chet:gh-issue-3643
Open

docs(site-explorer): document the mlx-devices NIC-firmware report#3650
chet wants to merge 1 commit into
NVIDIA:mainfrom
chet:gh-issue-3643

Conversation

@chet

@chet chet commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

site-explorer mlx-devices is the only way to see NIC firmware for a BlueField in NIC mode (its Arm OS is down, so dpu versions never sees it) -- and it had zero docs presence. This adds an auditing subsection to the DPU Lifecycle Management manual beside the existing dpu versions snippet, plus the generated CLI reference page and parent-page subcommand row (regen scoped to these two pages; the corpus has ~595 other stale pages and no CI gate -- follow-up material).

This supports #3643

A BlueField flipped to NIC mode runs with its Arm OS down, so `dpu versions` never sees its NIC firmware -- `site-explorer mlx-devices` exists exactly for that gap, reporting part number, serial, firmware, and mode from the host BMC's explored Redfish PCIe inventory. It shipped without a single mention in docs/, so this adds the operator-facing story and the generated CLI reference.

The DPU Lifecycle Management manual's Firmware Upgrades section gains an auditing subsection beside the existing `dpu versions` snippet, covering the NIC-mode motivation and the `--nic-mode-only`/`--expected-version` filters. The generated corpus gains `site-explorer-mlx-devices.md` plus the parent page's subcommand row via `cargo make gen-cli-docs`, scoped to just these two pages -- a full regen dirties ~595 other stale pages (the corpus has no CI gate), which is follow-up material rather than this PR.

This supports NVIDIA#3643

Signed-off-by: Chet Nichols III <chetn@nvidia.com>
@chet
chet requested a review from polarweasel as a code owner July 17, 2026 04:49
@chet

chet commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

@coderabbitai full_review, thanks!

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

@chet Understood — I’ll perform a complete re-review of #3650, with attention to the documentation scope and generated CLI-reference consistency.

🐇🔍

✅ Action performed

Full review finished.

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

Adds documentation for site-explorer mlx-devices, including its options, examples, navigation entry, and guidance for auditing NIC-mode BlueField firmware across a site.

Changes

mlx-devices documentation

Layer / File(s) Summary
CLI command reference
docs/manuals/nico-admin-cli/commands/site-explorer/site-explorer-mlx-devices.md
Documents the command synopsis, options, firmware filtering, host scoping, examples, and related references.
CLI navigation and lifecycle audit guidance
docs/manuals/nico-admin-cli/commands/site-explorer/site-explorer.md, docs/dpu-management/dpu-lifecycle-management.md
Adds the command to the site-explorer index and explains NIC-mode firmware auditing, filters, host limits, and output fields.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related issues

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly summarizes the main change: adding documentation for the mlx-devices NIC-firmware report.
Description check ✅ Passed The description is directly related to the documentation updates and scope of the pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

🔍 Container Scan Summary

No Grype artifacts were found to aggregate.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@docs/manuals/nico-admin-cli/commands/site-explorer/site-explorer-mlx-devices.md`:
- Around line 12-14: Update the mlx-devices command synopsis to show the
required arguments for --host and --expected-version, matching the OPTIONS
section by rendering them with HOST and EXPECTED_VERSION placeholders. Preserve
the existing optional flags and ordering.
- Around line 36-38: Correct the generated description text in the site explorer
MLX devices documentation by changing “This used by measured boot” to “This is
used by measured boot.”.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: c7b90b93-d17a-4744-bb4e-560463933207

📥 Commits

Reviewing files that changed from the base of the PR and between 1546d5a and 3e6edc1.

📒 Files selected for processing (3)
  • docs/dpu-management/dpu-lifecycle-management.md
  • docs/manuals/nico-admin-cli/commands/site-explorer/site-explorer-mlx-devices.md
  • docs/manuals/nico-admin-cli/commands/site-explorer/site-explorer.md

Comment on lines +12 to +14
**nico-admin-cli site-explorer mlx-devices** \[**--host**\]
\[**--nic-mode-only**\] \[**--expected-version**\] \[**--extended**\]
\[**--sort-by**\] \[**-h**\|**--help**\]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Show required option arguments in the synopsis.

--host and --expected-version are rendered as valueless flags here, although the OPTIONS section requires <HOST> and <EXPECTED_VERSION>. Update the synopsis so generated usage is copy-paste accurate.

Proposed fix
-**nico-admin-cli site-explorer mlx-devices** \[**--host**\]
-\[**--nic-mode-only**\] \[**--expected-version**\] \[**--extended**\]
+**nico-admin-cli site-explorer mlx-devices** \[**--host** *\<HOST\>*\]
+\[**--nic-mode-only**\] \[**--expected-version** *\<EXPECTED_VERSION\>*\] \[**--extended**\]
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
**nico-admin-cli site-explorer mlx-devices** \[**--host**\]
\[**--nic-mode-only**\] \[**--expected-version**\] \[**--extended**\]
\[**--sort-by**\] \[**-h**\|**--help**\]
**nico-admin-cli site-explorer mlx-devices** \[**--host** *\<HOST\>*\]
\[**--nic-mode-only**\] \[**--expected-version** *\<EXPECTED_VERSION\>*\] \[**--extended**\]
\[**--sort-by**\] \[**-h**\|**--help**\]
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@docs/manuals/nico-admin-cli/commands/site-explorer/site-explorer-mlx-devices.md`
around lines 12 - 14, Update the mlx-devices command synopsis to show the
required arguments for --host and --expected-version, matching the OPTIONS
section by rendering them with HOST and EXPECTED_VERSION placeholders. Preserve
the existing optional flags and ordering.

Source: Path instructions

Comment on lines +36 to +38
This used by measured boot, where basic output contains just what you
probably care about, and "extended" output also dumps out all the
internal UUIDs that are used to associate instances.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Fix the grammar in the generated description.

This used by measured boot should be This is used by measured boot.

Proposed fix
-This used by measured boot, where basic output contains just what you
+This is used by measured boot, where basic output contains just what you
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
This used by measured boot, where basic output contains just what you
probably care about, and "extended" output also dumps out all the
internal UUIDs that are used to associate instances.
This is used by measured boot, where basic output contains just what you
probably care about, and "extended" output also dumps out all the
internal UUIDs that are used to associate instances.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@docs/manuals/nico-admin-cli/commands/site-explorer/site-explorer-mlx-devices.md`
around lines 36 - 38, Correct the generated description text in the site
explorer MLX devices documentation by changing “This used by measured boot” to
“This is used by measured boot.”.

Source: Path instructions

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.

1 participant