Skip to content

bmc_virtual_media: dissolve srv4 nbd argv command string rendering into typed ArgvCommands - #12728

Closed
gunbai-bot[bot] wants to merge 1 commit into
mainfrom
session/cool-wren-572
Closed

gunbai-bot[bot] wants to merge 1 commit into
mainfrom
session/cool-wren-572

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

What this change does

Dissolves shell string rendering of NBD client and server commands in dag/gunbc/bmc/bmc_virtual_media.dag adjacent to PR #12579.

  1. Replaces string renderers with typed ArgvCommand surfaces:

    • srv4_nbd_server_command_text() -> srv4_nbd_server_command() -> ArgvCommand
    • srv4_nbd_client_attach_command_text() -> srv4_nbd_client_attach_command() -> ArgvCommand
    • Adds srv4_nbd_client_disconnect_command() -> ArgvCommand for planned lifecycle teardown.
    • Deletes the shell_command_render import and calls from gunbc.bmc_virtual_media.
  2. Migrates BMC Virtual Media Witness assertions:

    • In dag/test/claim/bmc/bmc_virtual_media_witness_test.dag, replaces string contains / shell rendering matching with assertions on typed argv components: program identity (nbd_client_program(), nbd_server_program()), word counts, arguments length, flags (-N, -d, -C), and parameters.

@briansrls briansrls closed this Sep 30, 2026
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