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

[action] [PR:15268] Add cEOS neighbor support for bgp/test_4-byte_asn_community.py #15335

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

mssonicbld
Copy link
Collaborator

Description of PR

Summary:
Add cEOS neighbor support for test_4-byte_asn_community.py. Current test case only support SONiC neighbors. this PR will improve coverage with more neighbor type.

Future works to improve, not in this PR:

  • implement SONiC specific BGP operations in class SonicBGPRouter. and change the current command check method to using class method for BGP configuration/verification.

Type of change

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

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

Improve test coverage by adding cEOS support to the test case.

How did you do it?

Defined a base class for common BGP operations. class BGPRouter(ABC):, and implemented platfor specific BGP operations for cEOS neighbors.

How did you verify/test it?

bgp/test_4-byte_asn_community.py::test_4_byte_asn_community[vlab-01-None] PASSED [100%]

Any platform specific information?

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

Documentation

…-net#15268)

Description of PR
Summary:
Add cEOS neighbor support for test_4-byte_asn_community.py. Current test case only support SONiC neighbors. this PR will improve coverage with more neighbor type.

Future works to improve, not in this PR:

implement SONiC specific BGP operations in class SonicBGPRouter. and change the current command check method to using class method for BGP configuration/verification.

Approach
What is the motivation for this PR?
Improve test coverage by adding cEOS support to the test case.

How did you do it?
Defined a base class for common BGP operations. class BGPRouter(ABC):, and implemented platfor specific BGP operations for cEOS neighbors.

How did you verify/test it?
bgp/test_4-byte_asn_community.py::test_4_byte_asn_community[vlab-01-None] PASSED [100%]

co-authorized by: [email protected]
@mssonicbld
Copy link
Collaborator Author

Original PR: #15268

@mssonicbld mssonicbld merged commit 612ec1e into sonic-net:202405 Nov 4, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants