[BMC] Add bmc-dual-mgmt testbed entry to testbed.yaml#23261
Merged
yxieca merged 1 commit intosonic-net:masterfrom Mar 27, 2026
Merged
[BMC] Add bmc-dual-mgmt testbed entry to testbed.yaml#23261yxieca merged 1 commit intosonic-net:masterfrom
yxieca merged 1 commit intosonic-net:masterfrom
Conversation
Add example bmc-dual-mgmt-01 testbed entry with the new bmc_host field that maps the BMC DUT (switch01-bmc) to its associated host CPU (switch01). This field is read by get_bmc_host() to create a SonicHost instance for cross-device verification in BMC tests. Co-authored-by: Copilot <[email protected]> Signed-off-by: Jing Kan <[email protected]>
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
Author
|
/azpw run |
Collaborator
|
Retrying failed(or canceled) jobs... |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
yxieca
approved these changes
Mar 26, 2026
Collaborator
yxieca
left a comment
There was a problem hiding this comment.
AI agent on behalf of Ying. Reviewed; no issues found.
12 tasks
selldinesh
pushed a commit
to selldinesh/sonic-mgmt
that referenced
this pull request
Apr 1, 2026
Add example bmc-dual-mgmt-01 testbed entry with the new bmc_host field that maps the BMC DUT (switch01-bmc) to its associated host CPU (switch01). This field is read by get_bmc_host() to create a SonicHost instance for cross-device verification in BMC tests. Signed-off-by: Jing Kan <[email protected]> Co-authored-by: Copilot <[email protected]> Signed-off-by: selldinesh <[email protected]>
albertovillarreal-keys
pushed a commit
to albertovillarreal-keys/sonic-mgmt
that referenced
this pull request
Apr 3, 2026
Add example bmc-dual-mgmt-01 testbed entry with the new bmc_host field that maps the BMC DUT (switch01-bmc) to its associated host CPU (switch01). This field is read by get_bmc_host() to create a SonicHost instance for cross-device verification in BMC tests. Signed-off-by: Jing Kan <[email protected]> Co-authored-by: Copilot <[email protected]>
opcoder0
pushed a commit
to opcoder0/sonic-mgmt
that referenced
this pull request
Apr 13, 2026
Add example bmc-dual-mgmt-01 testbed entry with the new bmc_host field that maps the BMC DUT (switch01-bmc) to its associated host CPU (switch01). This field is read by get_bmc_host() to create a SonicHost instance for cross-device verification in BMC tests. Signed-off-by: Jing Kan <[email protected]> Co-authored-by: Copilot <[email protected]> Signed-off-by: opcoder0 <[email protected]>
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.
Description of PR
Summary:
Add example
bmc-dual-mgmt-01testbed entry totestbed.yamlwith the newbmc_hostfield for BMC-to-host CPU mapping.This is part of the SONiC BMC test framework as described in the BMC High-Level Test Plan, Section 3.1.
Type of change
Back port request
Approach
What is the motivation for this PR?
BMC testbeds need a testbed.yaml entry that defines the BMC as DUT and maps it to the associated host (CPU) device via the
bmc_hostfield. This field is consumed byget_bmc_host()to create a SonicHost instance for the host side during cross-device BMC tests (e.g., power cycle verification).How did you do it?
Added a
bmc-dual-mgmt-01entry toansible/testbed.yamlwith:topo: bmc-dual-mgmt— references the BMC dual-mgmt topology filedut: [switch01-bmc]— the BMC device as DUTbmc_host: switch01— new field mapping BMC to its host CPUvm_base:empty — no VMs needed for BMC topologyauto_recover: 'False'— BMC recovery requires special handlingHow did you verify/test it?
yaml.safe_load()— all fields parse correctlybmc_hostfield is preserved in the parsed dict (it flows through totbinfoautomatically since_read_regular_testbed_topo_from_yamlpreserves all fields)Any platform specific information?
Applies to BMC testbeds using the bmc-dual-mgmt topology.
Supported testbed topology if it is a new test case?
N/A — this PR adds testbed configuration only.
Documentation