-
Notifications
You must be signed in to change notification settings - Fork 752
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 test for bgp speaker #5234
GCU test for bgp speaker #5234
Conversation
pytest.fail("Invalid ip version!") | ||
|
||
bgp_speaker_config_cleanup(duthost) | ||
bgp_speaker_tc1_add_config(duthost, lo_intf_ip, vlan_intf_ip_range, bgp_speaker) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess they are the same. Do you think testing them together is better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
combined.
bgp_speaker_config_cleanup(duthost) | ||
bgp_speaker_tc1_add_config(duthost, lo_intf_ip, vlan_intf_ip_range, bgp_speaker) | ||
bgp_speaker_tc1_add_dummy_ip_range(duthost, bgp_speaker, dummy_ip_range) | ||
bgp_speaker_tc1_rm_dummy_ip_range(duthost, bgp_speaker, dummy_ip_range) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a test for changing the src_address
.. for example switching from loopback0 to loobpack1?
Also, we would like to test adding a new VLAN and also a new Loopback is that covered under VLAN/Loopback testing? (i think so, just double checking). #Closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added src_address change to a dummy ip.
Also, we would like to test adding a new VLAN and also a new Loopback is that covered under VLAN/Loopback testing? (i think so, just double checking).
Yes. That is covered.
Description of PR
[Done]Wait for yang model sonic-net/sonic-buildimage#10082
and create-only fix to merge.
Summary: Testcase of bgp speaker config for generic updater apply-patch
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
End to End test support for Generic Updater apply-patch
This PR is to verify the usage of 'config apply-patch' works on bgp speaker config
How did you do it?
Add bgp speaker config to dut and check if config change as expected
How did you verify/test it?
Run test of sonic-mgmt/tests/generic_config_updater/test_bgp_speaker.py on KVM
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation