Skip to content

add upstream linecard check for chassis_packet#16043

Merged
yejianquan merged 1 commit intosonic-net:masterfrom
augusdn:route_consistency
Dec 13, 2024
Merged

add upstream linecard check for chassis_packet#16043
yejianquan merged 1 commit intosonic-net:masterfrom
augusdn:route_consistency

Conversation

@augusdn
Copy link
Copy Markdown
Contributor

@augusdn augusdn commented Dec 12, 2024

Description of PR

Summary:
add upstream linecard check for chassis_packet, T2 Cisco device in get_route_prefix_snapshot_from_asicdb
This was to use correct num_routes_withdrawn during asserts, where we only had upstream support for 'voq' and failed for 'chassis_packet'

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?

How did you do it?

How did you verify/test it?

------------------------------------------------------ generated xml file: /var/src/sonic-mgmt-int/tests/logs/route/test_route_consistency.xml ------------------------------------------------------
============================================================================= 3 passed, 1 warning in 1482.39s (0:24:42)

Any platform specific information?

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

Documentation

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@augusdn augusdn requested a review from abdosi December 13, 2024 02:21
Copy link
Copy Markdown
Contributor

@sdszhang sdszhang left a comment

Choose a reason for hiding this comment

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

lgtm

@yejianquan yejianquan merged commit 4cfaddd into sonic-net:master Dec 13, 2024
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Dec 13, 2024
…correct max_prefix_cnt (sonic-net#16043)

Description of PR
Summary:
add upstream linecard check for chassis_packet, T2 Cisco device in get_route_prefix_snapshot_from_asicdb
This was to use correct num_routes_withdrawn during asserts, where we only had upstream support for 'voq' and failed for 'chassis_packet'

Approach
What is the motivation for this PR?
How did you do it?
How did you verify/test it?
------------------------------------------------------ generated xml file: /var/src/sonic-mgmt-int/tests/logs/route/test_route_consistency.xml ------------------------------------------------------
============================================================================= 3 passed, 1 warning in 1482.39s (0:24:42)

co-authorized by: jianquanye@microsoft.com
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202405: #16059

mssonicbld pushed a commit that referenced this pull request Dec 13, 2024
…correct max_prefix_cnt (#16043)

Description of PR
Summary:
add upstream linecard check for chassis_packet, T2 Cisco device in get_route_prefix_snapshot_from_asicdb
This was to use correct num_routes_withdrawn during asserts, where we only had upstream support for 'voq' and failed for 'chassis_packet'

Approach
What is the motivation for this PR?
How did you do it?
How did you verify/test it?
------------------------------------------------------ generated xml file: /var/src/sonic-mgmt-int/tests/logs/route/test_route_consistency.xml ------------------------------------------------------
============================================================================= 3 passed, 1 warning in 1482.39s (0:24:42)

co-authorized by: jianquanye@microsoft.com
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.

4 participants