Convert bgp_multipath_relax ansible playbook to pytest#1569
Convert bgp_multipath_relax ansible playbook to pytest#1569arlakshm merged 6 commits intosonic-net:masterfrom
Conversation
Signed-off-by: Arvindsrinivasan Lakshminarasimhan <[email protected]>
|
This pull request introduces 2 alerts when merging 3cc7ad8 into eeba0cf - view on LGTM.com new alerts:
|
Signed-off-by: Arvindsrinivasan Lakshminarasimhan <[email protected]>
|
Please, add wrapper instead of ansible version of the test |
|
current t0 route announce does not advertise the vip prefix. I believe in order for the test to work, we need to develop a fixture that leverage the exabgp to advertise the vip prefix. I cannot find this test has that configuration. |
|
please also move the test into bgp subfolder. |
|
With PR #1692, the vips routes can be announced to the t0 VMs that have the vips configuration. Since the vips routes are part of the topology definition. IMO, it's OK to announce the vips routes in the fib fixture. |
|
|
||
|
|
||
|
|
||
|
|
There was a problem hiding this comment.
Could you please remove the extra new lines at the end of the script?
There was a problem hiding this comment.
fixed in the latest commit
|
Tested this PR, it passed with change #1692. |
|
retest vsimage please |
Signed-off-by: Arvindsrinivasan Lakshminarasimhan <[email protected]>
Moved to bgp folder |
tahmed-dev
left a comment
There was a problem hiding this comment.
lgtm. there were two more assert leftovers
|
retest vsimage please |
3 similar comments
|
retest vsimage please |
|
retest vsimage please |
|
retest vsimage please |
…et#7487) * [202012][swss/swss-common/utilities/kernel] Update submodule sonic-swss: - [Monitor Vlan] Fix a typo in hostif (sonic-net#1722) - Update pool sizes during initialization from timer only (sonic-net#1708) - [SflowMgr] SamplingRate Update by Speed Change Added (sonic-net#1721) sonic-swss-common: - [swss-common] Add MUX Metrics Table (sonic-net#482) - [azp] Purge swss before installing the newly built deb package (sonic-net#472) sonic-utilities: - disk_check: Check & mount RO as RW using tmpfs (sonic-net#1569) - No more IP validation as it is more likely a URL (sonic-net#1555) - Stop PMON docker before cold and soft reboots (sonic-net#1514) - Add soft-reboot reboot type (sonic-net#1453) - [acl] Use a list instead of a comma-separated string for ACL port list (sonic-net#1519) - sonic-installer: fix py3 issues in bootloader.aboot (sonic-net#1553) - Fix unsupported fs.squashfs extraction in sonic-installer (sonic-net#1366) - [show][config] cli support for firmware upgrade on Y-Cable (sonic-net#1528) (sonic-net#1558) sonic-linux-kernel: - [Mellanox] backport kernel patches for hw-management 7.0100.2303 (sonic-net#211) Signed-off-by: Danny Allen <[email protected]> * Update utilities w/ build fix
[CRM] Safety check for division by 0 (sonic-net#1569) [crm]: Typecast to unit64_t to avoid divide by 0 during overflow (sonic-net#1550) Signed-off-by: Ying Xie <[email protected]>
Signed-off-by: Arvindsrinivasan Lakshminarasimhan [email protected]
Description of PR
Summary:
Convert bgp_multipath_relax ansible playbook to pytest
Fixes # (issue)
Type of change
New Pytest
Approach
How did you do it?
How did you verify/test it?
arlakshm/sonic-mgmt@3176a03c5c39:/var/repos/public/my_repo/sonic-mgmt/tests$ py.test $PYTEST_COMMON_OPTS --skip_sanity --log-file logs/test_bgp_multipath_relax.log --junitxml=results/tr.xml test_bgp_multipath_relax.py
================================================== test session starts ==================================================
platform linux2 -- Python 2.7.12, pytest-4.6.6, py-1.8.0, pluggy-0.13.0 -- /usr/bin/python
cachedir: .pytest_cache
ansible: 2.8.7
rootdir: /var/repos/public/my_repo/sonic-mgmt/tests, inifile: pytest.ini
plugins: ansible-2.2.2
collected 1 item
test_bgp_multipath_relax.py::test_bgp_multipath_relax PASSED [100%]
--------------------- generated xml file: /var/repos/public/my_repo/sonic-mgmt/tests/results/tr.xml ---------------------
=============================================== 1 passed in 15.38 seconds ===============================================
arlakshm/sonic-mgmt@3176a03c5c39:/var/repos/public/my_repo/sonic-mgmt/tests
Any platform specific information?
None
Supported testbed topology if it's a new test case?
This test is supported in t1 topologies
Documentation