Skip to content

[action] [PR:15748] [testbed] announce routes with routes generation switch, aggregate routes and variable ipv6 address pattern#28

Merged
r12f merged 1 commit intoAzure:202412from
mssonicbld:cherry/msft-202412/15748
Jan 31, 2025
Merged

[action] [PR:15748] [testbed] announce routes with routes generation switch, aggregate routes and variable ipv6 address pattern#28
r12f merged 1 commit intoAzure:202412from
mssonicbld:cherry/msft-202412/15748

Conversation

@mssonicbld
Copy link
Collaborator

Description of PR

Summary:
In this PR, we added new features to make announce routes script more powerful.

  1. Variable ipv6 address pattern, previously, we are hardcoding ipv6 prefix with pattern 20%02X:%02X%02X:0:%02X::/64, now, it can be set in script or topology file.
  2. Selectable exabgp setting up and routes generation. now we can add flag in topology file to enable ipv4 or ipv6, or disable ipv4 or ipv6.
  3. Aggregated routes on peers. At the VM definition in topology file, we now support define aggregate route on the VM.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

To make route announcement more powerful.

How did you do it?

Add routes generation switch, aggregate routes and variable ipv6 address pattern

How did you verify/test it?

Verified on 7215 testbed with t0 and t1 topologies.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

…utes and variable ipv6 address pattern

<!--
Please make sure you've read and understood our contributing guidelines;
https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md

Please provide following information to help code review process a bit easier:
-->
### Description of PR
<!--
- Please include a summary of the change and which issue is fixed.
- Please also include relevant motivation and context. Where should reviewer start? background context?
- List any dependencies that are required for this change.
-->

Summary:
In this PR, we added new features to make announce routes script more powerful.
1. Variable ipv6 address pattern, previously, we are hardcoding ipv6 prefix with pattern 20%02X:%02X%02X:0:%02X::/64, now, it can be set in script or topology file.
2. Selectable exabgp setting up and routes generation. now we can add flag in topology file to enable ipv4 or ipv6, or disable ipv4 or ipv6.
3. Aggregated routes on peers. At the VM definition in topology file, we now support define aggregate route on the VM.

### Type of change

<!--
- Fill x for your type of change.
- e.g.
- [x] Bug fix
-->

- [ ] Bug fix
- [x] Testbed and Framework(new/improvement)
- [ ] Test case(new/improvement)

### Back port request
- [ ] 202012
- [ ] 202205
- [ ] 202305
- [ ] 202311
- [ ] 202405

### Approach
#### What is the motivation for this PR?
To make route announcement more powerful.
#### How did you do it?
Add routes generation switch, aggregate routes and variable ipv6 address pattern
#### How did you verify/test it?
Verified on 7215 testbed with t0 and t1 topologies.
#### Any platform specific information?

#### Supported testbed topology if it's a new test case?

### Documentation
<!--
(If it's a new feature, new test case)
Did you update documentation/Wiki relevant to your implementation?
Link to the wiki page?
-->
@mssonicbld
Copy link
Collaborator Author

Original PR: sonic-net/sonic-mgmt#15748

@mssonicbld
Copy link
Collaborator Author

/azp run

@r12f r12f merged commit ffaa779 into Azure:202412 Jan 31, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants