-
Notifications
You must be signed in to change notification settings - Fork 405
T8046: traffic-engineering: support link-params #4912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
👍 |
|
I think it may be more logical to have the This also falls more in line with the rest of industry. |
There was a problem hiding this 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 PR adds traffic-engineering (TE) link parameters support to VyOS, integrating FRR's link-params functionality. It enables configuration of admin groups, bandwidth limits, and TE metrics for interfaces, along with ISIS TE database export capabilities.
- Adds new
protocols traffic-engineeringconfiguration hierarchy with admin-group and interface parameters - Integrates traffic-engineering into the FRR rendering framework
- Adds ISIS
mpls-te exportsupport to export TE database to other daemons
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| src/conf_mode/protocols_traffic_engineering.py | New configuration module handling TE validation and FRR integration |
| smoketest/scripts/cli/test_protocols_traffic-engineering.py | Comprehensive smoke tests covering normal operation and validation scenarios |
| python/vyos/frrender.py | Updates to include traffic_engineering in protocols list and config rendering |
| interface-definitions/protocols_traffic_engineering.xml.in | XML definition for TE CLI structure including admin-groups and interface parameters |
| interface-definitions/include/isis/protocol-common-config.xml.i | Adds ISIS TE export option |
| data/templates/frr/zebra.traffic_engineering.frr.j2 | Jinja2 template generating FRR link-params configuration |
| data/templates/frr/isisd.frr.j2 | Updates ISIS template to support mpls-te export command |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
5566980 to
f9a6684
Compare
|
I've fixed Copilot comments. |
f9a6684 to
4329b4b
Compare
@l0crian1 in the past, traffic engineering was tightly coupled with MPLS + RSVP. The syntax was quite similar to Junos. Nowadays, however, traffic engineering can be implemented through multiple technologies such as SRv6, BGP-TE, or SR-MPLS, so it’s better to keep it more technology-agnostic. |
|
I've tested these command in my lab and works as expected. |
interface-definitions/include/isis/protocol-common-config.xml.i
Outdated
Show resolved
Hide resolved
e695990 to
25437e4
Compare
8974d65 to
051d45a
Compare
Add 'traffic-engineering' commands under 'protocols'. set protocols traffic-engineering admin-group ADMINGROUP bit-position 1 set protocols traffic-engineering interface INTERFACE admin-group ADMINGROUP set protocols traffic-engineering interface INTERFACE max-bandwidth 1280 set protocols traffic-engineering interface INTERFACE max-reservable-bandwidth 1280 Also add set protocols isis traffic-engineering export
051d45a to
a4b3cd3
Compare
|
CI integration 👍 passed! Details
|
c-po
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New feature implementation looks good and tested via smoketests
sever-sever
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the protocols traffic-engineering configuration option
Traffic-engineering: FRR link-params support
Add 'traffic-engineering' commands under 'protocols'.
Also add
Types of changes
Related Task(s)
Related PR(s)
How to test / Smoketest result
I've added smoke test:
(works only after FRR fix in related PR)
Checklist: