-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Bgpcfgd] Update bgpcfgd to handle SRV6_MY_SIDS table's key as an ipv6 prefix #21468
base: master
Are you sure you want to change the base?
Conversation
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -71,10 +69,10 @@ def sids_set_handler(self, key, data): | |||
log_err("Found a SRv6 SID config entry associated with unsupported action: {} | {}".format(key, data)) | |||
return False | |||
|
|||
sid = SID(locator_name, ip_addr, data) # the information in data will be parsed into SID's attributes | |||
sid = SID(locator_name, ip_prefix, data) # the information in data will be parsed into SID's attributes |
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.
where are we doing validation for prefix_len >= block_len + node_len ?
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.
added in the new commit
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
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.
LGTM. The SID is configured as a prefix in FRR.
The CLI to support this has been merged into FRR mainline (FRRouting/frr#16894). The CLI has been ported into SONiC mainline (#21380).
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
cca4f81
to
b471d82
Compare
b471d82
to
ffa4a1e
Compare
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
Why I did it
To adapt bgpcfgd to the new schema of SRV6_MY_SIDS
Work item tracking
How I did it
How to verify it
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)