Skip to content

Conversation

@watal
Copy link
Member

@watal watal commented Jul 24, 2025

Description

This PR adds support for uSID-based dynamic path computation using TED and SRv6 Service Segments.
Several packages have been refactored to improve naming consistency, error handling, and test coverage.
Specifically, kebab-case in YAML identifiers has been removed (e.g., grpc-client → grpcClient).
Additionally, the Go and protoc versions have been updated, and CI workflows have been improved.

Type of change

  • New features
  • Bug fixes
  • Refactoring
  • Documentation updates

How is This Tested?

Testing can be performed using TED scenario tests and dynamic path computation example environments with Containerlab.
Please refer to test/README and examples/containerlab/srv6_usid_dynamic-path for detailed instructions.

@Motok1 Motok1 force-pushed the develop branch 10 times, most recently from d420884 to 961c1c7 Compare September 1, 2025 05:54
@watal watal force-pushed the develop branch 3 times, most recently from 8c61705 to 008c478 Compare September 5, 2025 12:45
@Motok1 Motok1 force-pushed the develop branch 2 times, most recently from 870a252 to f8b109e Compare September 9, 2025 15:31
@watal watal force-pushed the develop branch 2 times, most recently from 4f455d0 to 0fa87f9 Compare September 10, 2025 07:33
@Motok1 Motok1 force-pushed the develop branch 3 times, most recently from 61ad5ba to 2d87ae1 Compare September 13, 2025 15:53
@watal watal requested a review from Copilot September 26, 2025 12:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This is a major refactoring PR that merges the develop branch into main, introducing SRv6 Service Segment support and comprehensive code modernization. The changes encompass API refactoring with improved naming conventions, enhanced type safety through custom types, dynamic path computation using TED (Traffic Engineering Database), and comprehensive test coverage improvements.

Key changes include:

  • Introduction of SRv6 Service Segments with uSID-based dynamic path computation
  • Comprehensive API refactoring with improved type safety and consistent naming patterns
  • Enhanced error handling and validation throughout the codebase

Reviewed Changes

Copilot reviewed 79 out of 84 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tools/grpc/go/* Updated gRPC tool clients to use new API package structure and improved naming conventions
test/scenario_test/* Added comprehensive scenario tests for both SR-MPLS and SRv6 uSID configurations
test/*.py New Python-based testing infrastructure with pytest and containerlab integration
pkg/server/*.go Major refactoring with improved error handling, TED integration, and enhanced session management
pkg/packet/pcep/*.go Complete PCEP packet library overhaul with type-safe enums and comprehensive test coverage
internal/pkg/version/version.go Updated constant naming to follow Go conventions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@watal watal force-pushed the develop branch 5 times, most recently from 8424177 to 2fda103 Compare September 29, 2025 04:40
@watal watal requested a review from Copilot September 29, 2025 04:40
watal and others added 24 commits November 12, 2025 15:49
fix(server): correct validation message for ASN to indicate zero value

Co-authored-by: Copilot <[email protected]>
refactor(pcep): extract expected length into variable

Co-authored-by: Copilot <[email protected]>
docs(test): replace fixed timestamp with generic placeholder in example output

Co-authored-by: Copilot <[email protected]>
Copy link

@tatfujiwara tatfujiwara left a comment

Choose a reason for hiding this comment

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

LGTM!!

Copy link

@Yuya9786 Yuya9786 left a comment

Choose a reason for hiding this comment

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

Reviewed the changes and tested following the README steps. Everything worked correctly

@watal watal merged commit fdc562d into main Nov 28, 2025
5 checks passed
@watal watal deleted the develop branch November 28, 2025 11:04
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.

6 participants