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

[topo_facts]: Modify the 'type' argument used #3126

Merged
merged 1 commit into from
Mar 11, 2021

Conversation

SuvarnaMeenakshi
Copy link
Contributor

[topo_facts]: Modify the 'type' argument used to 'neigh_type' to
avoid overriding python 'type' function.
Signed-off-by: Suvarna Meenakshi [email protected]

Description of PR

Summary:
Fixes # (issue)

Type of change

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

Approach

What is the motivation for this PR?

#3024 introduced a new function with an argument called 'type'.
This will override existing python 'type' function. To avoid this, modify the argument name to 'neigh_type'
which can be 'VMs' or 'NEIGH_ASIC' based on the topo file being parsed.

How did you do it?

Modify the argument name to 'neigh_type'.

How did you verify/test it?

Bring up single-asic and multi-asic VS testbed with this change.

Any platform specific information?

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

Documentation

avoid overriding python 'type' function.

Signed-off-by: Suvarna Meenakshi <[email protected]>
@SuvarnaMeenakshi SuvarnaMeenakshi requested a review from a team as a code owner March 11, 2021 02:09
@wangxin wangxin merged commit 11c7344 into sonic-net:master Mar 11, 2021
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.

2 participants