Skip to content
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

[201811] Port changes for 7050QX-32S-S4Q31 into 201811 branch #3570

Merged

Conversation

saiarcot895
Copy link
Contributor

Description of PR

Summary:
Port changes made for bringing up 7050QX-32S-S4Q31 from the master branch to the 201811 branch.

This PR includes the minigraph generation changes and the new topology.

Type of change

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

Testing

Verified that at least one of the current setups successfully generated the same minigraph.

…onic-net#3527)

* minigraph: Add the ability to set a per-port speed in the minigraph

In the case of devices with mixed port speeds, the speed for each port
has to be individually specified in the minigraph, and a single speed
for the entire device cannot be used. Instead, read the connection
graph, which contains the speed for each individual link, and use the
speed specified there for each port.

The speed specified in the connection graph is used only if
port_config.ini doesn't have a speed specified there. If there is a speed
specified there, then that is used.

If no speed is specified in port_config.ini, and there's no speed specified
for the port in the connection graph, then the speed in the inventory
yaml file is used.

Signed-off-by: Saikrishna Arcot <saiarcot895@gmail.com>
(cherry picked from commit cef1f77)
That entry needs to be specified as referring to a variable.

Signed-off-by: Saikrishna Arcot <saiarcot895@gmail.com>
Signed-off-by: Saikrishna Arcot <saiarcot895@gmail.com>

Adds a topology definition for 31 40G ports and 4 10G/1G ports, where those 10G ports are not used for automated tests.

What is the motivation for this PR?
This is for use with Arista 7050QX-32S-S4Q31.

How did you verify/test it?
Deployed a minigraph with this topology and checked to make sure that the VLAN assignments and the port channel assignments were correct. No automated tests were run.

(cherry picked from commit 6d1720b)
@saiarcot895 saiarcot895 marked this pull request as ready for review June 2, 2021 03:09
@saiarcot895 saiarcot895 requested review from yxieca and neethajohn June 2, 2021 03:10
@saiarcot895 saiarcot895 changed the title Breakout port speed 201811 Port changes for 7050QX-32S-S4Q31 into 201811 branch Jun 2, 2021
@neethajohn neethajohn changed the title Port changes for 7050QX-32S-S4Q31 into 201811 branch [201811] Port changes for 7050QX-32S-S4Q31 into 201811 branch Jun 2, 2021
@saiarcot895 saiarcot895 merged commit 1511ae6 into sonic-net:201811 Jun 2, 2021
@saiarcot895 saiarcot895 deleted the breakout-port-speed-201811 branch June 3, 2021 23:31
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