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

[RESTAPI] Test configuring routes with incorrect CIDR addresses #4378

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

sumukhatv
Copy link
Contributor

Description of PR

Summary:
Configuring incorrect CIDR addresses as routes is not permitted in SONiC and REST-API is designed to reject such incorrect routes. Refer to sonic-net/sonic-restapi#91
This new testcase will check if this design in RESTAPI is working as expected by trying to configure incorrect CIDR addresses.

Fixes # (issue)

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?

To test if REST-API is checking for incorrect CIDR addresses in the route configuration path and appropriately rejecting them.

How did you do it?

How did you verify/test it?

Any platform specific information?

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

Documentation

@sumukhatv sumukhatv requested a review from prsunny September 28, 2021 17:42
@sumukhatv sumukhatv requested a review from a team as a code owner September 28, 2021 17:42
@sumukhatv sumukhatv merged commit 58e515a into sonic-net:master Oct 4, 2021
@sumukhatv sumukhatv deleted the restapi branch October 4, 2021 04:19
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