Skip to content

[chassis] update the T3 device type in the minigraph#8779

Merged
arlakshm merged 2 commits intosonic-net:masterfrom
arlakshm:arlakshm/github/master/fix_dev_type
Jul 6, 2023
Merged

[chassis] update the T3 device type in the minigraph#8779
arlakshm merged 2 commits intosonic-net:masterfrom
arlakshm:arlakshm/github/master/fix_dev_type

Conversation

@arlakshm
Copy link
Copy Markdown
Contributor

Description of PR

Summary:
Fixes #8700

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • [x ] 202205

Approach

What is the motivation for this PR?

The cable length is calculated based on the neighbor type and device type. In the T2 topology the uplink neighbor type in the minigraph is defined as CoreRouter. This causes the device to pick incorrect cable length for uplink neighbors.

Example
https://github.com/sonic-net/sonic-buildimage/blob/aa46167fdd09b5f973d6c39529715ad75a2a58ec/device/arista/x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D2-C36/0/buffers_defaults_t2.j2#L3-L9

How did you do it?

This PR fixes the neighbor type of uplink neighbors to be set to RegionalHub or AZNGHub to match the values defined in the buffer_default_t2.j2

How did you verify/test it?

generate minigraph for T2 topo

Any platform specific information?

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

Documentation

@arlakshm
Copy link
Copy Markdown
Contributor Author

add @kenneth-arista @ysmanman @ansrajpu-git for viz..

@arlakshm arlakshm requested a review from tjchadaga July 3, 2023 19:45
@arlakshm arlakshm merged commit f1b6442 into sonic-net:master Jul 6, 2023
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jul 10, 2023
Summary:
Fixes sonic-net#8700

Type of change
 Bug fix
 Testbed and Framework(new/improvement)
 Test case(new/improvement)
Back port request
 201911
 202012
[x ] 202205
Approach
What is the motivation for this PR?
The cable length is calculated based on the neighbor type and device type. In the T2 topology the uplink neighbor type in the minigraph is defined as CoreRouter. This causes the device to pick incorrect cable length for uplink neighbors.

Example
https://github.com/sonic-net/sonic-buildimage/blob/aa46167fdd09b5f973d6c39529715ad75a2a58ec/device/arista/x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D2-C36/0/buffers_defaults_t2.j2#L3-L9

How did you do it?
This PR fixes the neighbor type of uplink neighbors to be set to RegionalHub or AZNGHub to match the values defined in the buffer_default_t2.j2
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202205: #8868

mssonicbld pushed a commit that referenced this pull request Jul 10, 2023
Summary:
Fixes #8700

Type of change
 Bug fix
 Testbed and Framework(new/improvement)
 Test case(new/improvement)
Back port request
 201911
 202012
[x ] 202205
Approach
What is the motivation for this PR?
The cable length is calculated based on the neighbor type and device type. In the T2 topology the uplink neighbor type in the minigraph is defined as CoreRouter. This causes the device to pick incorrect cable length for uplink neighbors.

Example
https://github.com/sonic-net/sonic-buildimage/blob/aa46167fdd09b5f973d6c39529715ad75a2a58ec/device/arista/x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D2-C36/0/buffers_defaults_t2.j2#L3-L9

How did you do it?
This PR fixes the neighbor type of uplink neighbors to be set to RegionalHub or AZNGHub to match the values defined in the buffer_default_t2.j2
@vikshaw-Nokia
Copy link
Copy Markdown
Contributor

@arlakshm, Can You please look into the issue:#9052, The Above changes is resulting into the failure of Test Case tests.route.test_default_route.test_default_route_with_bgp_flap.

AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Jan 25, 2024
Summary:
Fixes sonic-net#8700

Type of change
 Bug fix
 Testbed and Framework(new/improvement)
 Test case(new/improvement)
Back port request
 201911
 202012
[x ] 202205
Approach
What is the motivation for this PR?
The cable length is calculated based on the neighbor type and device type. In the T2 topology the uplink neighbor type in the minigraph is defined as CoreRouter. This causes the device to pick incorrect cable length for uplink neighbors.

Example
https://github.com/sonic-net/sonic-buildimage/blob/aa46167fdd09b5f973d6c39529715ad75a2a58ec/device/arista/x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D2-C36/0/buffers_defaults_t2.j2#L3-L9

How did you do it?
This PR fixes the neighbor type of uplink neighbors to be set to RegionalHub or AZNGHub to match the values defined in the buffer_default_t2.j2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Cable length config is wrong in T2 testing

5 participants