Skip to content

[fix] prove BFRT initialization in model CI - #15

Merged
ZER0-Nu1L merged 5 commits into
mainfrom
ci/tofino-model
Aug 27, 2026
Merged

[fix] prove BFRT initialization in model CI#15
ZER0-Nu1L merged 5 commits into
mainfrom
ci/tofino-model

Conversation

@ZER0-Nu1L

Copy link
Copy Markdown
Owner

What changed

  • keep bfshell stdin open until the embedded BFRT command can run
  • bootstrap the site-neutral profile inside the bf_switchd Python namespace, preserving the injected bfrt object
  • write and verify a post-complete_operations() marker plus expected initialization output

Validation

  • PYTHONPATH=... python3 -m unittest discover -s targets/tofino/runtime/tests -v
  • GitHub Actions run 33089138514: compile and privileged Tofino model jobs passed
  • model artifact contains bfrt-initialize.marker and profile/mapping output

The workflow still validates only the site-neutral Tofino 1 model, not physical hardware or site mappings.

@ZER0-Nu1L
ZER0-Nu1L merged commit ea0ea77 into main Aug 27, 2026
8 checks passed
@ZER0-Nu1L
ZER0-Nu1L deleted the ci/tofino-model branch August 27, 2026 15:47
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