Skip to content

added EOS fanouts support for port autoneg tests#3823

Merged
lguohan merged 2 commits intosonic-net:masterfrom
antonptashnik:portautoneg-tests-eos-fanout-support
Aug 13, 2021
Merged

added EOS fanouts support for port autoneg tests#3823
lguohan merged 2 commits intosonic-net:masterfrom
antonptashnik:portautoneg-tests-eos-fanout-support

Conversation

@antonptashnik
Copy link
Copy Markdown
Contributor

@antonptashnik antonptashnik commented Jul 20, 2021

Description of PR

Summary: added EOS fanouts support for port autoneg tests
Fixes # (issue)

  • implemented autoneg related management methods for EOS fanout

Port autoneg setup is required on both sides, per cable connection, so tests use a fanout as neighbor for DUT to establish autoneg with. Interaction with a fanout rely on per OS specific implementation and some methods required by tests were missing for EOS. Implemented those methods

Type of change

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

Back port request

  • 201911

Approach

What is the motivation for this PR?

Adapt port autoneg tests to work with EOS fanouts

How did you do it?

Implemented missing methods for autoneg management on EOS fanout switch

How did you verify/test it?

py.test --inventory=../ansible/lab,../ansible/veos --testbed_file=../ansible/testbed.csv --module-path=../ansible/library -v -rA --topology=t1,any platform_tests/test_auto_negotiation.py

Any platform specific information?

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

Documentation

@antonptashnik antonptashnik requested a review from a team as a code owner July 20, 2021 12:34
@lgtm-com
Copy link
Copy Markdown

lgtm-com bot commented Jul 20, 2021

This pull request introduces 3 alerts when merging dbba55e into ff76eb9 - view on LGTM.com

new alerts:

  • 2 for Testing equality to None
  • 1 for First parameter of a method is not named 'self'

@lguohan lguohan merged commit 6997397 into sonic-net:master Aug 13, 2021
@antonptashnik antonptashnik deleted the portautoneg-tests-eos-fanout-support branch August 13, 2021 09:25
vmittal-msft pushed a commit to vmittal-msft/sonic-mgmt that referenced this pull request Sep 28, 2021
Summary: added EOS fanouts support for port autoneg tests
Fixes # (issue)

implemented autoneg related management methods for EOS fanout

Port autoneg setup is required on both sides, per cable connection, so tests use a fanout as neighbor for DUT to establish autoneg with. Interaction with a fanout rely on per OS specific implementation and some methods required by tests were missing for EOS. Implemented those methods
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…atically (sonic-net#22232)

#### Why I did it
src/sonic-utilities
```
* a6fcf564 - (HEAD -> 202411, origin/202411) [show][interfaces] Add proposal for show interfaces flap (sonic-net#3627) (sonic-net#3823) (8 hours ago) [vdahiya12]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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