Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update test_pretest to inject mux_simulator.json for simulated y_cabl…
…e driver (sonic-net#4106) What is the motivation for this PR? The simulated y_cable driver needs configurations of the mux simulator to work. Process xcvrd in pmon will try to load simulated y_cable driver if /etc/sonic/mux_simulator.json is found on DUT. How did you do it? This change updated the test_pretest.py script to inject /etc/sonic/mux_simulator.json to DUT. This change can co-exist with the code for injecting 'y_cable_simulator_client.py' to DUT. Process xcvrd will decide which one to load. How did you verify/test it? Use run_tests.sh to run decap/test_decap.py on dual ToR testbed without skipping pretest. Any platform specific information? Dual ToR only. Signed-off-by: Xin Wang <xiwang5@microsoft.com>
- Loading branch information