Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support 2 vlan config in topology for test_acl (#16322)
What is the motivation for this PR? If enable 2vlan config in topology file(such as ansible/vars/topo_t0-116.yml): change from vlan_configs: default_vlan_config: one_vlan_a to vlan_configs: default_vlan_config: two_vlan_a Then vlan name is not Vlan1000 anymore, it could be Vlan100 or Vlan200. So, in https://github.com/sonic-net/sonic-mgmt/pull/9334/files, it sets default vlan name to Vlan1000 in pytest_generate_tests for T0 is not very reasonable. How did you do it? So, in test_acl, for T0 topology, still get vlan name from config, not from vlan_name parameter, then test_acl can pass. How did you verify/test it? Run test_acl on testbed with 2vlan config.
- Loading branch information