Skip to content

Add 61 missing BIOS token parameters#327

Merged
dsoper2 merged 3 commits into
CiscoDevNet:mainfrom
stevefulme1:fix/bios-missing-keys
May 29, 2026
Merged

Add 61 missing BIOS token parameters#327
dsoper2 merged 3 commits into
CiscoDevNet:mainfrom
stevefulme1:fix/bios-missing-keys

Conversation

@stevefulme1
Copy link
Copy Markdown
Contributor

Summary

  • Adds 61 missing BIOS parameters to intersight_bios_policy module as reported in BIOS module missing many keys from Intersight #324
  • AMD EPYC CBS tokens (23), Front NVMe slots 25-32 (16), GPU Direct (4), Intel TDX (2), Memory/IO/PCIe (10), Security/ACPI (3), Serial/PCR (2), speculative_lock_enable (1)
  • All entries added to DOCUMENTATION, argument_spec, and bios_property_map

Test plan

  • Python syntax validation passes
  • ansible-test sanity --test validate-modules passes
  • ansible-lint passes (production profile)
  • Integration test with Intersight sandbox

Closes #324

🤖 Generated with Claude Code

Copy link
Copy Markdown
Collaborator

@ronger4 ronger4 left a comment

Choose a reason for hiding this comment

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

Please add tests with the new flags in the integration test file so we can verify those changes work properly through the integration test

@ronger4
Copy link
Copy Markdown
Collaborator

ronger4 commented May 11, 2026

Sanity fails on
ERROR: plugins/modules/intersight_bios_policy.py:728:161: E501: line too long (209 > 160 characters)
ERROR: plugins/modules/intersight_bios_policy.py:2476:161: E501: line too long (198 > 160 characters)

@ronger4
Copy link
Copy Markdown
Collaborator

ronger4 commented May 12, 2026

Merge conflict needs to be figured out here before I proceed to accepting and merging

@ronger4
Copy link
Copy Markdown
Collaborator

ronger4 commented May 17, 2026

The other PRs are merged. This one is left. Conflicts needs to be resolved and then we can merge

stevefulme1 and others added 2 commits May 29, 2026 11:07
Adds AMD EPYC CBS tokens, Front NVMe slots 25-32, GPU Direct,
Intel TDX, Memory/IO/PCIe, Security/ACPI, Serial/PCR, and
speculative_lock_enable parameters.

Closes CiscoDevNet#324

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add test_bios_policy_new_tokens with 30+ of the 61 new BIOS tokens
  covering Intel VT-d, GPU Direct, PCIe, memory/power, AMD CBS, POST,
  NVMe slot, and misc categories
- Tests creation, idempotency, info verification, and update
- Verify key API response fields (IntelVtForDirectedIo, ResizeBarSupport)
- Add to cleanup lists and update policy count assertions
@stevefulme1 stevefulme1 force-pushed the fix/bios-missing-keys branch from b3115b7 to 98e4543 Compare May 29, 2026 15:08
…tern

Upstream removed 'default: platform-default' from both DOCUMENTATION and
argument_spec for BIOS parameters. Aligns new params with this convention
to fix ansible-test sanity doc-default-does-not-match-spec errors.
@dsoper2 dsoper2 merged commit dc0bc62 into CiscoDevNet:main May 29, 2026
20 checks passed
dsoper2 pushed a commit that referenced this pull request Jun 2, 2026
Add 9 BIOS parameters to DOCUMENTATION, argument_spec, and
bios_property_map that were used in integration tests but never
added to the module (cbs_cmn_cpu_avx512, cbs_cmn_mem_speed_ddr47xx2,
gpu_direct_cpu1/2, sha384pcr_bank, slot_front_nvme25/26 link_speed
and option_rom).

Also add bios_property_map entries for 32 params from PR #327 that
were added to DOCUMENTATION and argument_spec but omitted from the
map, preventing them from being sent to the Intersight API.
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.

BIOS module missing many keys from Intersight

3 participants