[ansible/MCLAG]: add t0-mclag and t0-mclag-16 typologies support #1251
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of PR
Summary:
Submit deploy topology t0-mclag and t0-mclag-16 according to mclag test plan Azure/SONiC/pull/422.
It works together with below PRs:
• MCLAG feature for SONIC Azure/sonic-buildimage/pull/2514
• [tests/mclag] Submit mclag testcases according to mclag test plan Azure/sonic-mgmt/pull/1239
Type of change
Approach
How did you do it?
Add t0-mclag-16 or t0-mclag topologies.
./testbed-cli.sh add-topo vms-t0-mclag-16 password.txt
add_topo_mclag-16.txt
The default configuration is deployed separately on each device, using the additional parameter dut_no.
ansible-playbook -i lab config_sonic_basedon_testbed.yml -l sonic-dut-01 -e vm_base="VM0300" -e topo=t0-mclag-16 -e deploy=True -e save=True -e save=True -e testbed_name=vms-t0-mclag-16 -e dut_no=1
generate_configuration_for_dut1.txt
ansible-playbook -i lab config_sonic_basedon_testbed.yml -l sonic-dut-02 -e vm_base="VM0300" -e topo=t0-mclag-16 -e deploy=True -e save=True -e testbed_name=vms-t0-mclag-16-dut2 -e dut_no=2
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
t0-mclag and t0-mclag-16
Documentation
https://github.com/shine4chen/SONiC/blob/mclag-test-case/doc/mclag_hld/MCLAG-ansible-test-plan.md