Skip to content

Add Nokia SRL platform driver (#245)#246

Open
jtdub wants to merge 2 commits intomasterfrom
add-nokia-srl-platform-driver
Open

Add Nokia SRL platform driver (#245)#246
jtdub wants to merge 2 commits intomasterfrom
add-nokia-srl-platform-driver

Conversation

@jtdub
Copy link
Copy Markdown
Contributor

@jtdub jtdub commented Apr 10, 2026

Summary

  • Add Platform.NOKIA_SRL enum value and HConfigDriverNokiaSRL driver for Nokia SR Linux devices
  • Driver uses set/delete flat command syntax with hierarchical config preprocessor (same pattern as VyOS)
  • 15 tests covering swap negation, prefix properties, config preprocessing, and real-world scenarios (interface CRUD, network-instance, system config, routing-policy, IPv6)
  • Full lint + test suite passes with 95%+ coverage

Closes #245

Test plan

  • All 15 Nokia SRL tests pass (poetry run pytest tests/test_driver_nokia_srl.py -v)
  • Full lint + test suite passes (poetry run ./scripts/build.py lint-and-test)
  • 95% test coverage maintained

🤖 Generated with Claude Code

Add a new platform driver for Nokia SR Linux devices that uses set/delete
flat command syntax with a hierarchical config preprocessor, following the
same pattern as the VyOS driver.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jtdub jtdub requested a review from aedwardstx as a code owner April 10, 2026 03:28
Update supported platforms lists, driver documentation, architecture
tables, and glossary to include the new Nokia SRL platform driver.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

Add Nokia SRL (Service Router Linux) Platform Driver

1 participant