Skip to content

Conversation

@baorliu
Copy link
Contributor

@baorliu baorliu commented Nov 12, 2025

Add uA action to static srv6 SID config
related PR for sonic-bgpcfgd to handle SRv6 SID uA action:
sonic-net/sonic-buildimage#24279

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

"decap_dscp_mode": "uniform"
},
}
Example for SID with uN action and SID with uA action configuration (2 SIDs configuration):
Copy link
Collaborator

Choose a reason for hiding this comment

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

comment says 2 SID uN and uA, but example has only 1 uA?

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

Copy link
Contributor

@cscarpitta cscarpitta 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

@ahsalam ahsalam left a comment

Choose a reason for hiding this comment

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

LGTM

exit
!
locator loc2
prefix fcbb:bbbb:21::/48 block-len 32 node-len 16 func-bits 16
Copy link
Contributor

Choose a reason for hiding this comment

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

the indentation here is not aligned.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will fix it.

"loc2|FCBB:BBBB:21:FE24::/64" : {
"action": "uA",
"interface": "Ethernet24",
"adj": "2001:db8:4:501::5"
Copy link
Contributor

Choose a reason for hiding this comment

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

missing mandatory decap_dscp_mode attr

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see that srv6orch complains it if decap_dscp_mode is missing, but it still create the SID entry.
why decap_dscp_mode attribute is needed for uA action? I assume if uA is configured, the SID need to be shift and forward to next node.

Signed-off-by: Baorong Liu <[email protected]>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

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