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

[GCU] Add config ipv6 BGP neighbor test #5061

Merged
merged 5 commits into from
Feb 24, 2022

Conversation

isabelmsft
Copy link
Contributor

@isabelmsft isabelmsft commented Feb 3, 2022

Description of PR

Summary:
Dependency on grouping PR: sonic-net/sonic-utilities#2044

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?

End to End test support for Generic Updater apply-patch
Update ipv6 BGP neighbor configs

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?

t0, t1

Documentation

@isabelmsft isabelmsft requested a review from a team as a code owner February 3, 2022 01:02
Copy link
Contributor

@qiluo-msft qiluo-msft left a comment

Choose a reason for hiding this comment

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

LGTM. Please check with other reviewers.

@qiluo-msft
Copy link
Contributor

Is it ready to be merged? If not, please add dependency in PR description.

@isabelmsft
Copy link
Contributor Author

Is it ready to be merged? If not, please add dependency in PR description.

Added dependency on grouping PR sonic-net/sonic-utilities#2044 to description

@isabelmsft isabelmsft merged commit dc73d5c into sonic-net:master Feb 24, 2022
congh-nvidia added a commit to congh-nvidia/sonic-mgmt that referenced this pull request May 13, 2022
…r_admin_change

This case fails every time on our community setup because it tries to replace the value of config entry " BGP_NEIGHBOR/fc00::12/admin_status", while this entry doesn't exist in the default running configuratuion.(The admin_status is up by default, but it doesn't show in the configuration.)
To fix this,  need to add this config before replace it.
And add a topology mark for the test according to the description in sonic-net#5061 .
liat-grozovik pushed a commit that referenced this pull request May 19, 2022
…r_admin_change (#5647)

This case fails every time on our testbeds because it tries to replace the admin_status value of a bgp neighour, while the admin_status field doesn't exist in the default running configuration generated from minigraph(the admin_status is up without a explicit "admin_status": "up" config in db).
To fix this, need to add this config before replace it.
And add a topology mark for the test according to the description in [GCU] Add config ipv6 BGP neighbor test #5061 .

- What is the motivation for this PR?
Ensure that the configuration exists in the running config before it is replaced by the patch .
Add a topology mark for the test to ensure it runs with the correct topologies. According to the description in [GCU] Add config ipv6 BGP neighbor test #5061, this test support t0 and t1 testbeds.

- How did you do it?
Modified the patch to add this config before replace it. If the config already exists before the adding, it won't take any effects because the config is duplicated.
Add the topology mark.

- How did you verify/test it?
Run this test case on testbeds with and without the admin_status field in running configs, all passed.
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.

3 participants