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

Modified iface_namingmode testcases to get spine ports for T2 topology #3758

Merged
merged 2 commits into from Feb 10, 2022

Conversation

oxygen980
Copy link
Contributor

Description of PR

Modified iface_namingmode testcases to get spine ports for T2 topology

Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 201911

Approach

What is the motivation for this PR?

Spine ports function was not able to get spine ports for T2 topology, added condition for the same.

How did you do it?

Added condition to get spine [ports for T2 topolgy.

How did you verify/test it?

Tested on VOQ system.

Any platform specific information?

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

T2

Documentation

@oxygen980 oxygen980 requested a review from a team as a code owner July 9, 2021 04:21
@anshuv-mfst anshuv-mfst requested a review from a team August 3, 2021 23:11
@@ -869,7 +869,7 @@ def spine_ports(self, setup):
spine_ports['alias'] = list()

for key, value in minigraph_neighbors.items():
if (key in setup['physical_interfaces']) and ('T2' in value['name']):
if key in setup['physical_interfaces'] and ('T2' in value['name'] or (tbinfo['topo']['type'] == 't2' and 'T3' in value['name'])):
Copy link
Contributor

Choose a reason for hiding this comment

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

can you split the statement, prefer 80 chars, but 120 is fine.

Copy link

Choose a reason for hiding this comment

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

@oxygen980 is this addressed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rlhui yes this was done a long back.

ysmanman
ysmanman previously approved these changes Sep 15, 2021
@smaheshm smaheshm merged commit 67492c8 into sonic-net:master Feb 10, 2022
mannytaheri pushed a commit to mannytaheri/sonic-mgmt that referenced this pull request Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants