Skip to content

Support Sonic-VPP CRM counters for localsid.#1673

Merged
yue-fred-gao merged 7 commits intosonic-net:masterfrom
dypet:srv6_localsid_crm
Nov 10, 2025
Merged

Support Sonic-VPP CRM counters for localsid.#1673
yue-fred-gao merged 7 commits intosonic-net:masterfrom
dypet:srv6_localsid_crm

Conversation

@dypet
Copy link
Copy Markdown
Contributor

@dypet dypet commented Oct 27, 2025

Sonic-mgmt dataplane tests for SRv6 check CRM mysid counters. Adding support for these counters in sonic-vpp.

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@dypet dypet changed the title Support CRM counters for localsid. Support Sonic-VPP CRM counters for localsid. Oct 27, 2025
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

yue-fred-gao
yue-fred-gao previously approved these changes Oct 31, 2025
constexpr static const int m_maxAclTableCounters = 1000;

constexpr static const int m_maxMySidEntries = 1000;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

max is typically per asic. I am not sure what the max for vpp but we should move this to SwitchVpp

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@yue-fred-gao yue-fred-gao merged commit ebdf9e9 into sonic-net:master Nov 10, 2025
15 checks passed
wangxin pushed a commit to sonic-net/sonic-mgmt that referenced this pull request Dec 2, 2025
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.
opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: opcoder0 <[email protected]>
dcaugher pushed a commit to dcaugher/sonic-mgmt that referenced this pull request Dec 8, 2025
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: Dan Caugherty <[email protected]>
nissampa pushed a commit to nissampa/sonic-mgmt_dpu_test that referenced this pull request Dec 9, 2025
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: Nishanth Sampath Kumar <[email protected]>
selldinesh pushed a commit to selldinesh/sonic-mgmt that referenced this pull request Dec 11, 2025
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: selldinesh <[email protected]>
vikram-nexthop pushed a commit to nexthop-ai/sonic-sairedis that referenced this pull request Dec 12, 2025
* Support CRM counters for localsid.

* Override getObjectTypeAvailability.

* Add ut cases.

* Update ut.

* Move max mysid.

Signed-off-by: Vikram Menon <[email protected]>
echuawu pushed a commit to echuawu/sonic-mgmt that referenced this pull request Dec 12, 2025
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.
saravanan-nexthop pushed a commit to saravanan-nexthop/sonic-mgmt that referenced this pull request Dec 15, 2025
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: Saravanan <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 16, 2025
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: Guy Shemesh <[email protected]>
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Dec 16, 2025
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: Aharon Malkin <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: Guy Shemesh <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: Guy Shemesh <[email protected]>
vrajeshe pushed a commit to Akshath-17/sonic-mgmt that referenced this pull request Jan 4, 2026
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: Venkata Gouri Rajesh Etla <[email protected]>
venu-nexthop pushed a commit to venu-nexthop/sonic-mgmt that referenced this pull request Jan 13, 2026
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.
yifan-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Jan 14, 2026
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: YiFan Wang <[email protected]>
PriyanshTratiya pushed a commit to PriyanshTratiya/sonic-mgmt that referenced this pull request Jan 21, 2026
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: Priyansh Tratiya <[email protected]>
lakshmi-nexthop pushed a commit to lakshmi-nexthop/sonic-mgmt that referenced this pull request Jan 28, 2026
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: Lakshmi Yarramaneni <[email protected]>
ytzur1 pushed a commit to ytzur1/sonic-mgmt that referenced this pull request Jan 29, 2026
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.
ytzur1 pushed a commit to ytzur1/sonic-mgmt that referenced this pull request Feb 2, 2026
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: Yael Tzur <[email protected]>
abhishek-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Feb 6, 2026
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.
rraghav-cisco pushed a commit to rraghav-cisco/sonic-mgmt that referenced this pull request Feb 13, 2026
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: Raghavendran Ramanathan <[email protected]>
anilal-amd pushed a commit to anilal-amd/anilal-forked-sonic-mgmt that referenced this pull request Feb 19, 2026
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: Zhuohui Tan <[email protected]>
abhishek-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Mar 17, 2026
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.

Signed-off-by: Abhishek <[email protected]>
venu-nexthop pushed a commit to venu-nexthop/sonic-mgmt that referenced this pull request Mar 27, 2026
Enabling srv6/test_srv6_static_config.py and srv6/test_srv6_dataplane.py test cases for SONiC-VPP on T1 and T1-lag. Dependent on sonic-net/sonic-buildimage#24359 and sonic-net/sonic-sairedis#1673 to pass.

What is the motivation for this PR?
SONiC VPP has some SRv6 features enabled, but currently no sonic-mgmt test cases are covering them.

How did you do it?
How did you verify/test it?
Ran sonic-mgmt locally with the above two PRs applied to SONiC-VPP image and all cases are passing.
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.

3 participants